de.tudarmstadt.ukp.jwktl.parser.de
Class DEWiktionaryEntryParser
java.lang.Object
de.tudarmstadt.ukp.jwktl.parser.WiktionaryEntryParser
de.tudarmstadt.ukp.jwktl.parser.de.DEWiktionaryEntryParser
- All Implemented Interfaces:
- IWiktionaryEntryParser
public class DEWiktionaryEntryParser
- extends WiktionaryEntryParser
An implementation of the IWiktionaryEntryParser
interface for
parsing the contents of article pages from the German Wiktionary.
- Author:
- Christian M. Meyer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEWiktionaryEntryParser
public DEWiktionaryEntryParser()
- Initializes the German entry parser. That is, the language and the
redirection pattern is defined, and the handlers for extracting
the information from the article constituents are registered.
createParsingContext
protected ParsingContext createParsingContext(WiktionaryPage page)
- Specified by:
createParsingContext
in class WiktionaryEntryParser
isStartOfBlock
protected boolean isStartOfBlock(String line)
- Checks if it is start of new section. Symbols are =, {{, [[ or
'''[section]'''.
- Specified by:
isStartOfBlock
in class WiktionaryEntryParser
Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.