Class: Pocketsphinx::Decoder::Hypothesis
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Pocketsphinx::Decoder::Hypothesis
- Defined in:
- lib/pocketsphinx/decoder.rb
Instance Attribute Summary collapse
-
#path_score ⇒ Object
Returns the value of attribute path_score.
-
#utterance_id ⇒ Object
Returns the value of attribute utterance_id.
Instance Method Summary collapse
-
#initialize(string, path_score, utterance_id) ⇒ Hypothesis
constructor
A new instance of Hypothesis.
Constructor Details
#initialize(string, path_score, utterance_id) ⇒ Hypothesis
Returns a new instance of Hypothesis.
10 11 12 13 |
# File 'lib/pocketsphinx/decoder.rb', line 10 def initialize(string, path_score, utterance_id) @path_score, @utterance_id = path_score, utterance_id super(string) end |
Instance Attribute Details
#path_score ⇒ Object
Returns the value of attribute path_score.
8 9 10 |
# File 'lib/pocketsphinx/decoder.rb', line 8 def path_score @path_score end |
#utterance_id ⇒ Object
Returns the value of attribute utterance_id.
8 9 10 |
# File 'lib/pocketsphinx/decoder.rb', line 8 def utterance_id @utterance_id end |