net.java.sen.filter
インタフェース StreamFilter

既知の実装クラスの一覧:
CommentFilter, CompositeTokenFilter, CompoundWordFilter

public interface StreamFilter

Represents a Node filter capable of both pre- and post-processing. Filters are applied as follows:


メソッドの概要
 java.util.List<Token> postProcess(java.util.List<Token> tokens)
          Post-processes analysed tokens
 void preProcess(Sentence sentence)
          Pre-processes a sentence
 

メソッドの詳細

preProcess

void preProcess(Sentence sentence)
Pre-processes a sentence

パラメータ:
sentence - The sentence be pre-processed

postProcess

java.util.List<Token> postProcess(java.util.List<Token> tokens)
Post-processes analysed tokens

パラメータ:
tokens - The analysed tokens
戻り値:
The post-processed tokens


Copyright ? 2008. All Rights Reserved.