Interface TextTerms
- All Known Implementing Classes:
SimpleText
public interface TextTerms
The terms in a text.
-
Method Summary
-
Method Details
-
size
int size()Returns the number of words.- Returns:
- the number of words.
-
words
-
unique
-
tf
Returns the term frequency.- Parameters:
term- the term.- Returns:
- the term frequency.
-
maxtf
int maxtf()Returns the maximum term frequency over all terms in the document.- Returns:
- the maximum term frequency.
-