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.



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

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)


3283
3284
3285
# File 'lib/google/apis/language_v2/classes.rb', line 3283

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)


3288
3289
3290
# File 'lib/google/apis/language_v2/classes.rb', line 3288

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



3294
3295
3296
# File 'lib/google/apis/language_v2/classes.rb', line 3294

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



3299
3300
3301
# File 'lib/google/apis/language_v2/classes.rb', line 3299

def speech_preprocess_stats
  @speech_preprocess_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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