7

Having downloaded and installed Syntaxnet, how do I go about using Parsey McParseface model in an application? I have used the syntaxnet/demo.sh, and successfully labelled parts of speech as shown on the GitHub Readme. How do I now create an python app with this?

Greg Brimble
  • 91
  • 1
  • 7
  • Seconding this. I understand how to get it to "work" by using a subprocess to call the demo script using standard IO, but that just seems horribly inefficient. There has got to be some way to call it directly through python but I'm not very smart and tensorflow is very intimidating to me. – anonymouse Jun 19 '16 at 20:35
  • @GregBrimble I wrote an algorithm that gives a text command to syntaxnet, get the output, use subprocess python to turn it to executive command. this "python app" you meant is something like that? – Nazanin Tajik Jul 13 '16 at 18:38
  • @Nazanin Yeah, that would help. Would you mind sharing it as an answer? – Greg Brimble Jul 18 '16 at 13:26
  • I might be reviving an old question, but subprocess is an incredibly slow way to go about this. Isnt there a way to do this directly? – Wboy Nov 26 '16 at 16:22

1 Answers1

1

Here is the very simple and basic SyntaxNet-Python algorithm I used to open a file (with any defined format ) with LibreOffice

Community
  • 1
  • 1
Nazanin Tajik
  • 412
  • 2
  • 15