FireRed Spoken LID (v0.2)
About this version
- Submitter: keighrim
- Submission Time: 2026-11-11T01:16:54+00:00
- Prebuilt Container Image: ghcr.io/clamsproject/app-firered-spoken-lid:v0.2
-
Release Notes
added control over label space
About this app (See raw metadata.json)
Spoken language identification over fixed-length windows of an audio track, using FireRedLID, the language identification model of FireRedASR2S. Consecutive windows with the same language can be merged into one TimeFrame.
- App ID: http://apps.clams.ai/firered-spoken-lid/v0.2
- App License: Apache 2.0
- Source Repository: https://github.com/clamsproject/app-firered-spoken-lid (source tree of the submitted version)
- Analyzer License: Apache 2.0
Inputs
(Note: “*” as a property value means that the property is required but can be any value.)
One of the following is required: [
-
http://clams.ai/vocabulary/type/AudioDocument/v2 (required) (of any properties)
-
http://clams.ai/vocabulary/type/VideoDocument/v2 (required) (of any properties)
]
Configurable Parameters
(Note: Multivalued means the parameter can have one or more values.)
-
windowMs: optional, defaults to10000- Type: integer
- Multivalued: False
Window length in milliseconds.
-
minLastWindowMs: optional, defaults to0- Type: integer
- Multivalued: False
Shortest final window to keep, in milliseconds. 0 keeps any final window.
-
tfMerge: optional, defaults totrue- Type: boolean
- Multivalued: False
- Choices:
false,true
Join consecutive windows with the same label into one TimeFrame. When false, each window becomes its own TimeFrame, with one score.
-
labelMap: optional, defaults to[]- Type: string
- Multivalued: True
Labels to keep, as “IN:OUT” (rename IN to OUT) or “IN” (keep IN as it is). Other labels become “-“. Empty keeps every label of the model. See README.md in the app repository for how the label is chosen.
-
minLabelScore: optional, defaults to0.5- Type: number
- Multivalued: False
Minimum score for a label from labelMap to be kept; a window whose best mapped label scores less becomes “-“. Only applies with labelMap.
-
batchSize: optional, defaults to1- Type: integer
- Multivalued: False
Number of windows passed to the model at once.
-
pretty: optional, defaults tofalse- Type: boolean
- Multivalued: False
- Choices:
false,true
The JSON body of the HTTP response will be re-formatted with 2-space indentation
-
runningTime: optional, defaults totrue- Type: boolean
- Multivalued: False
- Choices:
false,true
The running time of the app will be recorded in the view metadata
-
hwFetch: optional, defaults tofalse- Type: boolean
- Multivalued: False
- Choices:
false,true
The hardware information (architecture, GPU and vRAM) will be recorded in the view metadata
-
tfSamplingMode: optional, defaults torepresentatives- Type: string
- Multivalued: False
- Choices:
representatives,single,all
Sampling mode for TimeFrame annotations. Has no effect when the app does not process TimeFrames. “representatives” uses all representative timepoints if present, otherwise skips the TimeFrame. “single” uses the middle representative if present, otherwise extracts an image from the midpoint of the start/end interval (midpoint is calculated by floor division of the sum of start and end). “all” uses all target timepoints if present, otherwise extracts all images from the time interval.
Outputs
(Note: “*” as a property value means that the property is required but can be any value.)
(Note: Not all output annotations are always generated.)
- http://clams.ai/vocabulary/type/TimeFrame/v6
- timeUnit = “milliseconds”
- document = “*”
- labelset = “*”
- label = “*”
- scores = “*”
Each TimeFrame covers consecutive windows that FireRedLID labels with the language
label, orother. Language labels are canonicalized to BCP 47 tags, andlabelMapcan reduce them; see README.md in the app repository for details.labelsetlists all labels the view can have.scoreslists, in time order, the FireRedLID score oflabelin each of those windows, one float in [0, 1] per window. Window i starts atstart+ i *windowMs; the last window ends atendand can be shorter. The scores are not calibrated.