public class TcFeatureFactory extends Object
Constructor and Description |
---|
TcFeatureFactory() |
Modifier and Type | Method and Description |
---|---|
static TcFeature |
create(Class<? extends org.apache.uima.resource.Resource> featureName,
Object... parameters)
Creates a new instance of a TcFeature
|
static TcFeature |
create(String id,
Class<? extends org.apache.uima.resource.Resource> featureName,
Object... parameters)
Creates a new instance of a TcFeature which allows the user to set an own id
|
public static TcFeature create(Class<? extends org.apache.uima.resource.Resource> featureName, Object... parameters)
featureName
- The class of a feature extractorparameters
- The configuration parameters for this feature extractorpublic static TcFeature create(String id, Class<? extends org.apache.uima.resource.Resource> featureName, Object... parameters)
id
- The id of the feature which must be unique among all used featuresfeatureName
- The class of the feature extractor that shall be instantiatedparameters
- The list of the parameters for this feature extractorCopyright © 2013–2019 Ubiquitous Knowledge Processing (UKP) Lab. All rights reserved.