de.tudarmstadt.ukp.jwktl.api.util
Class TemplateParser.EtymologyTemplateHandler
java.lang.Object
de.tudarmstadt.ukp.jwktl.api.util.TemplateParser.EtymologyTemplateHandler
- All Implemented Interfaces:
- TemplateParser.ITemplateHandler
- Enclosing class:
- TemplateParser
public static class TemplateParser.EtymologyTemplateHandler
- extends Object
- implements TemplateParser.ITemplateHandler
Implementation of an TemplateParser.ITemplateHandler
for parsing etymology
information in Wiktionary.
- Author:
- Christian M. Meyer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateParser.EtymologyTemplateHandler
public TemplateParser.EtymologyTemplateHandler()
handle
public String handle(TemplateParser.Template template)
- Description copied from interface:
TemplateParser.ITemplateHandler
- Invoked by the
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.
- Specified by:
handle
in interface TemplateParser.ITemplateHandler
Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.