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
1
vote
0 answers

How DocumentSink, DocumentSource ops in TF Syntaxnet actually work?

After going through the code... I could understand the flow as.. In parser_eval.py sink_documents = tf.placeholder(tf.string) sink = gen_parser_ops.document_sink(sink_documents, task_context=task_context, …
Aravind Pilla
  • 416
  • 4
  • 14
1
vote
1 answer

Syntaxnet spec file and Docker?

I'm trying to learn Synatxnet. I have it running through Docker. But I really dont know much about either program Synatxnet or Docker. On the Github Sytaxnet page it says The SyntaxNet models are configured via a combination of run-time flags…
20GT
  • 11
  • 3
1
vote
0 answers

Pass Text from stdin as an Argument to a Shell Script from Python

I have a json file on which I have to do the following: Run just the "text" field on the json through Syntaxnet. From Syntaxnet output, create a new json field that looks like: text_syntaxnet = [{'word' = , 'position = ,…
kskp
  • 692
  • 5
  • 11
  • 23
1
vote
0 answers

Tensorflow not building

I followed the instructions given here to set-up my machine to run SyntaxNet. I have installed all the required software and ensured the versions are the same as the instructions. But when I run the bazel tests using command bazel test…
Sneha
  • 21
  • 3
1
vote
1 answer

Is SyntaxNet Compatible with Open NLP?

I am new to OpenNLP and have used it to get some parsing sentences. I saw in Google TensorFlow youtube videos that the Penn Treebank is old and sort of outdated. They have made another parsing model named SyntaxNet available as Open Source. My…
Fr_nkenstien
  • 1,923
  • 7
  • 33
  • 66
1
vote
1 answer

How to train a custom transition-based system on SyntaxNet

I am developing a parser which is not a dependency parser, but it still is a transition-based system. Instead of using 3 actions SHIFT, REDUCE-LEFT and REDUCE-RIGHT like arc-transition, I proposed my own actions for my parser. As my understanding…
The Lazy Log
  • 3,564
  • 2
  • 20
  • 27
1
vote
0 answers

How to Add Training Data to Out-of-the-Box Parsey McParseFace Model

I am wondering how, if possible at all, one might train a new SyntaxNet model that uses the training data from the original, out-of-the-box "ready to parse" model included on the github page. What I want to do is add new training data to make a new…
1
vote
1 answer

How to train syntaxnet model with my own POS data?

I have my own POS data with below format. Sentence: I love Stack Overflow. POS: I/PRP love/VBP Stack/NNP Overflow/NNP ./. So, how I train Syntaxnet with this data? And also I want to get this output: **(ROOT (S (NP (PRP I)) (VP (VBP…
1
vote
0 answers

SyntaxNet: Porting guide to android native

I want to port the syntaxnet model to android native, but there is no documentation given for this model. In google tensorflow example, they have shared an example of identifying the object using tensorflow library. Similar way i want to port…
1
vote
1 answer

Use SyntaxNet for chunking?

In an app I'm developing I need to know whether a string of words is a noun phrase, verb phrase, etc. I understand that NP and VP are neither dependencies nor POS. I also understand that to do this I probably need some sort of chunking tool but I…
Roy Li
  • 511
  • 1
  • 6
  • 14
1
vote
1 answer

Can I use SyntaxNet as a library from my C++ code?

I'm writing a semantic analysis application written on C++ that is internally based on syntactic parses of sentences. SyntaxNet is used to provide required dependency trees, and it works quite well. The only thing is that I have to call SyntaxNet as…
upokatik
  • 13
  • 4
1
vote
0 answers

How to understand the "markup language to define features" in context.pbtxt

I am studying the context.pbtxt usage of SyntaxNet, and I have a question. I want to define my self features of tagger and parser in the context.pbtxt file, but I can not find any tutorial or document to explain how to use the markup language to…
tzuping
  • 11
  • 2
1
vote
3 answers

Using Syntaxnet POS tags in python?

I want to use the parser tags (ex: VBD ROOT, NN nsubj, etc.) of syntaxnet in python to help create a chatterbot. The input is done in the console. Question: How can I get in a variable the result of only VBP ROOT and nothing else? I was able to…
Mrtnchps
  • 187
  • 1
  • 11
1
vote
2 answers

How do I specify the number of CPU cores bazel uses?

I am building syntaxnet (tensorflow fork) with bazel. It's working very slowly and keeps hanging up. The last time I had this problem (with caffe) someone told me to change the number of cores I was using by adding -j4. In bazel this command did…
Rushat Rai
  • 743
  • 2
  • 15
  • 31
1
vote
0 answers

Creating a training corpus using SyntexNet Parsey McParseface

I am currently trying to learn Tensorflow and have gotten to the point where I need to create some corpus' datasets. I don't have the money to drop for the annotated Gigaword English corpus at LDC so I am looking at creating my own scraper. I have…
xtr33me
  • 936
  • 1
  • 13
  • 39
1 2 3
8 9