Modifier and Type | Method and Description |
---|---|
ILanguage |
IWiktionaryPage.getEntryLanguage()
Returns the language that this page is written in.
|
ILanguage |
IWiktionaryTranslation.getLanguage() |
ILanguage |
IWiktionaryEdition.getLanguage()
Returns the language of the Wiktionary edition, which is equivalent
to the entry language of the contained entries.
|
ILanguage |
IWiktionaryEntry.getWordLanguage()
Returns the language of this lexical entry.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
WiktionaryFormatter.formatLanguage(ILanguage language) |
String |
WiktionaryFormatter.formatPage(IWiktionaryPage page,
ILanguage... languages)
Returns a string representation of the given page using separate
prefixed lines for each information type.
|
IWiktionaryPage |
IWiktionaryCollection.getPageForId(long id,
ILanguage entryLanguage)
Returns the page of the specified Wiktionary language edition with
the given unique id.
|
IWiktionarySense |
IWiktionaryCollection.getSenseForKey(String key,
ILanguage language)
Returns the word sense with the given (edition-specific) unique id.
|
List<IWiktionaryTranslation> |
IWiktionaryEntry.getTranslations(ILanguage language)
Returns a list containing all translations of the entry's senses
(including the unassigned sense) to the given language.
|
List<IWiktionaryTranslation> |
IWiktionarySense.getTranslations(ILanguage language)
Returns the list of translations into the given language.
|
Modifier and Type | Field and Description |
---|---|
protected ILanguage |
WiktionaryPage.entryLanguage |
protected ILanguage |
WiktionaryTranslation.language |
protected ILanguage |
BerkeleyDBWiktionaryEdition.language |
protected ILanguage |
WiktionaryEntry.wordLanguage |
Modifier and Type | Method and Description |
---|---|
ILanguage |
WiktionaryPage.getEntryLanguage() |
ILanguage |
WiktionaryTranslation.getLanguage() |
ILanguage |
BerkeleyDBWiktionaryEdition.getLanguage() |
ILanguage |
WiktionaryEntry.getWordLanguage() |
Modifier and Type | Method and Description |
---|---|
IWiktionaryPage |
WiktionaryCollection.getPageForId(long id,
ILanguage entryLanguage) |
IWiktionarySense |
WiktionaryCollection.getSenseForKey(String key,
ILanguage language) |
List<IWiktionaryTranslation> |
WiktionarySense.getTranslations(ILanguage language) |
List<IWiktionaryTranslation> |
WiktionaryEntry.getTranslations(ILanguage language) |
void |
WiktionaryPage.setEntryLanguage(ILanguage entryLanguage)
Assigns the given entry language to this page.
|
void |
WiktionaryEntry.setWordLanguage(ILanguage wordLanguage)
Assigns the given word language.
|
Constructor and Description |
---|
WiktionaryTranslation(ILanguage language,
String translation)
Creates a new translation for the given language and translation
string.
|
Modifier and Type | Field and Description |
---|---|
protected Set<ILanguage> |
WiktionaryPageFilter.allowedEntryLanguages |
protected Set<ILanguage> |
WiktionaryEntryFilter.allowedWordLanguages |
Modifier and Type | Method and Description |
---|---|
Iterable<ILanguage> |
WiktionaryPageFilter.getAllowedEntryLanguages()
Return an iterable of the list of all allowed entry languages.
|
Iterable<ILanguage> |
WiktionaryEntryFilter.getAllowedWordLanguages()
Return an iterable of the list of all allowed word languages.
|
Modifier and Type | Method and Description |
---|---|
void |
WiktionaryPageFilter.setAllowedEntryLanguages(ILanguage... allowedEntryLanguages)
Define the set of entry languages which are allowed for a
IWiktionaryPage . |
void |
WiktionaryEntryFilter.setAllowedWordLanguages(ILanguage... allowedWordLanguages)
Define the set of word languages which are allowed for a
IWiktionaryEntry . |
Modifier and Type | Method and Description |
---|---|
void |
WiktionaryPageFilter.setAllowedEntryLanguages(Collection<ILanguage> allowedEntryLanguages)
Define the set of entry languages which are allowed for a
IWiktionaryPage . |
void |
WiktionaryEntryFilter.setAllowedWordLanguages(Collection<ILanguage> allowedWordLanguages)
Define the set of word languages which are allowed for a
IWiktionaryEntry . |
Constructor and Description |
---|
WiktionaryEntryFilter(Set<ILanguage> allowedEntryLanguages,
Set<ILanguage> allowedWordLanguages,
Set<PartOfSpeech> allowedPartsOfSpeech)
Shorthand for setting the allowed entry language, word language,
and parts of speech.
|
WiktionaryEntryFilter(Set<ILanguage> allowedEntryLanguages,
Set<ILanguage> allowedWordLanguages,
Set<PartOfSpeech> allowedPartsOfSpeech)
Shorthand for setting the allowed entry language, word language,
and parts of speech.
|
Modifier and Type | Class and Description |
---|---|
class |
Language
Implementation of the
ILanguage interface. |
Modifier and Type | Field and Description |
---|---|
static ILanguage |
Language.ENGLISH
The English language.
|
static ILanguage |
Language.GERMAN
The German language.
|
static ILanguage |
Language.RUSSIAN
The Russian language.
|
Modifier and Type | Method and Description |
---|---|
static ILanguage |
Language.findByCode(String code)
Find the language with the given code.
|
static ILanguage |
Language.findByName(String name)
Find the language with the given name.
|
static ILanguage |
Language.get(String code)
Returns the language with the given internal code.
|
Modifier and Type | Method and Description |
---|---|
int |
Language.compareTo(ILanguage other) |
static boolean |
Language.equals(ILanguage language1,
ILanguage language2)
Tests if the specified languages are equal.
|
Modifier and Type | Field and Description |
---|---|
protected ILanguage |
WiktionaryEntryParser.language |
Modifier and Type | Method and Description |
---|---|
ILanguage |
WiktionaryEntryParser.getLanguage()
Returns the language of this parser's Wiktionary edition.
|
protected static ILanguage |
WiktionaryDumpParser.resolveLanguage(String baseURL) |
Modifier and Type | Method and Description |
---|---|
void |
IWritableWiktionaryEdition.setLanguage(ILanguage language)
Assigns the given language to the Wiktionary edition.
|
void |
WritableBerkeleyDBWiktionaryEdition.setLanguage(ILanguage language) |
Constructor and Description |
---|
WiktionaryEntryParser(ILanguage language,
String redirectName)
Instanciates the entry parser for the given language.
|
Modifier and Type | Field and Description |
---|---|
protected ILanguage |
DEWordLanguageHandler.language |
Modifier and Type | Field and Description |
---|---|
protected ILanguage |
ENWordLanguageHandler.language |
Modifier and Type | Method and Description |
---|---|
ILanguage |
WikokitToJWKTL.convertLang(LanguageType wikoLang)
Converts a Wikokit language to JWKTL.
|
Modifier and Type | Field and Description |
---|---|
protected ILanguage |
DumpInfo.dumpLanguage |
protected ILanguage |
ParsingContext.language |
Modifier and Type | Method and Description |
---|---|
ILanguage |
IDumpInfo.getDumpLanguage()
Returns the language of the Wiktionary edition this dump file
belongs to.
|
ILanguage |
DumpInfo.getDumpLanguage() |
ILanguage |
ParsingContext.getLanguage()
Returns the
ILanguage of the current
IWiktionaryEntry . |
Modifier and Type | Method and Description |
---|---|
void |
DumpInfo.setDumpLanguage(ILanguage dumpLanguage)
Assign the specified dump language.
|
void |
ParsingContext.setLanguage(ILanguage language)
Save the specified language in the context object.
|
Modifier and Type | Method and Description |
---|---|
ILanguage |
WikisaurusEntry.getLanguage()
Returns the word language.
|
Constructor and Description |
---|
WikisaurusEntry(String title,
PartOfSpeech partOfSpeech,
ILanguage language,
String senseDefinition)
Instanciates a new entry with the given title, part of speech,
language, and sense definition (optional)
|
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.