Category Archives: NLP

Wordnet Vocabulary & Definitions

This was taken from http://en.wikipedia.org/wiki/WordNet on September 7th, 2010 because, well, I just needed it quickly accessible. Nouns hypernyms Y is a hypernym of X if every X is a (kind of) Y canine is a hypernym of dog, because every dog is a member of the larger category of canines hyponyms Y is a [...]

Posted in NLP | Tagged , | Comments closed

Serializing Stanford Parser Objects.

Recently, I found the need to serialize Stanford Parser objects to a file. Though I was familiar with the concept of serialization, I had never done such a thing in Java before. The following is an example on how to do just that: serializing Stanford Parser Tree objects to a file. The example accomplishes the [...]

Also posted in Programming | Tagged , , | Comments closed

Using the Stanford Parser with Jython.

The following code is a Jython adaptation of the example Java code that comes with the Stanford Parser. I felt like this would be pretty useful to have as a resource because Python doesn’t have a parser that generates grammatical relationships in a sentence, and I wasn’t able to find any example code to help [...]

Also posted in Programming | Tagged , , , | Leave a comment