|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.java.sen.filter.stream.CommentFilter
public class CommentFilter
A filter to ignore delimited comments in the input sentence
フィールドの概要 | |
---|---|
protected java.util.List<net.java.sen.filter.stream.CommentFilter.Rule> |
ruleList
The list of rules defining the start and end of comments, and the part-of-speech code to be used in the Token s
used to replace them |
コンストラクタの概要 | |
---|---|
CommentFilter()
|
メソッドの概要 | |
---|---|
java.util.List<Token> |
postProcess(java.util.List<Token> tokens)
Post-processes analysed tokens |
void |
preProcess(Sentence sentence)
Pre-processes a sentence |
void |
readRules(java.io.BufferedReader reader)
Reads the rules to apply as space-delimited text |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected java.util.List<net.java.sen.filter.stream.CommentFilter.Rule> ruleList
Token
s
used to replace them
コンストラクタの詳細 |
---|
public CommentFilter()
メソッドの詳細 |
---|
public void readRules(java.io.BufferedReader reader) throws java.io.IOException
reader
- The reader from which to read the rules
java.io.IOException
public void preProcess(Sentence sentence)
StreamFilter
の記述:
StreamFilter
内の preProcess
sentence
- The sentence be pre-processedpublic java.util.List<Token> postProcess(java.util.List<Token> tokens)
StreamFilter
の記述:
StreamFilter
内の postProcess
tokens
- The analysed tokens
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |