gr.demokritos.iit.jinsect.events
Class TextSpectralSpellPreprocessor

java.lang.Object
  extended by gr.demokritos.iit.jinsect.events.TextPreprocessorAdapter
      extended by gr.demokritos.iit.jinsect.events.TextSpectralSpellPreprocessor
All Implemented Interfaces:
TextPreprocessorListener

public class TextSpectralSpellPreprocessor
extends TextPreprocessorAdapter


Field Summary
protected  java.lang.String[] Args
           
protected  java.util.Hashtable hFoundWords
           
protected  java.util.concurrent.Semaphore sWordMapSem
           
protected  java.util.TreeMap tWords
           
 
Constructor Summary
TextSpectralSpellPreprocessor(java.lang.String sArgs)
          Creates a new instance of TextSpectralSpellPreprocessor
 
Method Summary
 void addDocument(java.lang.String sDoc)
           
 java.lang.String preprocess(java.lang.String sStr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hFoundWords

protected java.util.Hashtable hFoundWords

tWords

protected java.util.TreeMap tWords

Args

protected java.lang.String[] Args

sWordMapSem

protected java.util.concurrent.Semaphore sWordMapSem
Constructor Detail

TextSpectralSpellPreprocessor

public TextSpectralSpellPreprocessor(java.lang.String sArgs)
Creates a new instance of TextSpectralSpellPreprocessor

Method Detail

preprocess

public java.lang.String preprocess(java.lang.String sStr)
Specified by:
preprocess in interface TextPreprocessorListener
Overrides:
preprocess in class TextPreprocessorAdapter

addDocument

public void addDocument(java.lang.String sDoc)