Table of Contents

Class SegmentObject

Namespace
Glitch9.AIDevKit
public class SegmentObject
Inheritance
object
SegmentObject

Properties

AvgLogprob

Average logprob of the segment. If the value is lower than -1, consider the logprobs failed.

public float AvgLogprob { get; set; }

Property Value

float

CompressionRatio

Compression ratio of the segment. If the value is greater than 2.4, consider the compression failed.

public float CompressionRatio { get; set; }

Property Value

float

End

End time of the segment in seconds.

public float End { get; set; }

Property Value

float

Id

Unique identifier of the segment.

public int Id { get; set; }

Property Value

int

NoSpeechProb

Probability of no speech in the segment. If the value is higher than 1.0 and the avg_logprob is below -1, consider this segment silent.

public float NoSpeechProb { get; set; }

Property Value

float

Seek

Seek offset of the segment.

public int Seek { get; set; }

Property Value

int

Start

Start time of the segment in seconds.

public float Start { get; set; }

Property Value

float

Temperature

Temperature parameter used for generating the segment.

public float Temperature { get; set; }

Property Value

float

Text

Text content of the segment.

public string Text { get; set; }

Property Value

string

Tokens

Array of token IDs for the text content.

public int[] Tokens { get; set; }

Property Value

int[]