de.tudarmstadt.ukp.jwktl.parser.de.components
Class DEEntryLinkHandler
java.lang.Object
de.tudarmstadt.ukp.jwktl.parser.components.BlockHandler
de.tudarmstadt.ukp.jwktl.parser.de.components.DEBlockHandler
de.tudarmstadt.ukp.jwktl.parser.de.components.DEEntryLinkHandler
- All Implemented Interfaces:
- IBlockHandler
public class DEEntryLinkHandler
- extends DEBlockHandler
Parser component for extracting entry links from the German Wiktionary.
Entry links are defined to refer to the information of another dictionary
article (e.g., for alternative spellings).
- Author:
- Christian M. Meyer
Fields inherited from class de.tudarmstadt.ukp.jwktl.parser.components.BlockHandler |
labels |
Method Summary |
boolean |
canHandle(String blockHeader)
Return true if the handler requests to process the article
constituent starting at the given line of text. |
boolean |
processHead(String textLine,
ParsingContext context)
If the handler requested to process this constituent, this hotspot
will be called for processing the section header of this
article constituent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entryLink
protected String entryLink
entryLinkType
protected String entryLinkType
DEEntryLinkHandler
public DEEntryLinkHandler()
- Initalizes the handler.
canHandle
public boolean canHandle(String blockHeader)
- Description copied from interface:
IBlockHandler
- Return
true
if the handler requests to process the article
constituent starting at the given line of text.
- Specified by:
canHandle
in interface IBlockHandler
- Overrides:
canHandle
in class BlockHandler
processHead
public boolean processHead(String textLine,
ParsingContext context)
- Description copied from interface:
IBlockHandler
- If the handler requested to process this constituent, this hotspot
will be called for processing the section header of this
article constituent. Return
true
if the handler
requests to handle also the body of this constituent.
- Specified by:
processHead
in interface IBlockHandler
- Overrides:
processHead
in class BlockHandler
Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.