-
Follow the tutorial to install Tensorflow implementation of Syntaxet
-
Download the trained Portuguese model from universal dependencies and unzipped it.
-
Run the following command on the shell
MODEL_DIRECTORY=/Users/dbatista/Downloads/Portuguese
cd /Users/dbatista/models/syntaxnet
echo "Quase 900 funcionários do Departamento de Estado assinaram memorando que critica Trump" | syntaxnet/models/parsey_universal/parse.sh $MODEL_DIRECTORY