UDPipe
Revision as of 17:33, 5 March 2017 by Francis Tyers (talk | contribs)
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' | sed 's/^\t.*//g'|../udpipe --parse nob.udpipe > output
test (with tokeniser):
echo "Det ligger en bok på bordet." | ../udpipe --tokenize --tag --parse nob.udpipe