Training the SyntaxNet POS Tagger in SytaxNet
<p>I had some difficulties training SyntaxNet POS tagger and parser training and I could find a good solution which I addressed in Answers section. if you have got stuck in one of the following problem this <a href="https://github.com/dsindex/syntaxnet" rel="nofollow noreferrer">documentation</a> really helps you:</p>

<ol>
<li>the training, testing, and tuning data set introduced by <a href="https://lindat.mff.cuni.cz/repository/xmlui/handle/11234/1-1548?show=full" rel="nofollow noreferrer">Universal Dependencies</a> were at <code>.conllu</code> format and I did not know how to change the format to <code>.conll</code> file and also after I found <code>conllu-formconvert.py</code> and <code>conllu_to_conllx.pl</code>I still didn't have a clue about how to use them. If you have some problem like this the <a href="https://github.com/dsindex/syntaxnet" rel="nofollow noreferrer">documentation</a> has a python file named <a href="https://github.com/dsindex/syntaxnet/blob/master/convert.py" rel="nofollow noreferrer"><code>convert.py</code></a> which is called in the main body of <a href="https://github.com/dsindex/syntaxnet/blob/master/train.sh" rel="nofollow noreferrer"><code>train.sh</code></a> and <code>[train_p.sh][5]</code> to convert the downloded datasets to readble files for SyntaxNet.</li>
<li>whenever I ran bazel test, I was told to run bazel test on one of stackoverflow <a href="https://stackoverflow.com/questions/37576159/training-syntaxnet-from-parser-trainer-test-sh-importerror-cannot-import-name">question and answer</a>, on <a href="https://github.com/tensorflow/models/blob/master/syntaxnet/syntaxnet/parser_trainer_test.sh" rel="nofollow noreferrer"><code>parser_trainer_test.sh</code></a> it failed and then it gave me this error in <code>test.log</code>: <code>path to save model cannot be found :  --model_path=$TMP_DIR/brain_parser/greedy/$PARAMS/ model</code></li>
</ol>

<p>the documentation splited train POS tagger and PARSER and showed how to use different directories in <code>parser_trainer</code> and <code>parser_eval</code>. even if you don't want to use the <a href="https://github.com/dsindex/syntaxnet" rel="nofollow noreferrer">document</a> it self you can update your files based on that.
3. for me training parser took one day so don't panic it takes time "if  you do not use use gpu server" said <a href="https://github.com/tensorflow/models/issues/175" rel="nofollow noreferrer">disinex</a></p>