All Questions
Tagged with syntax-trees parsing
17 questions
1
vote
2
answers
1k
views
How to extract Subject-Verb-Object from a sentence?
Given a corpus of sentences, is there a way to extract subject-verb-object triplets? What is the state-of-art in detecting SVO triplets?
1
vote
0
answers
26
views
Why should we assign the head to a word as early as possible in shift-reduce dependency parsing?
This is about dependency parsing. The operation set of a shift-reduce parser was changed so that an arc is added as early as possible. It's claimed that "the longer a word has to wait to get assigned ...
2
votes
0
answers
198
views
Struggling With Split Projections In My X Bar Tree Diagram
I am trying to complete this linguistics question but I am a bit stuck. I'm not sure if I'm using the AgrNomO projections correctly. I have attached the tree diagram, and here is the question:
Draw ...
2
votes
1
answer
411
views
Parse Tree Formatter Tools?
I am looking for tools that can format parse trees. I want to be able to collapse and expand them. I understand that collapsing them is rather simple with regex or even simple search and replace, ...
4
votes
2
answers
273
views
Constituency-based parse trees and the word 'both' in noun phrases
I ran into a problem when doing a parse tree recently. It appears to be the word 'both' in the following sentence that is causing the trouble:
It is evident for both you and the listener
Obviously '...
4
votes
2
answers
4k
views
What software is used to make these X-bar trees?
I'm looking for software for illustrating tree diagrams am wondering whether anyone knows which was used to create the one in the post linked below.
I have tried messaging the author, but had no ...
1
vote
2
answers
115
views
Semantic parsing vs Propositional Representation
Propositional representation is explained on Wikipedia.
How is semantic parsing different from propositional representation? Or is propositional representation the next step after you do semantic ...
7
votes
1
answer
455
views
Representing knowledge extracted from output of dependency parsing
I am working on a problem to represent knowledge extracted from a paragraph and rank it to produce abstractive summaries. I have implemented dependency parsing using Stanford NLP, which gives dot ...
4
votes
0
answers
60
views
How should "at some time" be tagged in Universal Dependencies framework?
I want to tag a sentence
Jones was unemployed at some time before he graduated.
with UD tags. I'm not sure how to tag at some time.
Stanford parser suggests the reading:
case (time-6, at-4)
det (...
2
votes
1
answer
135
views
Automated wh movement for turning an answer into the form of a question
I am not a linguist but I want to know if there are any parsing tools in existence that can help me do the following kind of thing:
Given a sentence like the one below I would like to generate many ...
3
votes
5
answers
178
views
Treebanks that contain both constituency and dependency parse trees
I am looking for treebanks that contain both constituency and dependency parse trees. Both should have been manually annotated (i.e. the dependency parse trees shouldn't have been obtained from the ...
1
vote
0
answers
290
views
Average number of independent clauses in a compound sentence
I'm working on a NLP project, where we analyze large text samples (think a novel), and produce some metrics that help us answer interesting questions about the text. One of these metrics is average ...
1
vote
0
answers
363
views
How do PCFG parsers actually work?
I'm new to NLP. I have a few doubts about PCFG parser (NLTK). My understanding is that PCFG parser will return most probable parse tree. So if I'm parsing one sentence with PCFG parser, I'll be ...
7
votes
1
answer
910
views
Earley Parser: Ambiguity
I've got a pretty basic question concerning the Earley parser: In case of syntactic ambiguity ( S -> NP VP(V NP(NP PP)) vs. S -> NP VP(VP((V NP) PP) ), are both parses stored in one chart or in two?
...
2
votes
1
answer
717
views
Please help me parse the subject complement of
The 2 questions are on the diagram.
In question 1 - I emphasize "function as" because my understanding is that (in English) a predicate nominative - even though it can take the form of a preposition ...
19
votes
5
answers
3k
views
Why is dependency parsing so much faster than constituency parsing?
For example, Cer, Daniel M., et al. "Parsing to Stanford Dependencies: Trade-offs between Speed and Accuracy." LREC. 2010. :
Why is dependency parsing so much faster than constituency parsing?
10
votes
2
answers
759
views
In what situation a constituency-based tree cannot be constructed from a dependency-based tree?
I am confused regarding the distinction dependency- vs. constituency-based tree: to me they look like they encompass the same information but presented differently.
E.g. in the Wikipedia example the ...