Modifier and Type | Method and Description |
---|---|
USMFStatus |
HadoopTwitterTokenToolOptions.readStatus(String svalue) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
TwitterPreprocessingFilter.filter(USMFStatus twitterStatus)
Whether the status should be filtered (i.e.
|
boolean |
GrepFilter.test(USMFStatus twitterStatus) |
boolean |
IsReplyFilter.test(USMFStatus twitterStatus) |
boolean |
DateFilter.test(USMFStatus twitterStatus) |
boolean |
GeoFilter.test(USMFStatus twitterStatus) |
boolean |
RandomFilter.test(USMFStatus twitterStatus) |
boolean |
LanguageFilter.test(USMFStatus twitterStatus) |
Modifier and Type | Method and Description |
---|---|
List<String> |
StopwordMode.process(USMFStatus twitterStatus) |
Map<String,List<String>> |
TokeniseMode.process(USMFStatus twitterStatus) |
Map<String,List<String>> |
NERMode.process(USMFStatus twitterStatus) |
Map<String,Object> |
LanguageDetectionMode.process(USMFStatus twitterStatus) |
Map<String,Object> |
SentimentExtractionMode.process(USMFStatus twitterStatus) |
String |
CountryCodeMode.process(USMFStatus stat) |
List<String> |
StemmingMode.process(USMFStatus twitterStatus) |
abstract T |
TwitterPreprocessingMode.process(USMFStatus twitterStatus)
Alters the twitter status in place with the analysis that is required to
be performed
|
static <Q> Q |
TwitterPreprocessingMode.results(USMFStatus status,
TwitterPreprocessingMode<Q> mode)
Given a twitter status, attempts to extract the analysis for this mode.
|
Modifier and Type | Method and Description |
---|---|
TwitterStatusList<USMFStatus> |
TwitterPreprocessingToolOptions.getTwitterStatusList() |
Modifier and Type | Method and Description |
---|---|
GeneralJSON |
AbstractTwitterPreprocessingToolOptions.convertToOutputFormat(USMFStatus twitterStatus)
Provides the functionality to convert to the required output format as
specified by -ot
|
boolean |
AbstractTwitterPreprocessingToolOptions.postProcessesSkip(USMFStatus twitterStatus)
Check the internal postprocessing filters and say whether a given status
should be skipped
|
boolean |
AbstractTwitterPreprocessingToolOptions.preProcessesSkip(USMFStatus twitterStatus)
Check the internal preprocessing filters and say whether a given status
should be skipped
|
Modifier and Type | Method and Description |
---|---|
<T extends USMFStatus> |
USMFStatus.clone(Class<T> clazz)
Clones the tweet to the given class.
|
Modifier and Type | Method and Description |
---|---|
USMFStatus |
USMFStatus.clone() |
Modifier and Type | Method and Description |
---|---|
void |
GeneralJSONRDF.fillUSMF(USMFStatus status) |
abstract void |
GeneralJSON.fillUSMF(USMFStatus status)
This is the method that will be called by USMFStatus to fill itself with
the matching values from the extending class.
|
void |
GeneralJSONTwitter.fillUSMF(USMFStatus status) |
void |
USMFStatus.fillUSMF(USMFStatus status) |
void |
GeneralJSONRDF.fromUSMF(USMFStatus status) |
abstract void |
GeneralJSON.fromUSMF(USMFStatus status)
This is the method that will be called to allow this object
to fill itself from a USMF object.
|
void |
GeneralJSONTwitter.fromUSMF(USMFStatus status) |
void |
USMFStatus.fromUSMF(USMFStatus status) |
Modifier and Type | Class and Description |
---|---|
class |
FileTwitterStatusList<T extends USMFStatus> |
class |
MemoryTwitterStatusList<T extends USMFStatus>
A List of
USMFStatus instances held in memory (backed by an ArrayList .) |
class |
StreamTwitterStatusList<T extends USMFStatus>
Converts an input stream into a list
USMFStatus instances using various methods. |
interface |
TwitterStatusList<T extends USMFStatus> |
Modifier and Type | Method and Description |
---|---|
static <T extends USMFStatus> |
StreamTwitterStatusList.read(BufferedInputStream stream,
int nTweets,
Class<? extends GeneralJSON> inputClass,
Class<T> instanceClass,
String charset)
Construct a new StreamTwitterStatusList from the given input stream.
|
static <T extends USMFStatus> |
StreamTwitterStatusList.read(BufferedInputStream stream,
int nTweets,
Class<T> clz)
Construct a new StreamTwitterStatusList from the given input stream.
|
static <T extends USMFStatus> |
MemoryTwitterStatusList.read(BufferedInputStream is,
int nTweets,
Class<T> clazz,
Class<? extends GeneralJSON> readClass) |
static <T extends USMFStatus> |
StreamTwitterStatusList.read(BufferedInputStream stream,
int nTweets,
Class<T> clazz,
String charset)
Construct a new StreamTwitterStatusList from the given input stream.
|
static <T extends USMFStatus> |
MemoryTwitterStatusList.read(File f,
Class<T> clazz) |
static <T extends USMFStatus> |
StreamTwitterStatusList.read(InputStream stream,
int nTweets,
Class<? extends GeneralJSON> inputClass,
Class<T> instanceClass) |
static <T extends USMFStatus> |
StreamTwitterStatusList.read(InputStream stream,
int nTweets,
Class<T> clazz)
Construct a new StreamTwitterStatusList from the given input stream.
|
static <T extends USMFStatus> |
MemoryTwitterStatusList.read(InputStream is,
int nStatus,
Class<T> clazz,
Class<? extends GeneralJSON> readClass) |
Modifier and Type | Method and Description |
---|---|
static MemoryTwitterStatusList<USMFStatus> |
MemoryTwitterStatusList.read(File f) |
static StreamTwitterStatusList<USMFStatus> |
StreamTwitterStatusList.read(InputStream stream)
Construct a new StreamTwitterStatusList from the given input stream.
|
static MemoryTwitterStatusList<USMFStatus> |
MemoryTwitterStatusList.read(InputStream is,
int nStatus) |
static StreamTwitterStatusList<USMFStatus> |
StreamTwitterStatusList.read(InputStream stream,
int nTweets)
Construct a new StreamTwitterStatusList from the given input stream.
|
static StreamTwitterStatusList<USMFStatus> |
StreamTwitterStatusList.read(InputStream stream,
int nTweets,
String charset)
Construct a new StreamTwitterStatusList from the given input stream.
|
static StreamTwitterStatusList<USMFStatus> |
StreamTwitterStatusList.read(InputStream stream,
String charset)
Construct a new StreamTwitterStatusList from the given input stream.
|
static FileTwitterStatusList<USMFStatus> |
FileTwitterStatusList.readUSMF(File f) |
static List<USMFStatus> |
FileTwitterStatusList.readUSMF(File f,
Class<? extends GeneralJSON> generalJSON) |
static FileTwitterStatusList<USMFStatus> |
FileTwitterStatusList.readUSMF(File f,
int size) |
static FileTwitterStatusList<USMFStatus> |
FileTwitterStatusList.readUSMF(File f,
int size,
String charset,
Class<? extends GeneralJSON> generalJSON) |
static FileTwitterStatusList<USMFStatus> |
FileTwitterStatusList.readUSMF(File f,
String charset) |
static FileTwitterStatusList<USMFStatus> |
FileTwitterStatusList.readUSMF(File f,
String charset,
Class<? extends GeneralJSON> generalJSON) |
static FileTwitterStatusList<USMFStatus> |
FileTwitterStatusList.readUSMF(File f,
String charset,
int size) |
static StreamTwitterStatusList<USMFStatus> |
StreamTwitterStatusList.readUSMF(InputStream stream,
Class<? extends GeneralJSON> generalJSON) |
static StreamTwitterStatusList<USMFStatus> |
StreamTwitterStatusList.readUSMF(InputStream stream,
Class<? extends GeneralJSON> generalJSON,
String charset) |
static StreamTwitterStatusList<USMFStatus> |
StreamTwitterStatusList.readUSMF(InputStream stream,
int nTweets,
Class<? extends GeneralJSON> generalJSON) |
static StreamTwitterStatusList<USMFStatus> |
StreamTwitterStatusList.readUSMF(InputStream stream,
int nTweets,
Class<? extends GeneralJSON> generalJSON,
String charset) |
Constructor and Description |
---|
ConvertUSMFList(TwitterStatusList<? extends USMFStatus> list,
Class<? extends GeneralJSON> convertType) |
Modifier and Type | Class and Description |
---|---|
class |
TrueLanguageTwitterStatus
A twitter status with a true language as ascribed by some users
|