Class: LiterLlm::TranscriptionSegment

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTranscriptionSegment

Returns a new instance of TranscriptionSegment.

Parameters:

  • id: (Integer)
  • start: (Float)
  • end: (Float)
  • text: (String)


353
# File 'sig/types.rbs', line 353

def initialize: (?id: Integer, ?start: Float, ?end: Float, ?text: String) -> void

Instance Attribute Details

#endFloat?

Returns the value of attribute end.

Returns:

  • (Float, nil)


350
351
352
# File 'sig/types.rbs', line 350

def end
  @end
end

#idInteger?

Returns the value of attribute id.

Returns:

  • (Integer, nil)


348
349
350
# File 'sig/types.rbs', line 348

def id
  @id
end

#startFloat?

Returns the value of attribute start.

Returns:

  • (Float, nil)


349
350
351
# File 'sig/types.rbs', line 349

def start
  @start
end

#textString?

Returns the value of attribute text.

Returns:

  • (String, nil)


351
352
353
# File 'sig/types.rbs', line 351

def text
  @text
end