public final class Exc extends Object implements DictionaryElement
| Constructor and Description |
|---|
Exc(POS pos,
String lemma,
List exceptions)
Creates a new exception entry.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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)
Copyright © 2019. All rights reserved.