|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectnet.java.sen.filter.stream.CompoundWordFilter
public class CompoundWordFilter
A Filter that replaces a single Token with one or more
alternative Tokens. Can be used, for instance, to split
compound verbs or nouns into their constituent parts
| コンストラクタの概要 | |
|---|---|
CompoundWordFilter(java.lang.String compoundFile)
Creates a CompoundWordFilter from the given file |
|
| メソッドの概要 | |
|---|---|
java.util.List<Token> |
postProcess(java.util.List<Token> tokens)
Post-processes analysed tokens |
void |
preProcess(Sentence sentence)
Pre-processes a sentence |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public CompoundWordFilter(java.lang.String compoundFile)
compoundFile - The compiled compound file| メソッドの詳細 |
|---|
public void preProcess(Sentence sentence)
StreamFilter の記述:
StreamFilter 内の preProcesssentence - The sentence be pre-processedpublic java.util.List<Token> postProcess(java.util.List<Token> tokens)
StreamFilter の記述:
StreamFilter 内の postProcesstokens - The analysed tokens
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||