Class Exc
java.lang.Object
net.didion.jwnl.data.Exc
- All Implemented Interfaces:
Serializable, DictionaryElement
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if lemma and exceptions are equal.getException(int index) Get the exception at indexindex.String[]Get the collection of Exc objects in array form.Get the List of exceptions.intGets the number of exceptions.getKey()Gets the lemma.getLemma()Gets the lemma of the exception word.getPOS()Gets the part of speech.getType()Gets the type of this exception entry.inthashCode()toString()
-
Constructor Details
-
Exc
-
-
Method Details
-
getType
Gets the type of this exception entry.- Specified by:
getTypein interfaceDictionaryElement
-
getPOS
-
getLemma
-
getException
Get the exception at indexindex. -
getExceptionsSize
public int getExceptionsSize()Gets the number of exceptions.- Returns:
- int
-
getExceptionArray
Get the collection of Exc objects in array form. -
getExceptions
Get the List of exceptions. -
getKey
-
equals
-
toString
-
hashCode
-