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)


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

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

Instance Attribute Details

#endFloat (readonly)

Returns the value of attribute end.

Returns:

  • (Float)


360
361
362
# File 'sig/types.rbs', line 360

def end
  @end
end

#idInteger (readonly)

Returns the value of attribute id.

Returns:

  • (Integer)


358
359
360
# File 'sig/types.rbs', line 358

def id
  @id
end

#startFloat (readonly)

Returns the value of attribute start.

Returns:

  • (Float)


359
360
361
# File 'sig/types.rbs', line 359

def start
  @start
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


361
362
363
# File 'sig/types.rbs', line 361

def text
  @text
end