stanford-nlp

How do I manipulate parse trees?

I've been playing around with natural language parse trees and manipulating them in various ways. I've been using Stanford's Tregex and Tsurgeon tools but the code is a mess and doesn't fit in well with my mostly Python environment (those tools are Java and aren't ideal for tweaking). I'd like to have a toolset that would allow for easy ...

How to get POS tagging using Stanford Parser.

I'm using Stanford Parser to parse the dependence relations between pair of words, but I also need the tagging of words. However, in the ParseDemo.java, the program only output the Tagging Tree. I need each word's tagging like this: My/PRP$ dog/NN also/RB likes/VBZ eating/VBG bananas/NNS ./. not like this: (ROOT (S (NP (PRP$ My...

How to use Stanford NLP API to retrieve phrases or tokens from NL query?

I need phrases returned from Stanford parser to use to in my program. ...

Stanford parser - typed dependencies

The typed dependencies given by stanford parser online http://nlp.stanford.edu:8080/parser/ and the dependencies generated by the sourcecode given aren't same The versions of source codes available in stanford website does not generate abbrev,possesive and poss tags. Which version of stanford parser to use for generating these tags? ...

illegal argument exception - stanford parser

Hi, I tried to parse a sentence using stanford parser, but i get the exception please help me. the input file, code and exception are specified below I think the problem is because the penn tree in input file doesnot handle punctuations, how to generate penn tree that handles punctuation too? Input file (ROOT (S (NP (DT A) (NN ...

opennlp vs stanford nlptools vs berkeley

Hi the aim is to parse a sizeable corpus like wikipedia to generate the most probable parse tree,and named entity recognition. Which is the best library to achieve this in terms of performance and accuracy? Has anyone used more than one of the above libraries? ...

finding noun and verb in stanford parser

Hi, I need to find whether a word is verb or noun or it is both For example, the word is "search" it can be both noun and a verb but stanford parser gives NN tag to it.. is there any way that stanford parser will give that "search" is both noun and verb? code that i use now public static String Lemmatize(String word) { WordTag ...

stanford parser usage

Hi! I couldn't find any useful document about how to use stanford-parser with different languages. I read the FAQ page and search the mail archives. There are similar questions on mail list but they weren't answered. The parser uses a file named englishPCFG.ser to parse English sentences. I think this is the file where language specific...