Constructor and Description |
---|
USMFStatusBagOfWords(TwitterPreprocessingMode<List<String>> mode) |
USMFStatusBagOfWords(TwitterPreprocessingMode<List<String>> mode,
NameStrategy userNameStrategy) |
Modifier and Type | Method and Description |
---|---|
Map<String,Map<String,Double>> |
apply(List<USMFStatus> in)
Apply the function to the input argument and return the result.
|
public USMFStatusBagOfWords(TwitterPreprocessingMode<List<String>> mode)
mode
- the mode from which to grab wordspublic USMFStatusBagOfWords(TwitterPreprocessingMode<List<String>> mode, NameStrategy userNameStrategy)
mode
- the mode from which to grab wordsuserNameStrategy
-