public class AnalyzedText extends Object
Modifier and Type | Field and Description |
---|---|
protected TextAnalyzer |
analyzer |
protected Object |
lengthCategory |
protected Map<Object,org.apache.commons.lang3.mutable.MutableInt> |
matchedKeywords |
protected String |
text |
protected Set<String> |
uniqueWords |
protected List<String> |
words |
Constructor and Description |
---|
AnalyzedText(TextAnalyzer analyzer,
String text)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
getLengthCategory() |
Map<Object,org.apache.commons.lang3.mutable.MutableInt> |
getMatchedKeywords() |
String |
getText() |
Set<String> |
getUniqueWords() |
List<String> |
getWords() |
String |
toString() |
protected TextAnalyzer analyzer
protected String text
protected Object lengthCategory
public AnalyzedText(TextAnalyzer analyzer, String text)
analyzer
- The analyzertext
- The text to be analyzedpublic String getText()
public List<String> getWords()
public Set<String> getUniqueWords()
public Object getLengthCategory()
public Map<Object,org.apache.commons.lang3.mutable.MutableInt> getMatchedKeywords()
Copyright © 2014. All Rights Reserved.