class AzureSTT::Parsers::CombinedRecognizedPhrases
Parse the CombinedRecognizedPhrases
from the result file to a Models::CombinedRecognizedPhrases
Protected Instance Methods
build_attributes()
click to toggle source
Build a hash to instantiate a Models::CombinedRecognizedPhrase
@return [Hash]
# File lib/azure_stt/parsers/combined_recognized_phrases.rb, line 17 def build_attributes { channel: hash['channel'], lexical: hash['lexical'], itn: hash['itn'], masked_itn: hash['maskedITN'], transcript: hash['display'] }.compact end