Difference between revisions of "UDPipe"

From Apertium
Jump to navigation Jump to search
(Created page with "<pre> git clone https://github.com/ufal/udpipe cd udpipe/src make git clone https://github.com/UniversalDependencies/UD_Norwegian cd UD_Norwegian cat no-ud-train.conllu |../ud...")
 
Line 1: Line 1:
train:
<pre>
<pre>
git clone https://github.com/ufal/udpipe
git clone https://github.com/ufal/udpipe
Line 6: Line 7:
cd UD_Norwegian
cd UD_Norwegian
cat no-ud-train.conllu |../udpipe --tokenizer epochs=6 --train nob.udpipe
cat no-ud-train.conllu |../udpipe --tokenizer epochs=6 --train nob.udpipe
</pre>

test:
<pre>
cat no-ud-test.conllu |cut -f1-6 | sed 's/$/\t_\t_\t_\t_/g' |../udpipe --parse nob.udpipe > output
</pre>
</pre>

Revision as of 14:52, 25 November 2016

train:

git clone https://github.com/ufal/udpipe
cd udpipe/src
make
git clone https://github.com/UniversalDependencies/UD_Norwegian
cd UD_Norwegian
cat no-ud-train.conllu |../udpipe --tokenizer epochs=6 --train nob.udpipe                  

test:

cat no-ud-test.conllu  |cut -f1-6 | sed 's/$/\t_\t_\t_\t_/g' |../udpipe --parse nob.udpipe    > output