public static class TemplateParser.EtymologyTemplateHandler extends Object implements TemplateParser.ITemplateHandler
TemplateParser.ITemplateHandler
for parsing etymology
information in Wiktionary.Constructor and Description |
---|
EtymologyTemplateHandler() |
Modifier and Type | Method and Description |
---|---|
String |
handle(TemplateParser.Template template)
Invoked by the
TemplateParser for every template that occurs
in a text. |
public String handle(TemplateParser.Template template)
TemplateParser.ITemplateHandler
TemplateParser
for every template that occurs
in a text. The parser replaces the template by the result of this
method. If null
is returned, no substitution is made,
but the original template string remains in the text.handle
in interface TemplateParser.ITemplateHandler
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.