I am successfully able to parse a sentence using Syntaxnet using following command.
echo 'Bob brought the pizza to Alice.' | syntaxnet/demo.sh
On an average Syntaxnet takes about 4 seconds to parse. I presume the model loads everything each time it is called. is there any way where we can pre-load the model in memory and keep it as such so that I can reduce the time taken. Also, is there any way to reduce the time taken to parse a single sentence.
In the test.txt, I write two setences:
The result is as follows: