de.tudarmstadt.ukp.jwktl.api.util
Interface TemplateParser.ITemplateHandler
- All Known Implementing Classes:
- ENWordFormHandler, TemplateParser.EtymologyTemplateHandler
- Enclosing class:
- TemplateParser
public static interface TemplateParser.ITemplateHandler
Interface that is expected by the TemplateParser
. The template
parser invokes an implementation of this interface to decide what is
to be done with a template.
- Author:
- Christian M. Meyer
handle
String handle(TemplateParser.Template template)
- 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.
Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.