Getting started with Syntaxnet
Asked Answered
R

1

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?

Rondon answered 13/5, 2016 at 19:20 Comment(4)
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.Woald
@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?Amatruda
@Nazanin Yeah, that would help. Would you mind sharing it as an answer?Rondon
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?Cabaret
A
1

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

Amatruda answered 18/7, 2016 at 19:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.