|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Analyzer
The Analyzer
interface is responsible for analyzing part of the
document.
Some analyzers that implement this interface are:
SenteceDetector Tokenizer NameFinder ContractionFinder POSTagger
The SentenceDetector, for example, looks for all sentences in a text and keeps them separately in a list.
Method Summary | |
---|---|
void |
analyze(Document document)
Analyzes part of a text or a word. |
Method Detail |
---|
void analyze(Document document)
For example, it can search all the sentences in the text or tag every word in a sentence.
document
- contains the whole text given by the user. After an analysis it can store the text's sentences, words or its tags.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |