de.dfki.lt.hog.modules
Class ChasenModule
java.lang.Object
de.dfki.lt.hog.Module
de.dfki.lt.hog.modules.ChasenModule
public class ChasenModule
- extends Module
Module definition for ChaSen
Created 2004-06-04
Fields inherited from class de.dfki.lt.hog.Module |
CONFIG_SEARCH_PATH_PROP, LINE_SEPARATOR, MODULE_DEPTH_PROP, MODULE_LANGUAGE_PROP, MODULE_NAME_PROP, MODULE_ROOTELEMENT_PROP, moduleLog, NO, NONE, ROOT, YES |
Constructor Summary |
ChasenModule(java.util.Properties chasenModuleProps)
initialize ChaSen |
Method Summary |
static java.lang.String |
insertIDs(java.lang.String input)
insert unique ID attributes for each w element |
java.lang.String |
process(java.lang.String processString)
|
org.w3c.dom.Node |
processDOMTree(org.w3c.dom.Node domTree)
|
void |
shutdown()
This is the default shutdown method. |
Methods inherited from class de.dfki.lt.hog.Module |
getAbsolutOrRelativePath, getConfig, getFileProperty, getMoCoMan, getModuleDepth, getModuleLanguage, getModuleName, getModuleRootElement, getProperty, getProperty, init, searchConfigFile, searchConfigFile, setConfig, setMoCoMan, setModuleDepth, setModuleLanguage, setModuleName, setModuleRootElement, setProperty, suitable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
chasenIn
public java.io.BufferedWriter chasenIn
chasenOut
public java.io.BufferedReader chasenOut
ChasenModule
public ChasenModule(java.util.Properties chasenModuleProps)
- initialize ChaSen
shutdown
public void shutdown()
- Description copied from class:
Module
- This is the default shutdown method. If any special action is
needed for shutdown, overide this method in subclass.
- Overrides:
shutdown
in class Module
process
public java.lang.String process(java.lang.String processString)
- Specified by:
process
in class Module
insertIDs
public static java.lang.String insertIDs(java.lang.String input)
- insert unique ID attributes for each w element
processDOMTree
public org.w3c.dom.Node processDOMTree(org.w3c.dom.Node domTree)
- Specified by:
processDOMTree
in class Module