public final class Web1TInMemoryFrequencyCountResource extends FrequencyCountResourceBase
Modifier and Type | Field and Description |
---|---|
protected String |
language |
protected String |
maxLevel |
protected String |
modelLocation |
static String |
PARAM_LANGUAGE |
static String |
PARAM_MAX_NGRAM_LEVEL |
static String |
PARAM_MODEL_LOCATION |
PARAM_SCALE_DOWN_FACTOR, provider, scaleDownFactor
Constructor and Description |
---|
Web1TInMemoryFrequencyCountResource() |
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_MAX_NGRAM_LEVEL
protected String maxLevel
public static final String PARAM_MODEL_LOCATION
protected String modelLocation
public static final String PARAM_LANGUAGE
protected String language
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 Exception
initializeProvider
in class FrequencyCountResourceBase
Exception
Copyright © 2011–2015. All rights reserved.