com.aliasi.corpus
Interface TextHandler

All Superinterfaces:
Handler
All Known Implementing Classes:
NGramBoundaryLM, NGramProcessLM, TfIdfDistance, TokenizedLM, TrainSpellChecker

Deprecated. Use ObjectHandler with generic type CharSequence instead.

@Deprecated
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:
3.9.1
Author:
Bob Carpenter

Method Summary
 void handle(char[] cs, int start, int length)
          Deprecated. Handles the specified character slice.
 

Method Detail

handle

void handle(char[] cs,
            int start,
            int length)
Deprecated. 
Handles the specified character slice.

Parameters:
cs - Underlying array of characters.
start - First character in slice.
length - Number of characters in slice.