public class SharedDictionary
extends org.apache.uima.fit.component.Resource_ImplBase
Modifier and Type | Field and Description |
---|---|
protected String |
affixModelLocation |
protected String |
language |
protected String |
modelLocation |
static String |
PARAM_AFFIX_MODEL_LOCATION
Load the model from this location instead of locating the model automatically.
|
static String |
PARAM_LANGUAGE
Use this language instead of the default language.
|
static String |
PARAM_MODEL_ENCODING
The character encoding used by the model.
|
static String |
PARAM_MODEL_LOCATION
Load the model from this location instead of locating the model automatically.
|
static String |
PARAM_VARIANT
Override the default variant used to locate the model.
|
protected String |
variant |
Constructor and Description |
---|
SharedDictionary() |
Modifier and Type | Method and Description |
---|---|
Dictionary |
getDictionary() |
boolean |
initialize(org.apache.uima.resource.ResourceSpecifier aSpecifier,
Map aAdditionalParams) |
afterResourcesInitialized, getLogger, getResourceName
public static final String PARAM_LANGUAGE
protected String language
public static final String PARAM_VARIANT
protected String variant
public static final String PARAM_MODEL_LOCATION
protected String modelLocation
public static final String PARAM_MODEL_ENCODING
public static final String PARAM_AFFIX_MODEL_LOCATION
protected String affixModelLocation
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
public Dictionary getDictionary() throws IOException
IOException
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.