T - The type of the analysis resultpublic abstract class TwitterPreprocessingMode<T> extends Object
| Constructor and Description |
|---|
TwitterPreprocessingMode() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getAnalysisKey() |
abstract T |
process(USMFStatus twitterStatus)
Alters the twitter status in place with the analysis that is required to
be performed
|
RDFAnalysisProvider |
rdfAnalysisProvider() |
static <Q> Q |
results(USMFStatus status,
TwitterPreprocessingMode<Q> mode)
Given a twitter status, attempts to extract the analysis for this mode.
|
public TwitterPreprocessingMode()
public abstract T process(USMFStatus twitterStatus)
twitterStatus - public RDFAnalysisProvider rdfAnalysisProvider()
public static <Q> Q results(USMFStatus status, TwitterPreprocessingMode<Q> mode) throws Exception
Q - status - the twitter status to be analysedmode - the mode to use if the analysis does no exist in the tweetExceptionpublic abstract String getAnalysisKey()