Creates a new instance. Returns a JSON-Serialized instance on completion.
| name (string) |
The LEXI Live instance name.
While it is not required that the name be unique within your billing group, it is
strongly recommended to avoid operator confusion.
|
| engine (string) |
The LEXI Live recognition engine to be used. Currently the following
choices are available:
The current list of engines can be retrieved at:
/speech-recognition/live/v2/engines
|
| base_model (string) |
The base language model to use. For US English, use:
The current list of models can be retrieved at:
/speech-recognition/base_models
|
|
custom_model (string)
|
The custom voice model
defined in YOUR EEG Cloud account to use.
|
|
diarization_style (string)
|
The speaker change style to use.
Note - This setting is only available for the LEXI
3.0 engine.
Values to use:
- COLOR_CHANGE - Change the caption color when the speaker changes.
-
CHEVRON_NEWLINE - Insert a new line that begins with ">>" when the speaker
changes.
-
DASH_NEWLINE - Insert a new line that begins with "-" when the speaker
changes.
Do not include the diarization_style setting if you do not want speaker change
indications to appear in captions.
|
|
speaker_profiles (list of JSON objects)
|
The speaker profiles specified in the LEXI output captions. Optionally specify the label you want to use with the speaker profile. Otherwise, it will default to the name of the speaker profile. Use this setting along with 'diarization_style' for unidentified speaker labels.
Note - This setting is only available for the LEXI
3.0 engine.
Values to use:
[
{"speaker_profile_id": "<uuid1>"", "label" (optional): "Derek"},
{"speaker_profile_id": "<uuid2>", "label" (optional): "Ethan"}
]
Do not include the diarization_style and the speaker_profiles setting if you do not want speaker change
indications to appear in captions.
|
|
audio_events (boolean)
|
Enables identification of audio events in CC output. If not specified, LEXI will
enable identification of all event types (i.e., music_events, applause_events,
laughter_events).
Values to use:
|
|
music_events (boolean)
|
Enables identification of music audio events in CC output. audio_events must be
enabled.
Values to use:
|
|
applause_events (boolean)
|
Enables identification of applause audio events in CC output. audio_events must be
enabled.
Values to use:
|
|
laughter_events (boolean)
|
Enables identification of laughter audio events in CC output. audio_events must be
enabled.
Values to use:
|
| cc_service (string) |
The caption service to use. *Note - Value must be sent as a string.
Values to use:
|
|
use_newfor (string)
|
Engages the "Newfor/Teletext" output mode. If not specified, the default output mode
is "608/708".
Please choose in accordance with your caption encoder's "CC Output Format" setting,
as well as the international region in which your content will be viewed.
Values to use:
|
|
teletext_page (string)
|
The Teletext page number to be used with the "Newfor/Teletext" output mode.
In the format of: [magazine number][page number (tens)][page number (units)]
For example:
|
|
display_style (string)
|
Determines the caption advance style - roll-up ("rollup") or pop-on ("popon"). If
not specified, the default output mode is "rollup".
Values to use:
|
|
all_caps (string)
|
Whether captions should be rendered in ALL CAPS or sentence case. *Note - Value must
be sent as a string.
Values to use:
|
|
num_rows (string)
|
The number of caption rows to use in output captions. *Note - Value must be sent as
a string.
Values to use:
|
|
base_row (string)
|
The base caption row for display.
*Note - Value must be sent as a string.
Values are 1 (top) through 15 (bottom) for 608/708 and 3 (top) through 22 (bottom) for Newfor/teletext. Please note that the base row will be the
maximum of this value and "num_rows"
|
|
col_indent (string)
|
The number of columns to indent from the left-hand side of screen. Columns are
numbered 1-32 from left to right.
*Note - Value must be sent as a string.
|
| icapaccesscode (string) |
The iCap Access Code to use for caption delivery.
*Note - Access Code must be shared with EEGASR / EEG LEXI ASR before
LEXI Live service can be used.
|
|
timeout (string)
|
The number of seconds (integer value) of silence allowed before iCap will
auto-terminate a job (to reduce billing charges).
*Note - Value must be sent as a string.
Values to use:
- -1 - No timeout. Jobs will run indefinitely until terminated by user.
-
1 and higher - Jobs will auto-terminate if audio is not present for a
specified period of seconds.
|
|
profanity_filter (string)
|
Engages a basic profanity filter.
*Note - Value must be sent as a string.
Values to use:
|
|
vision_positioning (string)
|
Engages a basic facial and text detector to attempt to keep captions from obscuring
faces and Character Generator elements.
*Note - Value must be sent as a string.
Values to use:
|
|
num_channels_audio (string)
|
Sets number of discreet speaker feeds are being used for speaker identification.
Please refer to HD-492 / HD-1492 manuals for specific configuration details.
*Note - Value must be sent as a string.
Values to use:
|
|
speaker_label (string [])
|
An array of strings to use as speaker identification labels for Multi-Track settings.
I.E.:
- "speaker_label" : [ ">> Fred:", ">> Barney:" ]
|
|
max_delay (number or string)
|
Sets the maximum number of seconds between receiving audio input and producing CC
output. Higher max_delay values may yield greater recognition accuracy.
Values to use:
|