Single segment of whisper audio transcription. Can be a few words, a sentence, or even a paragraph.
More...
|
| | WhisperSegment (int index, string text, ulong start, ulong end) |
| |
| string | TimestampToString () |
| | Write segment start and end timestamps as a human-readable string.
|
| |
|
| readonly int | Index |
| | Segment index in current Whisper context.
|
| |
| readonly string | Text |
| | Combined text of all tokens in this segment.
|
| |
| readonly TimeSpan | Start |
| | Segment start timestamp based on transcribed audio.
|
| |
| readonly TimeSpan | End |
| | Segment end timestamp based on transcribed audio.
|
| |
| WhisperTokenData[] | Tokens |
| | Optional individual tokens with their meta information. Null if params WhisperParams.EnableTokens is false.
|
| |
Single segment of whisper audio transcription. Can be a few words, a sentence, or even a paragraph.
◆ WhisperSegment()
| Whisper.WhisperSegment.WhisperSegment |
( |
int | index, |
|
|
string | text, |
|
|
ulong | start, |
|
|
ulong | end ) |
|
inline |
◆ TimestampToString()
| string Whisper.WhisperSegment.TimestampToString |
( |
| ) |
|
|
inline |
Write segment start and end timestamps as a human-readable string.
◆ End
| readonly TimeSpan Whisper.WhisperSegment.End |
Segment end timestamp based on transcribed audio.
◆ Index
| readonly int Whisper.WhisperSegment.Index |
Segment index in current Whisper context.
◆ Start
| readonly TimeSpan Whisper.WhisperSegment.Start |
Segment start timestamp based on transcribed audio.
◆ Text
| readonly string Whisper.WhisperSegment.Text |
Combined text of all tokens in this segment.
◆ Tokens
The documentation for this class was generated from the following file:
- /github/workspace/Packages/FMAR/ThirdParty/WhisperUnity/Runtime/WhisperResult.cs