def hypothesis
      mp_path_score = FFI::MemoryPointer.new(:int32, 1)

      hypothesis = ps_api.ps_get_hyp(ps_decoder, mp_path_score)
      posterior_prob = ps_api.ps_get_prob(ps_decoder)

      hypothesis.nil? ? nil : Hypothesis.new(
        hypothesis,
        log_prob_to_linear(mp_path_score.get_int32(0)),
        log_prob_to_linear(posterior_prob)
      )
    end
def hypothesis
      mp_path_score = FFI::MemoryPointer.new(:int32, 1)

      hypothesis = ps_api.ps_get_hyp(ps_decoder, mp_path_score)
      posterior_prob = ps_api.ps_get_prob(ps_decoder)

      hypothesis.nil? ? nil : Hypothesis.new(
        hypothesis,
        log_prob_to_linear(mp_path_score.get_int32(0)),
        log_prob_to_linear(posterior_prob)
      )
    end
Get hypothesis string (with #path_score and #utterance_id).

 @return [Hypothesis] Hypothesis (behaves like a string)