Language Detector

Language Detector

This processor uses the text specified in the “field” to run the language detector analyzer on it.

Configuration

{
"field":"description",
"name":"language detector",
"type":"language-detector",
"languages":[
"english",
"spanish",
"italian",
"french"
],
"maxLength":100,
"minDistance":0.25
}

 

Configuration parameters:

 

field - Required, String

Field where the language detector is executed.

 

languages - Optional, List<String>

Specify all languages the app should recognize.

 

maxLength - Optional, Int

Maximum number of chars to analyze through the language detector.

 

minDistance - Optional, int

Minimum distance between the language probabilities. A value between 0.0 and 0.99. Defaults to 0.0.

 

Output

detectedLanguage

©2024 Pureinsights Technology Corporation