Questions tagged [dependency-parsing]

92 questions
0
votes
1 answer

Is there a way to retrieve the whole noun chunk using a root token in spaCy?

I'm very new to using spaCy. I have been reading the documentation for hours and I'm still confused if it's possible to do what I have in my question. Anyway... As the title says, is there a way to actually get a given noun chunk using a token…
Wisner
  • 40
  • 8
0
votes
1 answer

How to obtain enhanced dependency parsing from Stanford NLP tools?

I'm working on a project about dependency parsing for Polish. We’re trying to train the Stanford Neural Network Dependency Parser on data from Polish language (using Universal Dependencies treebanks in .conllu format). The data is already tokenized…
0
votes
0 answers

How can I detect a verb order with Stanford CoreNLP Dependency Parser?

I have a RDF/Turtle Resource as below: @prefix factory: . @prefix : . @prefix rdf: . @prefix owl:…
zoint
  • 108
  • 2
  • 15
0
votes
1 answer

Latin language dependency parser

I know about StanfordNLP parser but it does not cater for the Latin language. Any idea for dependency parsers for Latin pls?
Gannina
  • 133
  • 9
0
votes
1 answer

Dependency Parsing using Stanford Dependency Parser

i am trying to extract main verb in a sentence and i followed this question , i am expecting output in this format nsubj(swim-4, Parrots-1) aux(swim-4, do-2) neg(swim-4, not-3) root(ROOT-0, swim-4) but i am getting output in this way…
0
votes
1 answer

Converting Dependency tree into sequence of Arc-eager transitions

Currently I'm trying to build syntax-aware NMT model. In this project, I need the sequence of one of three transition actions (SHIFT, REDUCE-L, REDUCE-R) Similar to what is in the image a This chunk represents the transition-based dependency for 2…
rokrokss
  • 137
  • 2
  • 11
0
votes
2 answers

How to detect statements made about entities using NLP

I want to research using NLP to detect negative/non-constructive comments, i.e. those that frequently arise when discussing politics online. I am curious to know that if given a sentence like this: You're a liberal dweeb. Clinton is ruining the US…
James Ko
  • 32,215
  • 30
  • 128
  • 239
0
votes
1 answer

NLP convert bracket notation to dependency tree

Given a bracket notation of constituent words, is there a way to convert it into its dependency tree? [S [NP [Proper-Noun John]][VP [Verb saw][NP [Proper-Noun Mary]][PP [Preposition with][NP [Determiner a][Noun telescope]]]]] into nsubj(saw-2,…
arjun
  • 1,594
  • 16
  • 33
0
votes
1 answer

Basic and enhanced dependencies give different results in Stanford coreNLP

I am using dependency parsing of coreNLP for a project of mine. The basic and enhanced dependencies are different result for a particular dependency. I used the following code to get enhanced dependencies. val lp =…
winu_ram
  • 115
  • 1
  • 5
0
votes
1 answer

Detecting questions using Parsey's Dependency parser

Is there any way to detect if there exists a question in the sentence using Parsey's dependency parser alone? The regular stanford parser provides a tag of SBARQ or SQ for questions. Is there anything similar for parsey's dependency parser?
0
votes
1 answer

Trying to parse tree using Stanford Dependency

Hi I am trying to get the tokens int he format: Token(index=1, form='some', cpos='DT', pos='DT', head=3, deprel='det') Token(index=2, form='blue', cpos='JJ', pos='JJ', head=3, deprel='amod') Token(index=3, form='moose', cpos='NN', pos='NN',…
Deepa Huddar
  • 321
  • 1
  • 4
  • 15
0
votes
1 answer

Stanford dependency parser training data format

I would like to add a new language to the Stanford Dependency Parser, but cannot for the life of me figure out how. In what format should training data be? How do I generate new language files?
player.mdl
  • 113
  • 4
0
votes
1 answer

Quantification of non-determinism in CS experiments

Heyall, I'm working on my MSc thesis in computer science. More specifically, I am doing research on the effects of tuning the hyperparameters of distributional semantic models when used as features in statistical dependency parsers. I am using…
0
votes
1 answer

How to translate syntatic parse to a dependency parse tree?

Using Link Grammar I can have the syntaxic parse of sentences something like the following: +-------------------Xp------------------+ +------->WV------->+------Ost------+ | +-----Wd----+ | +----Ds**x---+ | | …
amirouche
  • 7,682
  • 6
  • 40
  • 94
0
votes
1 answer

Converting stanford dependencies in numbered format

I am using Stanford dependency parser and the I get the following output of the sentence I shot an elephant in my sleep >>>python dep_parsing.py [((u'shot', u'VBD'), u'nsubj', (u'I', u'PRP')), ((u'shot', u'VBD'), u'dobj', (u'elephant', u'NN')),…
Riken Shah
  • 3,022
  • 5
  • 29
  • 56