de.tudarmstadt.ukp.jwktl.api.util
Class TemplateParser.EtymologyTemplateHandler

java.lang.Object
  extended by 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

Constructor Summary
TemplateParser.EtymologyTemplateHandler()
           
 
Method Summary
 String handle(TemplateParser.Template template)
          Invoked by the TemplateParser for every template that occurs in a text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateParser.EtymologyTemplateHandler

public TemplateParser.EtymologyTemplateHandler()
Method Detail

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.