public class LexiconLookupResult extends BaseResults
Modifier and Type | Field and Description |
---|---|
java.lang.String |
corpusConfig
Corpus configuration.
|
edu.northwestern.at.morphadorner.corpuslinguistics.lexicon.LexiconEntry |
lexiconEntry
Lexicon entry.
|
java.util.List<java.lang.String> |
relatedSpellings
Related spellings with same lemma.
|
java.lang.String |
spelling
Spelling.
|
Constructor and Description |
---|
LexiconLookupResult()
Create empty lexicon entry results.
|
LexiconLookupResult(java.lang.String spelling,
java.lang.String corpusConfig,
edu.northwestern.at.morphadorner.corpuslinguistics.lexicon.LexiconEntry lexiconEntry,
java.util.List<java.lang.String> relatedSpellings)
Create populated lexicon lookup results.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toHTML()
Return HTML version of class entry values.
|
java.lang.String |
toString()
Generate string representation.
|
java.lang.String |
toString1()
Generate first part of string representation.
|
java.lang.String |
toString2()
Generate second part of string representation.
|
append, appendLn, stringFromHTML, tabularDataBaseResults
public java.lang.String spelling
public java.lang.String corpusConfig
public edu.northwestern.at.morphadorner.corpuslinguistics.lexicon.LexiconEntry lexiconEntry
@XStreamConverter(value=RelatedSpellingsListConverter.class) public java.util.List<java.lang.String> relatedSpellings
public LexiconLookupResult()
public LexiconLookupResult(java.lang.String spelling, java.lang.String corpusConfig, edu.northwestern.at.morphadorner.corpuslinguistics.lexicon.LexiconEntry lexiconEntry, java.util.List<java.lang.String> relatedSpellings)
spelling
- Spelling to lemmatize.corpusConfig
- Corpus configuration.lexiconEntry
- Lexicon entry.relatedSpellings
- Related spellings.public java.lang.String toString1()
The first part contains the parts of speech, lemmata, and counts for the given spelling in the selected corpus.
public java.lang.String toString2()
The second part contains the list of related words.
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toHTML()
toHTML
in class BaseResults