Open keighrim opened 4 days ago
Follow up question, which TimeFrame
should we aligned the new document to?
Follow up question, which
TimeFrame
should we aligned the new document to?
Under the BUMPER_TO_BUMPER
mode, can we do
Alignment
s where each Alignment
is the same as what slicer does in REGULAR mode. However, we probably need to add a property or a signature to distinguish what mode the app is running on.Alignment
but cast the target (which should be TimeFrame
s aligned to) as a listI experimented this feature in the following steps:
TimeFrame
s within SWT viewdict
like: {label: list(TimeFrame)}
label
, do the slicing of the suggested featureTimeFrame
having the same label as follows:LABEL NUM_OF_TOKENS
------ -----------------------
bars: [1]
slate: [1]
other_opening: [307, 75, 183, 8888, 684, 11204]
chyron: [2992, 2134, 4259, 1266, 6715, 1372, 126]
other_text: [2800, 3320, 177, 200, 132, 3068, 4159, 1016, 1153, 1115, 533]
credits: [0]
Yeah, the numbers, in chyrons for example, look much more suitable for "summarization" type of downstream apps. For bars, slate, and credits, zero token is expected, and that single token documents for bars and slate are probably ASR errors..?
Yeah, the numbers, in chyrons for example, look much more suitable for "summarization" type of downstream apps. For bars, slate, and credits, zero token is expected, and that single token documents for bars and slate are probably ASR errors..?
That is simply ""
, because the value in the dict
is a list of lists of tokens.
Also, are we going to set the app for user to choose the running mode? For example, for now, users can choose to slice between BUMPER_TO_BUMPER
and REGULAR
Yup, I think the mode picker can be exposed as a runtime parameter.
Follow up question, which
TimeFrame
should we aligned the new document to?
Now I realized this is little tricky. For example, since the slicer would use Token
s from whisper, so according to the time line in whisper view, any pair of TimeFrame
s with the same label would contain many several (or many) other types of TimeFrame
s, e.g. [chyron, slate, bars, bars, credits, ... , chyron]
.
One possible solution that wouldn't hurt downstream apps of text-slicer
is:
Alignment
s (for both TimeFrame
s) in the new view under bumper mode.text-slicer
based on the value of runmode
in app's configuration metadata. For example, if those apps read the runmode
as bumper
(name for now), they first validate if the slicer view contains two TimeFrame
s pointing to the same TextDocument
. If yes, then they can do their own things. Otherwise, they would raise errors.
New Feature Summary
Currently, the app slices text based on the (start, end) pairs found in time frame annotations. Instead, if we can use the app for segmentation of videos between two occurrences of a type of time frame, that'd be useful feature to use to, for example, get a segmentation between two "title cards" from SWT or something like that.
Implementation-wise, it'd be something like
Related
No response
Alternatives
No response
Additional context
No response