|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfki.lt.sdl.Modules
de.dfki.lt.sdl.sprout.SproutModules
de.dfki.lt.sdl.sprout.SproutModulesTextXml
public class SproutModulesTextXml
this abstract class extends SproutModules by defining the run() method and assuming that the input value is string that has to be analyzed
Field Summary |
---|
Fields inherited from class de.dfki.lt.sdl.sprout.SproutModules |
---|
annotationName, sprout |
Constructor Summary | |
---|---|
SproutModulesTextXml()
nothing to do here |
Method Summary | |
---|---|
void |
init(java.lang.String[] initArgs)
the init argument given to modules which inherit from SproutModules is interpreted to be the SProUT config filename |
java.lang.Object |
run(java.lang.Object input)
calls SProUT on the input text; output is an instance of class MatchWriterImpl |
Methods inherited from class de.dfki.lt.sdl.Modules |
---|
clear, getInput, getOutput, setInput, setOutput |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SproutModulesTextXml()
Method Detail |
---|
public void init(java.lang.String[] initArgs)
init
in interface IModule
init
in class SproutModules
public java.lang.Object run(java.lang.Object input)
run
in interface IModule
run
in class Modules
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |