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
0
votes
1 answer

SyntaxNet: how does parser_eval.py receive stdin?

When we run models/syntaxnet/$ echo "sentence to parse" | ./syntaxnet/demo.sh, which specific tensor does receive "sentence to parse"? I made a SyntaxNet server (AWS, django) to help my other conversational tasks. Every time I send a sentence query…
J-min
  • 457
  • 4
  • 9
0
votes
0 answers

Calling .wait() on subprocess breaks the script I'm calling in the subprocess

thanks for taking the time to read this post. Basically I'm trying to call syntaxnet's parsey mcparseface from a subprocess. For some reason it wont run unless I change the working directory. I can run the subprocess with the following. process =…
Kahless
  • 1,213
  • 2
  • 13
  • 31
0
votes
1 answer

How to ignore annotation characters on SyntaxNet?

I want to ignore annotation characters when parsing text on syntaxnet. For example, in the case below, I want to ignore and annotation characters. Michael Jordan is a professor at Berkeley. So, I expect next…
mayo
  • 81
  • 6
0
votes
1 answer

How to just output the parse tree

When running syntaxnet there is a lot of output to the console. I was wondering how I can just get the dependency data out. As it is now this is my output: I syntaxnet/term_frequency_map.cc:101] Loaded 37 terms from work/models/label-map. I…
Arash Saidi
  • 2,228
  • 20
  • 36
0
votes
1 answer

New language in Universal Dependencies

I've added a new language in UD (Buryat) and now would like to parse it with SyntaxNet. Could you, please, tell how is it possible to do?
Ellen
  • 3
  • 1
0
votes
1 answer

Parsey mcparseface : how to get position of word in sentence along with parse tree

I am using parsey mcparseface and syntaxnet to parse some text. I wish to extract the positional data of words along with the parse tree. Currently what the output is: echo 'Alice brought the pizza to Alice.' | syntaxnet/demo.sh Input: Alice…
abhinonymous
  • 329
  • 2
  • 13
0
votes
3 answers

How to check whether a phrase "functions" as noun in a sentence

In addition to noun and noun phrase, there are some other constructs in English that can also function as noun. Gerundive, for example, can be used as noun: you need good habits such as "being polite". In an app I'm developing, I need to find all…
Roy Li
  • 511
  • 1
  • 6
  • 14
0
votes
1 answer

Does SyntaxNet allow me to add a custom dicitonary?

What I want to do is add in a custom resource that tells SyntaxNet to combine two tokens into a single token. I'm processing biomedical data from NCBI and species are almost always written with their genus (so, genus + species). I need to preserve…
Shane
  • 11
  • 4
0
votes
2 answers

call a script file from one docker container to another container using --link container

I have created a container with a name of "tensorflow-syntaxnet_container" using docker command docker run -d -name tensorflow_syntaxnet_container syntaxnet_image and the other container "python_flask" with linking the tensorflow-syntaxnet_container…
gopinath
  • 155
  • 1
  • 1
  • 8
0
votes
2 answers

How can i call syntaxnet from python file?

We have successfully installed syntaxnet and we are able to get the parsed output by calling the command echo 'open Book, which I have written with laboratory writer, with libreoffice writer.' | syntaxnet/demo.sh. Ideally what we want is calling…
Selva Saravana Er
  • 199
  • 1
  • 1
  • 6
0
votes
1 answer

build syntaxnet with bazel: pywrap error

I am trying to build syntaxnet using bazel without root rights. I have downloaded bazel 0.2.2b and pulled the syntaxnet git repository as suggested on its website. I have managed to pass the new gcc for the bazel build and set my environment…
David Ba
  • 31
  • 3
0
votes
2 answers

Not able to build syntaxNet source?

I did everything given in their documentation but I'm getting this error again and again....I tried googling and finding if anyone got the same error but nopes, didn't work out. Heres the command -- bazel test --linkopt=-headerpad_max_install_names…
hashcode55
  • 5,622
  • 4
  • 27
  • 40
0
votes
1 answer

How to combine bazel artifacts from tensorflow tensorflow-serving and syntaxnet?

I have built syntaxnet, and tensorflow-serving using bazel. Both embed their own (partial?) copy of tensorflow itself. I already have the problem where I'd like to "import" some parts of tensorflow-serving in a script that "lives" in the syntaxnet…
dmansfield
  • 1,108
  • 10
  • 22
0
votes
1 answer

bazel cannot test syntax net in my mac

I am trying to run SyntaxNet on my mac and I followed the steps that listed on this site but when I reach the last installation step when bazel test SyntaxNet, I got a problem This is it: Users-MacBook-Pro:syntaxnet user$ bazel test…
0
votes
1 answer

Training the SyntaxNet POS Tagger in SytaxNet

I had some difficulties training SyntaxNet POS tagger and parser training and I could find a good solution which I addressed in Answers section. if you have got stuck in one of the following problem this documentation really helps you: the…
Nazanin Tajik
  • 412
  • 2
  • 15
1 2 3
8
9