ufal / udpipe

UDPipe: Trainable pipeline for tokenizing, tagging, lemmatizing and parsing Universal Treebanks and other CoNLL-U files
Mozilla Public License 2.0
358 stars 75 forks source link

cannot start udpipe_server #56

Closed ghost closed 6 years ago

ghost commented 6 years ago

./udpipe_server 8080 /root/udpipe-ud-2.0-170801/spanish-ud-2.0-170801.udpipe Cannot load specified models!

There are any default directory to models?

msklvsk commented 6 years ago

The syntax is udpipe_server [options] port default_model (rest_id model_file acknowledgements)*.

Meaning you need to name your model (rest_id), and come up with some string for acknowledgements. Because you only have one model, just repeat its name for default_model, like that: ./udpipe_server 8080 mymodel mymodel /root/udpipe-ud-2.0-170801/spanish-ud-2.0-170801.udpipe 'my acknowledgements'.

foxik commented 6 years ago

Thanks @msklvsk for an exact answer :-)