| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALTERNATIVE_NAME_ATTRIBUTE
Constant for the configuration property AlternativeNameAttribute.
|
static java.lang.String |
CONTENT_ATTRIBUTE
Constant for the configuration property ContentAttribute.
|
static java.lang.String |
DEFAULT_ALTERNATIVE_NAME
Constant for the configuration property DefaultAlternativeName.
|
static java.lang.String |
DEFAULT_LANGUAGE
Constant for the configuration property DefaultLanguage.
|
static java.lang.String |
LANGUAGE_ATTRIBUTE
Constant for the configuration property LanguageAttribute.
|
static java.lang.String |
USE_CERTAIN_LANGUAGES_ONLY
Constant for the configuration property UseCertainLanguagesOnly.
|
| Constructor and Description |
|---|
LanguageIdentifyPipelet() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(AnyMap configuration)
read configuration parameters.
|
java.lang.String[] |
process(Blackboard blackboard,
java.lang.String[] recordIds)
process given records.
|
public static final java.lang.String CONTENT_ATTRIBUTE
public static final java.lang.String LANGUAGE_ATTRIBUTE
public static final java.lang.String DEFAULT_LANGUAGE
public static final java.lang.String ALTERNATIVE_NAME_ATTRIBUTE
public static final java.lang.String DEFAULT_ALTERNATIVE_NAME
public static final java.lang.String USE_CERTAIN_LANGUAGES_ONLY
public void configure(AnyMap configuration) throws ProcessingException
configure in interface Pipeletconfiguration - configuration of pipelet.ProcessingException - configuration is not applicable for pipelet (missing properties, wrong datatypes)public java.lang.String[] process(Blackboard blackboard, java.lang.String[] recordIds) throws ProcessingException
process in interface Pipeletblackboard - Blackboard holding and managing the records.recordIds - Ids of records to process.ProcessingException - error during processing.