wordnet

Extracting all the words starting with a particular letter from wordnet

how can extract all the words that start with a particular letter from wordnet. Example if i type A the wordnet should return all the words that start with letter A. ...

including wordnet header file

hi all, I am using wordnet static library, so how do i call the wn header file if i give #include or #include"wn.h" i am getting error: no such directory found. so how do i call the header file. ...

c# API to use wordnet-what is better?

Hi, I am doing a web based chattebot system and my problems are these. I need to get a particular user question and check for some specific keywords in it(for example take the nouns) and find for synonyms and well as do the spell check? Therefore What is the best C# API for wordnet?? Well what I want to do is get a sentence from a te...

Using Nltk and Wordnet how do i convert simple tense verb into its present, past or past participle form?

Hi Using Nltk and Wordnet how do i convert simple tense verb into its present, past or past participle form? For example: I want to write a function which would give me verb in expected form as follows. v = 'go' present = present_tense(v) print present # prints "going" past = past_tense(v) print past # prints "went" Any suggestion...

How to check if a word is an English word with Python?

I want to check in a Python program if a word is in the English dictionary. I believe nltk wordnet interface might be the way to go but I have no clue how to use it for such a simple task. def is_english_word(word): pass # how to I implement is_english_word? is_english_word(token.lower()) In the future, I might want to check if ...

getting nouns and verbs from wordnet

I'm struggling to find whether a word is noun or verb etc I found the MIT Java Wordnet Interface there was a sample code like this, but when i use this i get error that Dictionary is abstract class and cannot be instantiated public void testDictionary() throws IOException { // construct the URL to the Wordnet dictionary directory S...

Ritawordnet - wordnet java interfacing[solved]

EDIT: i removed the null parameter for wordnet object and it works perfectly.. hi I just ran this sample code given in the source website import rita.wordnet.RiWordnet; public class Main { public static void main(String[] args) { // Would pass in a PApplet normally, but we don't need to here RiWordnet wordnet =...

similarity metric to compare 2 sets of 2D points?

I am using a software tool SentiWordNet that can map an English word to a pair of numbers showing how positive and negative the word is. The pair of numbers p and n satisfies the 3 conditions. p ≥ 0 n ≥ 0 p + n ≤ 1 One can process each word of, say, a movie review and then find out the overall positiveness/negativeness. I was t...

Nltk installation

Hi In want to setup python's nltk library including wordnet in such a way that it can be easily copied from development system to production server, without having requirement for downloading wordnet separately. Any suggestion would be helpful... ...

wordnet relations

how to generate the more general, less general and equivalence relations from wordnet? wordnet similarity in RitaWordnet gives a number like -1.0, 0.222 or 1.0 but how to arrive at the more general, less general relations between words? which tool would be ideal for that? please help me i get java.lang.NullPointerException, after it pr...

Ritawordnet - ignoring compound words

RiWordnet wordnet = new RiWordnet(); System.out.println(wordnet.isIgnoringCompoundWords()); gives me true as output, but i have to find the similarity between compound words too.. how to do that in wordnet? ...