...
Include Page | ||||
---|---|---|---|---|
|
No configuration parameters are needed.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"type":"LangDetectorStage",
} |
Parameter | ||||||
---|---|---|---|---|---|---|
|
Saga_config_stage |
---|
As you can see, the first sentence is tagged with "LANG_ENG" and the second sentence with "LANG_SPA".
In this case, a sentence breaker stage was configured before the language detector stage. As a result, language identification can occur at the sentence level.
LANG_??? - Flags all text blocks where a language was identified.
Note |
---|
Notice '???' at the end of the Flag. This is replaced by an ISO three letter language code. For example, if Spanish is detected, the three letter code is SPA, and the Flag will be "LANG_SPA" |
Vertex Flags
...
Info |
---|
No vertices are created in this stage |