|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jhunlang.jmorph.DictEntry
net.sf.jhunlang.jmorph.ExceptionEntry
ExceptionEntry instances represent the dictionary definitions of
exceptional solutions resolving exceptional words
stored in XWordEntry instances..
| Field Summary | |
protected DictEntry |
flagEntry
The entry for flags |
protected java.lang.String |
stem
The solution given by this exception |
| Fields inherited from class net.sf.jhunlang.jmorph.DictEntry |
ALL_CAPITALIZED, ALL_LOWER, capitalization, CAPITALIZED, CAPS, flags, FUNNY_CAPITALIZED, homonyms, inflexion, NO_HOMONYM, root, word |
| Fields inherited from interface net.sf.jhunlang.jmorph.parser.DictConstants |
CHUNK_FLAG, EXCEPTION_START, EXCEPTIONAL_STRIP, FORBIDDEN_FLAG, ONLYROOT_FLAG, X_FLAG, YIJ_FLAG |
| Constructor Summary | |
ExceptionEntry(java.lang.String word,
java.lang.String solution)
Create an ExceptionEntry with the solution of an
exceptional word. |
|
| Method Summary | |
java.lang.String |
contentString()
Return the internal String representation of the content
of this instance |
java.lang.String |
getAbsoluteRootWord()
Return the solution of DictEntry.word |
boolean |
hasFlag(int flag)
Return if DictEntry.flags contains flag |
void |
setFlagEntry(DictEntry entry)
|
| Methods inherited from class net.sf.jhunlang.jmorph.DictEntry |
addHomonym, admitCapitalization, admitLowerCapitalization, capitalization, compound, derivatorString, derived, dictionaryDerivatorString, dictionaryWord, getAbsoluteRootEntry, getAccumulatedFlags, getCapitalization, getCaseEnding, getDictionaryRootEntry, getDictionaryRootWord, getFlags, getFlagString, getHomonyms, getInflexion, getPOS, getRelativeRootEntry, getRelativeRootWord, getRootEntry, getRootWord, getWord, hasFlag, inflex, inflex, inflexed, inflexionString, length, longContentString, morphString, setInflexion, setRoot, shortClassName, toLongString, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String stem
protected DictEntry flagEntry
| Constructor Detail |
public ExceptionEntry(java.lang.String word,
java.lang.String solution)
solution of an
exceptional word.
Strips off the DictConstants.EXCEPTIONAL_STRIP from the
beginning of solution as specified in huspell.
word - the wordsolution - the solution| Method Detail |
public void setFlagEntry(DictEntry entry)
public java.lang.String getAbsoluteRootWord()
DictEntry.word
getAbsoluteRootWord in class DictEntryword of this entrypublic boolean hasFlag(int flag)
DictEntryDictEntry.flags contains flag
hasFlag in class DictEntryflag - the flag to check
flags contains flagpublic java.lang.String contentString()
String representation of the content
of this instance
contentString in class DictEntryString representation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||