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
2
votes
0 answers

How to add custom dictionary to SyntaxNet?

Is there any way to add user-defined vocabulary to improve Parsey McParseface's pos-tagging performance? In other words, how can I teach newly-coined words to my parsey's cousin? I know I can manually add CONLL-U formatted sentences with the new…
J-min
  • 457
  • 4
  • 9
2
votes
1 answer

Correct way to configure interdependent projects (e.g. tensorflow) in bazel build system so proto imports work as is?

As the title suggests, I'm running into an issue where proto import statements do not seem to be relative to the correct path. For concreteness, consider the directory structure in a dir (let's call it ~/base): `>> tree -L 1 ├── models ├── my-lib | …
ark
  • 43
  • 3
2
votes
1 answer

how to run multiple examples in demo.sh in syntaxnet model

I want to parse large number of examples/sentences using syntaxnet model. Currently i am using python subprocess module to run demo.sh file for each example which is taking a lot of time as it might be loading all the trained models again and…
2
votes
3 answers

Installing Bazel on Raspberry pi 3

I am trying to build Bazel from source for Raspberry Pi 3 (Model B). I encounter error Protobuf compiler not found in third_party/protobuf/protoc-linux-arm32.exe Earlier I tried downloading the available .deb package which failed to install (even…
JC_
  • 45
  • 3
  • 7
2
votes
1 answer

tensorflow-syntaxnet: Where are sentence_pb2 and gen_parser_ops?

I cannot import these two python files from syntaxnet and I cannot find them either. Does anyone know how to solve this issue? Thanks! from syntaxnet.ops import gen_parser_ops from syntaxnet import sentence_pb2
guo miao
  • 25
  • 3
2
votes
2 answers

syntaxnet bazel test failed

I ran bazel test syntaxnet/... util/utf8/... and it gave me this output: FAIL: //syntaxnet:parser_trainer_test (see…
Rushat Rai
  • 743
  • 2
  • 15
  • 31
2
votes
1 answer

How to use SyntaxNet output to operate an executive command ,for example save a file in a folder, on Linux system

having downloaded and trained SyntaxNet, I am trying to write a program that can open new/existed files, for example AutoCAD files, and save the files in an specific directory by analyzing the text: open LibreOffice file X . considering the output…
Nazanin Tajik
  • 412
  • 2
  • 15
2
votes
0 answers

What does SyntaxNet's 'eval metric' mean?

I've been playing with SyntaxNet. After each run, a line like this is printed: INFO:tensorflow:Seconds elapsed in evaluation: 20.65, eval metric: 11.48% I've traced it to line 134 of parser_eval.py: tf_eval_epochs, tf_eval_metrics, tf_documents =…
Undo
  • 25,519
  • 37
  • 106
  • 129
2
votes
1 answer

Annotating a corpus using Syntaxnet

I am trying to annotate a corpus using Syntaxnet. I added the following lines in the end of the /models/syntaxnet/syntaxnet/models/parsey_mcparseface/context.pbtxt file: input { name: 'input_file' record_format: 'english-text' Part { file_pattern:…
kskp
  • 692
  • 5
  • 11
  • 23
2
votes
0 answers

SyntaxNet Bazel build failed: gcc: error: unrecognized command line option '-h'

Trying to install SyntaxNet on Ubuntu 14.04 LTS, build fails with gcc unrecognized command line option '-h'. Searched gcc documentation and there seems to be no such command line option. Have anybody seen this? sudo /home/user/bin/bazel test…
janiake
  • 45
  • 5
2
votes
1 answer

Error while build SyntaxNet with Bazel

I am trying to run Syntaxnet on Ubuntu in my VirtualBox following instructions on SyntaxNet Github page When i ran "bazel test syntaxnet/... util/utf8/...", all test targets were skipped. The error codes are as below.
StrawhatLuffy
  • 695
  • 1
  • 7
  • 17
2
votes
3 answers

Failing to build/test (bazel) Syntaxnet (Tensorflow)

I am trying to run the basic tutorial following the instruction at https://github.com/tensorflow/models/tree/master/syntaxnet I am getting the following error when I do bazel test syntaxnet/... util/utf8/... Following is the error…
Chris P
  • 1,619
  • 2
  • 12
  • 9
1
vote
1 answer

Install libcurl3-dev in WSL (Windows Subsystem for Linux)

I am building an older version of TensorFlow in WSL for SyntaxNet (now deprecated) and I get: ERROR: It appears that the development version of libcurl is not available. Please install the libcurl3-dev package. I use sudo apt install libcurl3-dev…
1
vote
0 answers

Problem installing SyntaxNet on Ubuntu 18.04.1: Error executing Jupyter command 'nbextension': [Errno 2] No such file or directory

I want to use Parsey McParseface, and I'm following the installation instructions for SyntaxNet here: https://github.com/tensorflow/models/tree/master/research/syntaxnet#ubuntu-1604-binary-installation#ubuntu-1604-binary-installation I'm using…
1
vote
0 answers

Syntaxnet POS tagger use of capitalization

I want to use Syntaxnet for getting the POS tags of tweets (and more specifically, extracting named entities from the text). However, Parsey McParseface is case-sensitive by default. Since tweets often not use capitalization, I was thinking of using…
1 2 3
8 9