Package backend.nlp.extractor
Class SentimentFeatureExtractor
java.lang.Object
backend.nlp.extractor.SentimentFeatureExtractor
- All Implemented Interfaces:
LinguisticFeatureExtractor<ISentimentFeature>
public class SentimentFeatureExtractor
extends Object
implements LinguisticFeatureExtractor<ISentimentFeature>
- Author:
- Kai
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract(org.apache.uima.jcas.JCas jcas) Extract linguistic features from a JCas instance.
-
Constructor Details
-
SentimentFeatureExtractor
public SentimentFeatureExtractor()
-
-
Method Details
-
extract
Description copied from interface:LinguisticFeatureExtractorExtract linguistic features from a JCas instance.- Specified by:
extractin interfaceLinguisticFeatureExtractor<ISentimentFeature>- Parameters:
jcas- The JCas instance containing the linguistic data.- Returns:
- A list of extracted linguistic features of type T.
-