public class DESenseExampleHandler extends DESenseIndexedBlockHandler<IWiktionaryExample>
INDEX_PATTERN, indexedInformation, indexSet
labels
Constructor and Description |
---|
DESenseExampleHandler()
Initializes the block handler for parsing all sections starting with
one of the specified labels.
|
Modifier and Type | Method and Description |
---|---|
protected List<IWiktionaryExample> |
extract(int index,
String text) |
protected void |
updatePosEntry(WiktionaryEntry posEntry,
IWiktionaryExample example) |
protected void |
updateSense(WiktionarySense sense,
IWiktionaryExample example) |
addIndexedLine, appendIndexedLine, fillContent, processBody, processHead
canHandle, getLabels
public DESenseExampleHandler()
protected List<IWiktionaryExample> extract(int index, String text)
extract
in class DESenseIndexedBlockHandler<IWiktionaryExample>
protected void updateSense(WiktionarySense sense, IWiktionaryExample example)
updateSense
in class DESenseIndexedBlockHandler<IWiktionaryExample>
protected void updatePosEntry(WiktionaryEntry posEntry, IWiktionaryExample example)
updatePosEntry
in class DESenseIndexedBlockHandler<IWiktionaryExample>
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.