getType in wordnet java API
<p>I am using wordnet java API.
I have defined a</p>

<pre><code>WordNetDatabase database = WordNetDatabase.getFileInstance();
Synset[] synsets = database.getSynsets(wordForm);

System.out.println("type " + synsets[i].getType());
</code></pre>

<p>when I do this print, I get value 1 for "new york".</p>

<p>I am trying to find the value is NOUN (or) Verb....
But I get this values as 1.
what does 1 stand for?</p>

<p>It says <a href="http://lyle.smu.edu/~tspell/jaws/doc/edu/smu/tspell/wordnet/SynsetType.html" rel="nofollow">here</a> is of type: SynsetType.</p>

<p>Please let me now how I can find if the given word I give to lookup  and the response is a noun (or) verb..</p>
