Questions tagged [syntaxnet]

SyntaxNet, an open-source neural network framework implemented in TensorFlow that provides a foundation for Natural Language Understanding (NLU) systems.

How does SyntaxNet work?

SyntaxNet is a framework for what’s known in academic circles as a syntactic parser, which is a key first component in many NLU systems. Given a sentence as input, it tags each word with a part-of-speech (POS) tag that describes the word's syntactic function, and it determines the syntactic relationships between words in the sentence, represented in the dependency parse tree. These syntactic relationships are directly related to the underlying meaning of the sentence in question.

Announcing SyntaxNet: The World’s Most Accurate Parser Goes Open Source

Source Code on Github

126 questions
3
votes
1 answer

How to pre load syntaxnet so that it takes lesser time to give dependency parse output

I am using demo.sh provided in syntaxnet repository. If I give input with '\n' separation, it is taking 27.05 seconds for running 3000 lines of text but when I run each line individually, it is taking more than one hour. It means loading the model…
Manjush
  • 166
  • 1
  • 8
3
votes
1 answer

How do I register "custom" Op (actually, from syntaxnet) with tensorflow serving?

I'm trying to serve a model exported from syntaxnet but the parser_ops are not available. The library file with the ops is found (out-of-tree) at: ../models/syntaxnet/bazel-out/local-opt/bin/syntaxnet/parser_ops.so I'm currently hacking the…
dmansfield
  • 1,108
  • 10
  • 22
2
votes
0 answers

Is it possible to build and use syntaxnet for use in a java/C++ app on desktop and or mobile?

I managed to lauch syntaxnet and it's tutorial through docker & a juniper notebook I think that I also managed to build syntaxnet through python and the binary wheels but I have not yet figured how to use it (the documentation is severely lacking) I…
Lakedaemon
  • 831
  • 1
  • 6
  • 11
2
votes
0 answers

How to use SyntaxNet Output with another RNN algorithm

currently I’m building an NLU utilizing ​Arabic Language I’m using SyntaxNet, and I will use the RNN as an algorithm of machine learning for text classification and chatbot. My Question is how can I link between the output of SyntaxNet and RNN ??
2
votes
0 answers

bazel-bin/dragnn/tools/build_pip_package: No such file or directory

I'm trying to install SyntaxNet on Mac OS X (Sierra 10.12.4), and I've gotten to the step beginning: Now you can install the SyntaxNet and DRAGNN Python modules with the following commands: And I've tried the next command:…
David Schueler
  • 581
  • 1
  • 4
  • 6
2
votes
0 answers

TypeError: __init__() got an unexpected keyword argument 'reuse'

I tried creating a dragnn model Using Python 2.7, when i use wrapped_units.LayerNormBasicLSTMNetwork for tagger error happe but when use FeedForwardNetwork,program run well ,as: tagger =…
L.Hran
  • 21
  • 4
2
votes
1 answer

Syntaxnet pretrained models for Italian language

I'm trying to use Syntaxnet pretrained models for Italian language. I just found one issue related to tokenization task on Italian and Spanish languages. I have got a preliminar problem. The posted link for pretrained dataset dowload does not work.…
fiamminaM
  • 21
  • 2
2
votes
1 answer

How long it take to train English/Russian/... model from scratch with SyntaxNet/DragNN?

I want to retrain existing models for SyntaxNet/DragNN and looking for some real numbers how long does it take to train models for any language (it will give me good baseline for my languages). What hardware have you used during this process? Thank…
2
votes
1 answer

How dependency parse tree is used for sentiment analysis?

With the announcement from Google on release of Parsey McParseface syntaxnet which is claimed to be the most accurate dependency parser. I want to understand how this parser can be used for more accurate sentiment analysis ? If someone can share…
Shakti
  • 2,013
  • 8
  • 27
  • 40
2
votes
0 answers

SyntaxNet Tokenization for Italian and Spanish

We're trying to use SyntaxNet on English, Italian and Spanish with models pretrained on Universal Dependencies datasets that we found here https://github.com/tensorflow/models/blob/master/syntaxnet/universal.md. For Italian and Spanish we are…
calz
  • 21
  • 2
2
votes
1 answer

How to interpret the output of a synaxnet when annotating a corpus

I annotated a corpus using pre-trained syntaxnet model (i.e. using Parse McParseface). I am having a problem understanding the output. There are two metrics reproted in the output. Are those for POS tagging and dependency parsing? If yes, which one…
user2161903
  • 577
  • 1
  • 6
  • 22
2
votes
0 answers

Workflow for integrating Syntaxnet into the analysis of long(er) documents

I am trying to figure out what improvements in the text analysis of long documents can be obtained by using Syntaxnet, rather than something "dumb" like word counts, sentence length, etc. The goal would be to get more accurate linguistic measures…
2
votes
0 answers

Syntaxnet tuning_corpus

I am trying to train Syntaxnet using Universal Dependencies (https://github.com/UniversalDependencies/UD_English). In the Syntax tutorial, it is mentioned to provide a tuning_corpus file. But there is no explanation for it. In the universal…
m. nik
  • 21
  • 4
2
votes
1 answer

Which dependencies representation has been used in Syntaxnet / Parsey McParseface?

Parsey McParseface label map has 46 labels, some labels like mwe can not be find in either Universal Dependencies or Stanford typed dependencies Docs. According to comments in code here: This CoNLL reader is compatible with the CoNLL-U format…
imcaspar
  • 652
  • 8
  • 9
2
votes
1 answer

How to give folder of files as input to SyntaxNet

I am new to Syntaxnet. I followed the basic tutorial, installed syntaxnet and I modified the syntaxnet/demo.sh file and added the following code to context.pbtxt file: input { name: 'MAIN-IN' record_format: 'english-text' Part…
H414
  • 71
  • 8
1 2
3
8 9