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
14
votes
4 answers

Syntaxnet / Parsey McParseface python API

I've installed syntaxnet and am able to run the parser with the provided demo script. Ideally, I would like to run it directly from python. The only code I found was this: import subprocess import…
zvisofer
  • 1,346
  • 18
  • 41
12
votes
3 answers

How to use syntaxnet output

I started playing with Syntaxnet two days ago and I'm wondering how to use/export the output (ascii tree or conll ) in a format that is easy to parse (ie : Json, XML, python graph). Thanks for your help !
Mahdi DIF
  • 159
  • 1
  • 10
10
votes
1 answer

Is it possible to export a syntaxnet model (Parsey McParseface) to serve with TensorFlow Serving?

I have the demo.sh working fine and I've looked at the parser_eval.py and grokked it all to some extent. However, I don't see how to serve this model using TensorFlow Serving. There are two issues I can see off the top: 1) There's no exported model…
10
votes
1 answer

How to Get Dependency Parse Output from SyntaxNet

How do you get a dependency parse (not syntax tree) output from SyntaxNet (https://github.com/tensorflow/models/tree/master/syntaxnet) ? I see a description of dependency parsing...a description of how to train a model, but not how to get dependency…
9
votes
3 answers

NLP of Legal Texts?

I have a corpus of a few 100-thousand legal documents (mostly from the European Union) – laws, commentary, court documents etc. I am trying to algorithmically make some sense of them. I have modeled the known relationships (temporal,…
Matthias Winkelmann
  • 15,870
  • 7
  • 64
  • 76
8
votes
1 answer

TensorFlow RNNs for named entity recognition

I'm trying to work out what's the best model to adapt for an open named entity recognition problem (biology/chemistry, so no dictionary of entities exists but they have to be identified by context). Currently my best guess is to adapt Syntaxnet so…
Tom
  • 113
  • 1
  • 5
7
votes
1 answer

Definition of POS tag and Dependency label sets are used within Parsey McParseface?

The POS tags and Depedency labels output by Parsey McParseface are given in the tag-set and label-set files here respectively. The Syntaxnet readme outlines that the model was trained on the Penn Treebank, OntoNotes and the English Web Treebanks.…
7
votes
3 answers

SyntaxNet creating tree to root verb

I am new to Python and the world of NLP. The recent announcement of Google's Syntaxnet intrigued me. However I am having a lot of trouble understanding documentation around both syntaxnet and related tools (nltk, etc.) My goal: given an input such…
Derek Gourlay
  • 279
  • 2
  • 13
7
votes
1 answer

Getting started with Syntaxnet

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…
Greg Brimble
  • 91
  • 1
  • 7
6
votes
3 answers

Named Entity Recognition with Syntaxnet

I am trying to understand and learn SyntaxNet. I am trying to figure out whether is there any way to use SyntaxNet for Name Entity Recognition of a corpus. Any sample code or helpful links would be appreciated.
Anantha
  • 99
  • 4
  • 13
6
votes
1 answer

How to get constituency-based parse tree from Parsey McParseface

Parsey McParsey returns a dependency-based parse tree by default, but is their a way to get a constituency-based parse tree from it? EDIT: To clarify, by "to get from it" I mean from the Parsey itself. Though building a tree from ConLL output would…
maga
  • 720
  • 3
  • 13
5
votes
0 answers

Case insensitive POS (Part of Speech) Tagger for SyntaxNet

I have tried, Parsey McParseface, the pre-trained POS tagger that comes with Syntax Net and it does a good job at tagging sentences that have proper capitalization. I would like to tag sentences that are all lower case, like: i grew up in toronto…
5
votes
3 answers

How to use SyntaxNet parser/tagger with spaCy API?

I have been using spaCy Python package to parse and tag text and using the resulting dependency tree and other attributes to derive meaning. Now I would like to use SyntaxNet's Parsey McParseface for parsing and dependency tagging (which seems…
Jason
  • 51
  • 3
5
votes
2 answers

Annotating a Corpus (Syntaxnet)

I downloaded and installed SyntaxNet following Syntax official documentation on Github. following the documentation (annotating corpus) I tried to read a .conll file named wj.conll by SyntaxNet and write the results in wj-tagged.conll but I could…
Nazanin Tajik
  • 412
  • 2
  • 15
5
votes
0 answers

How do I get started with SyntaxNet in Tensor Flow

With Google's rollout of their NLU program SyntaxNet and the English Parser Parsey McParseface. How do I start with the training model?
technazi
  • 888
  • 4
  • 21
  • 42
1
2 3
8 9