|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.extjwnl.data.BaseDictionaryElement
net.sf.extjwnl.data.Exc
public 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.
Field Summary |
---|
Fields inherited from class net.sf.extjwnl.data.BaseDictionaryElement |
---|
dictionary |
Constructor Summary | |
---|---|
Exc(Dictionary dictionary,
POS pos,
String lemma,
List<String> exceptions)
Creates a new exception entry. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
List<String> |
getExceptions()
Returns list of exceptions (base forms). |
Object |
getKey()
Returns a key that can be used to index this element. |
String |
getLemma()
Returns the lemma (derivation) of the exception word. |
POS |
getPOS()
Returns element's part of speech. |
DictionaryElementType |
getType()
Returns the element's type. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class net.sf.extjwnl.data.BaseDictionaryElement |
---|
getDictionary, setDictionary |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Exc(Dictionary dictionary, POS pos, String lemma, List<String> exceptions) throws JWNLException
dictionary
- the owner of the exceptionpos
- the exception part of speechlemma
- the word's lemma formexceptions
- the given exceptions
JWNLException
- JWNLExceptionMethod Detail |
---|
public DictionaryElementType getType()
DictionaryElement
public POS getPOS()
DictionaryElement
public Object getKey()
DictionaryElement
public String getLemma()
public List<String> getExceptions()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |