com.aliasi.corpus
Interface TextHandler
- All Superinterfaces:
- Handler
- All Known Implementing Classes:
- NGramProcessLM, TfIdfDistance, TokenizedLM, TrainSpellChecker
public interface TextHandler
- extends Handler
The TextHandler interface specifies a single method
for operating on a slice of characters. The typical usage of a
text handler is as a visitor whose handle method is invoked as a
callback by a data parser, such as an implementation of Parser.
- Since:
- LingPipe2.0
- Version:
- 2.0
- Author:
- Bob Carpenter
|
Method Summary |
void |
handle(char[] cs,
int start,
int length)
Handles the specified character slice. |
handle
void handle(char[] cs,
int start,
int length)
- Handles the specified character slice.
- Parameters:
cs - Underlying array of characters.start - First character in slice.length - Number of characters in slice.