Class: Google::Apis::LanguageV2::XpsSpeechPreprocessResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsSpeechPreprocessResponse

Returns a new instance of XpsSpeechPreprocessResponse.



3315
3316
3317
# File 'lib/google/apis/language_v2/classes.rb', line 3315

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)


3297
3298
3299
# File 'lib/google/apis/language_v2/classes.rb', line 3297

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)


3302
3303
3304
# File 'lib/google/apis/language_v2/classes.rb', line 3302

def cns_train_data_path
  @cns_train_data_path
end

#prebuilt_model_evaluation_metricsGoogle::Apis::LanguageV2::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



3308
3309
3310
# File 'lib/google/apis/language_v2/classes.rb', line 3308

def prebuilt_model_evaluation_metrics
  @prebuilt_model_evaluation_metrics
end

#speech_preprocess_statsGoogle::Apis::LanguageV2::XpsSpeechPreprocessStats

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



3313
3314
3315
# File 'lib/google/apis/language_v2/classes.rb', line 3313

def speech_preprocess_stats
  @speech_preprocess_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3320
3321
3322
3323
3324
3325
# File 'lib/google/apis/language_v2/classes.rb', line 3320

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