public final class Web1TFrequencyCountResource extends FrequencyCountResourceBase
Modifier and Type | Field and Description |
---|---|
protected String |
indexPath |
protected String |
language |
protected String |
maxLevel |
protected String |
minLevel |
static String |
PARAM_INDEX_PATH
Load the model from this location instead of locating the model automatically.
|
static String |
PARAM_LANGUAGE |
static String |
PARAM_MAX_NGRAM_LEVEL |
static String |
PARAM_MIN_NGRAM_LEVEL |
static String |
PARAM_VARIANT
Override the default variant used to locate the model.
|
protected String |
variant |
PARAM_SCALE_DOWN_FACTOR, provider, scaleDownFactor
Constructor and Description |
---|
Web1TFrequencyCountResource() |
Modifier and Type | Method and Description |
---|---|
boolean |
initialize(org.apache.uima.resource.ResourceSpecifier aSpecifier,
Map aAdditionalParams) |
protected void |
initializeProvider() |
getFrequency, getID, getLanguage, getLogProbability, getNgramIterator, getNrOfDistinctNgrams, getNrOfNgrams, getNrOfTokens, getProbability
afterResourcesInitialized, getLogger, getResourceName
public static final String PARAM_MIN_NGRAM_LEVEL
protected String minLevel
public static final String PARAM_MAX_NGRAM_LEVEL
protected String maxLevel
public static final String PARAM_LANGUAGE
protected String language
public static final String PARAM_VARIANT
protected String variant
public static final String PARAM_INDEX_PATH
protected String indexPath
public boolean initialize(org.apache.uima.resource.ResourceSpecifier aSpecifier, Map aAdditionalParams) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.resource.Resource
initialize
in class org.apache.uima.fit.component.Resource_ImplBase
org.apache.uima.resource.ResourceInitializationException
protected void initializeProvider() throws org.apache.uima.resource.ResourceInitializationException
initializeProvider
in class FrequencyCountResourceBase
org.apache.uima.resource.ResourceInitializationException
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.