|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.indexing.tokenisation.Tokeniser org.terrier.indexing.tokenisation.IdentityTokeniser
public class IdentityTokeniser
A Tokeniser implementation that returns the input as is.
Field Summary |
---|
Fields inherited from class org.terrier.indexing.tokenisation.Tokeniser |
---|
EMPTY_STREAM |
Constructor Summary | |
---|---|
IdentityTokeniser()
|
Method Summary | |
---|---|
TokenStream |
tokenise(java.io.Reader reader)
Tokenises the text obtained from the specified reader. |
Methods inherited from class org.terrier.indexing.tokenisation.Tokeniser |
---|
getTokeniser, getTokens |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdentityTokeniser()
Method Detail |
---|
public TokenStream tokenise(java.io.Reader reader)
Tokeniser
tokenise
in class Tokeniser
reader
- Stream of text to be tokenised
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |