# Mode

The type of language identification task to run. Set this parameter to one of the following options:

- `Boundary` - Language identification seeks to determine boundaries in the audio where the language changes, and returns results for the time between boundaries.

  In this mode, SegmentDuration is ignored.

- `Segmented` - The audio is divided into fixed-size segments and Media Server does not consider previous segments when running analysis. You can use this mode to determine the language if there are multiple languages present in the audio, but this mode does not identify the exact boundary points at which the language changes.

  In this mode, SegmentDuration specifies the amount of audio to analyze in a single segment. Media Server outputs a record in the `SegmentedResult` track for each analyzed segment, and one or more records in the `Result` track (Media Server starts a new record if the detected language changes).

- `Cumulative` - The audio is divided into fixed-size segments and every result is based on analysis of the current segment and all of the previous segments. You might use this mode if you are processing a video file and expect the audio to contain only one language or you want to identify the primary language that is spoken.

  In this mode, SegmentDuration specifies the amount of audio to analyze in a single segment. Media Server outputs a record in the `SegmentedResult` track for each analyzed segment, and one record in the `Result` track when analysis has finished.

  NOTE: Cumulative mode is not suitable for analyzing continuous streams.

Type: | String
Default: |
Required: | No
Configuration Section: | TaskName
Example: | `Mode=BOUNDARY`
See Also: | SegmentDuration

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm