Modifier and Type | Field and Description |
---|---|
protected com.sleepycat.persist.PrimaryIndex<Long,WiktionaryPage> |
BerkeleyDBWiktionaryEdition.pageById |
protected com.sleepycat.persist.SecondaryIndex<String,Long,WiktionaryPage> |
BerkeleyDBWiktionaryEdition.pageByNormalizedTitle |
protected com.sleepycat.persist.SecondaryIndex<String,Long,WiktionaryPage> |
BerkeleyDBWiktionaryEdition.pageByTitle |
Modifier and Type | Method and Description |
---|---|
WiktionaryPage |
BerkeleyDBWiktionaryEdition.getPageForId(long id) |
WiktionaryPage |
BerkeleyDBWiktionaryEdition.getPageForWord(String word) |
protected WiktionaryPage |
BerkeleyDBWiktionaryEdition.loadPage(WiktionaryPage page,
IWiktionaryPageFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
WiktionaryEntry.init(WiktionaryPage page)
Initialize the entry using the given Wiktionary page.
|
protected WiktionaryPage |
BerkeleyDBWiktionaryEdition.loadPage(WiktionaryPage page,
IWiktionaryPageFilter filter) |
Modifier and Type | Class and Description |
---|---|
class |
WiktionaryPageParser<PageType extends WiktionaryPage>
Abstract base class for implementations of the
IWiktionaryPageParser interface. |
Modifier and Type | Field and Description |
---|---|
protected PageType |
WiktionaryPageParser.page |
Modifier and Type | Method and Description |
---|---|
protected WiktionaryPage |
WiktionaryArticleParser.createPage() |
WiktionaryPage |
IWritableWiktionaryEdition.getPageForId(long id) |
WiktionaryPage |
IWritableWiktionaryEdition.getPageForWord(String word) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
WiktionaryEntryParser.checkForRedirect(WiktionaryPage page,
String text)
Check if the specified text is a redirect and set the redirect target of
the given Wiktionary page.
|
protected abstract ParsingContext |
WiktionaryEntryParser.createParsingContext(WiktionaryPage page) |
void |
WiktionaryEntryParser.parse(WiktionaryPage page,
String text) |
void |
IWiktionaryEntryParser.parse(WiktionaryPage page,
String text)
Creates Wiktionary word entry instances from the provided text, and
adds them to the given article page.
|
void |
IWritableWiktionaryEdition.savePage(WiktionaryPage page)
Adds the given page to the Wiktionary edition (e.g., storing it
in a database).
|
void |
WritableBerkeleyDBWiktionaryEdition.savePage(WiktionaryPage page)
Adds the given Wiktionary page to the database.
|
Modifier and Type | Method and Description |
---|---|
protected ParsingContext |
DEWiktionaryEntryParser.createParsingContext(WiktionaryPage page) |
Modifier and Type | Method and Description |
---|---|
protected ParsingContext |
ENWiktionaryEntryParser.createParsingContext(WiktionaryPage page) |
Modifier and Type | Method and Description |
---|---|
protected ParsingContext |
RUWiktionaryEntryParser.createParsingContext(WiktionaryPage page) |
void |
RUWiktionaryEntryParser.parse(WiktionaryPage page,
String text) |
Modifier and Type | Field and Description |
---|---|
protected WiktionaryPage |
ParsingContext.page |
Modifier and Type | Method and Description |
---|---|
WiktionaryPage |
ParsingContext.getPage()
Returns the current
WiktionaryPage that is being parsed. |
Constructor and Description |
---|
ParsingContext(WiktionaryPage page)
Create a new parsing context for the given Wiktionary page.
|
ParsingContext(WiktionaryPage page,
EntryFactory entryFactory)
Create a new parsing context for the given Wiktionary page and
use the specified entry factory to construct lexical entries.
|
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.