The langid module identifies languages in language identification feature data.
The langid module has three modes of operation.
| Mode | Input | Output | Description |
|---|---|---|---|
BOUNDARY
|
lf
|
lid, lb |
Identifies the boundaries where the spoken language changes and identifies the language for sections between boundaries. |
CUMULATIVE
|
lf
|
lid
|
Returns the identification score at periodic intervals. |
SEGMENTED
|
lf
|
lif
|
The audio is split into fixed-size chunks and a language is identified for each chunk. |
Examples:
lid ← langid(SEGMENTED, lf)
lid ← langid(CUMULATIVE, lf)
lid, lb ← langid(BOUNDARY, lf)
| ClList* | SegmentStepSize |
| ClPath | SegmentThreshold |
| LangList | SegmentUnkThreshold |
| MinPhoneRate | SegmentWindow |
| ScoreMode | WindowSize |
| SegmentSmoothWin |
*You must set the value of this configuration parameter by setting the corresponding action parameter.
|
|