Package smile.nlp
Class Bigram
java.lang.Object
smile.nlp.Bigram
- Direct Known Subclasses:
Bigram
Bigrams or digrams are groups of two words, and are very commonly used
as the basis for simple statistical analysis of text. They are a special
case of N-gram.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
w1
Immutable first word of bigram. -
w2
Immutable second word of bigram.
-
-
Constructor Details
-
Bigram
Constructor.- Parameters:
w1
- the first word of bigram.w2
- the second word of bigram.
-
-
Method Details