Class: Google::Apis::LanguageV1beta2::XpsSpeechPreprocessResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsSpeechPreprocessResponse

Returns a new instance of XpsSpeechPreprocessResponse.



3621
3622
3623
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3621

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cns_test_data_pathString

Location od shards of sstables (test data) of DataUtterance protos. Corresponds to the JSON property cnsTestDataPath

Returns:

  • (String)


3603
3604
3605
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3603

def cns_test_data_path
  @cns_test_data_path
end

#cns_train_data_pathString

Location of shards of sstables (training data) of DataUtterance protos. Corresponds to the JSON property cnsTrainDataPath

Returns:

  • (String)


3608
3609
3610
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3608

def cns_train_data_path
  @cns_train_data_path
end

#prebuilt_model_evaluation_metricsGoogle::Apis::LanguageV1beta2::XpsSpeechEvaluationMetrics

The metrics for prebuilt speech models. They are included here because there is no prebuilt speech models stored in the AutoML. Corresponds to the JSON property prebuiltModelEvaluationMetrics



3614
3615
3616
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3614

def prebuilt_model_evaluation_metrics
  @prebuilt_model_evaluation_metrics
end

#speech_preprocess_statsGoogle::Apis::LanguageV1beta2::XpsSpeechPreprocessStats

Stats associated with the data. Corresponds to the JSON property speechPreprocessStats



3619
3620
3621
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3619

def speech_preprocess_stats
  @speech_preprocess_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3626
3627
3628
3629
3630
3631
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3626

def update!(**args)
  @cns_test_data_path = args[:cns_test_data_path] if args.key?(:cns_test_data_path)
  @cns_train_data_path = args[:cns_train_data_path] if args.key?(:cns_train_data_path)
  @prebuilt_model_evaluation_metrics = args[:prebuilt_model_evaluation_metrics] if args.key?(:prebuilt_model_evaluation_metrics)
  @speech_preprocess_stats = args[:speech_preprocess_stats] if args.key?(:speech_preprocess_stats)
end