Usually represent a word, part of the word, punctuation marks or some special tokens like [EOT], [BEG], etc.
More...
|
| readonly int | Id |
| | Id of the token in whisper model vocabulary.
|
| |
| readonly float | Prob |
| | Probability (confidence) of the token in [0, 1] range.
|
| |
| readonly float | ProbLog |
| | Log probability (confidence) of the token.
|
| |
| readonly string | Text |
| | Text representation of the token.
|
| |
| readonly bool | IsSpecial |
| | True if this token is special token used by whisper, like [EOT], [BEG], etc.
|
| |
| readonly WhisperTokenTimestamp | Timestamp |
| | Optional token timestamp information. Null if params WhisperParams.TokenTimestamps is false.
|
| |
Usually represent a word, part of the word, punctuation marks or some special tokens like [EOT], [BEG], etc.
◆ WhisperTokenData()
| Whisper.WhisperTokenData.WhisperTokenData |
( |
WhisperNativeTokenData | nativeToken, |
|
|
string | text, |
|
|
bool | timestamps, |
|
|
bool | isSpecial ) |
|
inline |
◆ Id
| readonly int Whisper.WhisperTokenData.Id |
Id of the token in whisper model vocabulary.
◆ IsSpecial
| readonly bool Whisper.WhisperTokenData.IsSpecial |
True if this token is special token used by whisper, like [EOT], [BEG], etc.
◆ Prob
| readonly float Whisper.WhisperTokenData.Prob |
Probability (confidence) of the token in [0, 1] range.
◆ ProbLog
| readonly float Whisper.WhisperTokenData.ProbLog |
Log probability (confidence) of the token.
◆ Text
| readonly string Whisper.WhisperTokenData.Text |
Text representation of the token.
◆ Timestamp
The documentation for this class was generated from the following file:
- /github/workspace/Packages/FMAR/ThirdParty/WhisperUnity/Runtime/WhisperResult.cs