Constructor and Description |
---|
StanfordCoreNLPAnalyzer()
Constructs a new analyzer.
|
public StanfordCoreNLPAnalyzer()
public Text analyze(java.lang.String text, boolean isOneSentence)
Analyzer
Text
representation. This analysis
consists of segmenting the input text into sentences, tokenizing it,
creating its parse tree and identifying entities.analyze
in interface Analyzer
text
- the text to analyze.isOneSentence
- whether the given text is a single sentence or not. If false
, the analyzer will try to segment the input text into sentences by itself, but it might still decide that it consists of a single sentence.Text
representation of the input text.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object