analyzer package is responsible for analyzing a given text, identifying its sentences, words and classifying them.See: Description
| Interface | Description |
|---|---|
| Analyzer |
The
Analyzer interface is responsible for analyzing part of the
document. |
| ComponentFactoryI |
Creates the analyzers using the OpenNLP components.
|
| Class | Description |
|---|---|
| Chunker | |
| ComponentFactory | |
| ContractionFinder |
The
ContractionFinder class searches for contractions in a given
sentence and then expands them to their primitive form. |
| Featurizer | |
| HeadFinder | |
| Lemmatizer | |
| NameFinder |
The
NameFinder class searches for subsequent proper nouns in the
document sentences and gathers each of these sets in one word. |
| Pipe |
The
Pipe class contains a sequence of analyzers. |
| POSTagger |
The
POSTagger class analyzes each token of a sentence and
classifies it grammatically. |
| SentenceDetector |
The
SentenceDetector class gets all the sentences in the document text and store them in a list of sentences. |
| ShallowParser | |
| Tokenizer |
The
Tokenizer class separates every word in a given sentence and allocates them in a
list of tokens. |
| Exception | Description |
|---|---|
| InitializationException |
The
InitializationException class is responsible for throwing
the exceptions, while opening files and locating streams, and then for showing its corresponding error messages. |
analyzer package is responsible for analyzing a given text, identifying its sentences, words and classifying them.Copyright © 2012–2017 CoGrOO. All rights reserved.