public class DEWordLanguageHandler extends DEBlockHandler
Modifier and Type | Field and Description |
---|---|
protected ILanguage |
language |
protected String |
lemma |
labels
Constructor and Description |
---|
DEWordLanguageHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(String blockHeader)
Determine if the text line contains the language pattern.
|
void |
fillContent(ParsingContext context)
Store the word and its language in the parsing context.
|
getLabels, processBody, processHead
public boolean canHandle(String blockHeader)
canHandle
in interface IBlockHandler
canHandle
in class BlockHandler
public void fillContent(ParsingContext context)
fillContent
in interface IBlockHandler
fillContent
in class BlockHandler
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.