public class ENWiktionaryEntryParser extends WiktionaryEntryParser
IWiktionaryEntryParser interface for
parsing the contents of article pages from the English Wiktionary.COMMENT_PATTERN, entryId, handlers, IMAGE_PATTERN, language, redirectTemplate, REFERENCES_PATTERN| Constructor and Description |
|---|
ENWiktionaryEntryParser()
Initializes the English entry parser.
|
| Modifier and Type | Method and Description |
|---|---|
protected ParsingContext |
createParsingContext(WiktionaryPage page) |
protected boolean |
isStartOfBlock(String line)
Checks if it is start of new section.
|
checkForRedirect, getLanguage, parse, register, selectHandlerpublic ENWiktionaryEntryParser()
protected ParsingContext createParsingContext(WiktionaryPage page)
createParsingContext in class WiktionaryEntryParserprotected boolean isStartOfBlock(String line)
isStartOfBlock in class WiktionaryEntryParserCopyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.