Package | Description |
---|---|
de.tudarmstadt.ukp.jwktl.api | |
de.tudarmstadt.ukp.jwktl.api.entry | |
de.tudarmstadt.ukp.jwktl.api.filter |
Modifier and Type | Method and Description |
---|---|
IWiktionarySense |
IWiktionaryEntry.getSense(int index)
Returns the
IWiktionarySense with the given index. |
IWiktionarySense |
IWiktionaryEdition.getSenseForId(long entryId,
int senseIdx)
Returns the word sense with the given entry id and sense index.
|
IWiktionarySense |
IWiktionaryEdition.getSenseForId(long pageId,
int entryIdx,
int senseIdx)
Returns the word sense with the given page id, entry index, and sense
index.
|
IWiktionarySense |
IWiktionaryEdition.getSenseForKey(String id)
Returns the word sense with the given unique id.
|
IWiktionarySense |
IWiktionaryCollection.getSenseForKey(String key,
ILanguage language)
Returns the word sense with the given (edition-specific) unique id.
|
IWiktionarySense |
IWiktionaryEdition.getSensesForWord(String word,
int entryIdx,
int senseIdx)
Returns the
IWiktionarySense encoded on the page with
the given title and being part of the entry with the specified entry
index at the specified sense index. |
IWiktionarySense |
IWiktionaryEntry.getUnassignedSense()
Returns a dummy
IWiktionarySense that contains all
information that has not been assigned to a particular sense. |
Modifier and Type | Method and Description |
---|---|
IWiktionaryIterator<IWiktionarySense> |
IWiktionary.getAllSenses()
Returns an iterator over all
IWiktionarySense s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
IWiktionary.getAllSenses(boolean sortByTitle)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
IWiktionary.getAllSenses(boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
IWiktionary.getAllSenses(IWiktionarySenseFilter filter)
Returns an iterator over all
IWiktionarySense s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
IWiktionary.getAllSenses(IWiktionarySenseFilter filter,
boolean sortByTitle)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
IWiktionaryIterator<IWiktionarySense> |
IWiktionary.getAllSenses(IWiktionarySenseFilter filter,
boolean sortByTitle,
boolean normalize)
Returns an iterator over all
IWiktionaryEntry s within
the Wiktionary edition. |
Iterable<? extends IWiktionarySense> |
IWiktionaryEntry.getSenses()
Returns the list of all
IWiktionarySense s. |
Iterable<? extends IWiktionarySense> |
IWiktionaryEntry.getSenses(boolean includeUnassignedSense)
Returns the list of all
IWiktionarySense s. |
List<IWiktionarySense> |
IWiktionary.getSensesForWord(String word)
Returns a list of
IWiktionarySense s encoded on a page with
the given title. |
List<IWiktionarySense> |
IWiktionary.getSensesForWord(String word,
boolean normalize)
Returns a list of
IWiktionarySense s encoded on a page with
the given title. |
List<IWiktionarySense> |
IWiktionaryEdition.getSensesForWord(String word,
int entryIdx)
Returns a list of
IWiktionarySense s encoded on a page with
the given title and being part of an entry with the specified entry
index. |
List<IWiktionarySense> |
IWiktionary.getSensesForWord(String word,
IWiktionarySenseFilter filter)
Returns a list of
IWiktionarySense s encoded on a page with
the given title. |
List<IWiktionarySense> |
IWiktionary.getSensesForWord(String word,
IWiktionarySenseFilter filter,
boolean normalize)
Returns a list of
IWiktionarySense s encoded on a page with
the given title. |
Modifier and Type | Method and Description |
---|---|
String |
WiktionaryFormatter.formatHeader(IWiktionarySense sense)
Returns the sense key, word, sense index, and definition of
the given word sense.
|
String |
WiktionaryFormatter.formatSense(IWiktionarySense sense)
Returns a string representation of the given word sense using separate
prefixed lines for each information type.
|
Modifier and Type | Class and Description |
---|---|
class |
WiktionarySense
Default implementation of the
IWiktionarySense interface. |
Modifier and Type | Method and Description |
---|---|
IWiktionarySense |
WiktionaryEdition.getSenseForId(long entryId,
int senseIdx) |
IWiktionarySense |
WiktionaryEdition.getSenseForId(long pageId,
int entryIdx,
int senseIdx) |
IWiktionarySense |
BerkeleyDBWiktionaryEdition.getSenseForKey(String key) |
IWiktionarySense |
WiktionaryCollection.getSenseForKey(String key,
ILanguage language) |
IWiktionarySense |
WiktionaryEdition.getSensesForWord(String word,
int entryIdx,
int senseIdx) |
Modifier and Type | Method and Description |
---|---|
IWiktionaryIterator<IWiktionarySense> |
AbstractWiktionary.getAllSenses() |
IWiktionaryIterator<IWiktionarySense> |
AbstractWiktionary.getAllSenses(boolean sortByTitle) |
IWiktionaryIterator<IWiktionarySense> |
AbstractWiktionary.getAllSenses(boolean sortByTitle,
boolean normalize) |
IWiktionaryIterator<IWiktionarySense> |
AbstractWiktionary.getAllSenses(IWiktionarySenseFilter filter) |
IWiktionaryIterator<IWiktionarySense> |
AbstractWiktionary.getAllSenses(IWiktionarySenseFilter filter,
boolean sortByTitle) |
IWiktionaryIterator<IWiktionarySense> |
WiktionaryEdition.getAllSenses(IWiktionarySenseFilter filter,
boolean sortByTitle,
boolean normalize) |
abstract IWiktionaryIterator<IWiktionarySense> |
AbstractWiktionary.getAllSenses(IWiktionarySenseFilter filter,
boolean sortByTitle,
boolean normalize) |
IWiktionaryIterator<IWiktionarySense> |
WiktionaryCollection.getAllSenses(IWiktionarySenseFilter filter,
boolean sortByTitle,
boolean normalize) |
List<? extends IWiktionarySense> |
WiktionaryEntry.getSenses() |
List<? extends IWiktionarySense> |
WiktionaryEntry.getSenses(boolean includeUnassignedSense) |
List<IWiktionarySense> |
AbstractWiktionary.getSensesForWord(String word) |
List<IWiktionarySense> |
AbstractWiktionary.getSensesForWord(String word,
boolean normalize) |
List<IWiktionarySense> |
WiktionaryEdition.getSensesForWord(String word,
int entryIdx) |
List<IWiktionarySense> |
AbstractWiktionary.getSensesForWord(String word,
IWiktionarySenseFilter filter) |
List<IWiktionarySense> |
WiktionaryEdition.getSensesForWord(String word,
IWiktionarySenseFilter filter,
boolean normalize) |
abstract List<IWiktionarySense> |
AbstractWiktionary.getSensesForWord(String word,
IWiktionarySenseFilter filter,
boolean normalize) |
List<IWiktionarySense> |
WiktionaryCollection.getSensesForWord(String word,
IWiktionarySenseFilter filter,
boolean normalize) |
Constructor and Description |
---|
WiktionarySenseProxy(IWiktionarySense sense)
Instanciates an sense proxy to the given referenced sense.
|
Modifier and Type | Method and Description |
---|---|
boolean |
WiktionarySenseFilter.accept(IWiktionarySense sense) |
boolean |
IWiktionarySenseFilter.accept(IWiktionarySense sense)
Return
true if the given sense should be accepted or
false if it should be filtered out. |
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.