|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.didion.jwnl.data.Exc
public final class Exc
Represents an entry in an exception file. Contains all of the exceptions for the given lemma. Exception lists are alphabetized lists of inflected forms of words and their base forms. The first field of each line is an inflected form, followed by a space separated list of one or more base forms of the word. There is one exception list file for each syntactic category. From wndb.5WN in WordNet base documentation.
| Constructor Summary | |
|---|---|
Exc(POS pos,
String lemma,
List exceptions)
Creates a new exception entry. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Returns true if lemma and exceptions are equal. |
String |
getException(int index)
Get the exception at index index. |
String[] |
getExceptionArray()
Get the collection of Exc objects in array form. |
List |
getExceptions()
Get the List of exceptions. |
int |
getExceptionsSize()
Gets the number of exceptions. |
Object |
getKey()
Gets the lemma. |
String |
getLemma()
Gets the lemma of the exception word. |
POS |
getPOS()
Gets the part of speech. |
DictionaryElementType |
getType()
Gets the type of this exception entry. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Exc(POS pos,
String lemma,
List exceptions)
pos - - the part of speechlemma - - the word's lemma formexceptions - - the given exceptions| Method Detail |
|---|
public DictionaryElementType getType()
getType in interface DictionaryElementpublic POS getPOS()
public String getLemma()
public String getException(int index)
index.
public int getExceptionsSize()
public String[] getExceptionArray()
public List getExceptions()
public Object getKey()
getKey in interface DictionaryElementpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||