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)


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

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

Instance Attribute Details

#endFloat (readonly)

Returns the value of attribute end.

Returns:

  • (Float)


888
889
890
# File 'sig/types.rbs', line 888

def end
  @end
end

#idInteger (readonly)

Returns the value of attribute id.

Returns:

  • (Integer)


886
887
888
# File 'sig/types.rbs', line 886

def id
  @id
end

#startFloat (readonly)

Returns the value of attribute start.

Returns:

  • (Float)


887
888
889
# File 'sig/types.rbs', line 887

def start
  @start
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


889
890
891
# File 'sig/types.rbs', line 889

def text
  @text
end