Class: Google::Apis::LanguageV1::XpsSpeechPreprocessResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsSpeechPreprocessResponse

Returns a new instance of XpsSpeechPreprocessResponse.



3602
3603
3604
# File 'lib/google/apis/language_v1/classes.rb', line 3602

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)


3584
3585
3586
# File 'lib/google/apis/language_v1/classes.rb', line 3584

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)


3589
3590
3591
# File 'lib/google/apis/language_v1/classes.rb', line 3589

def cns_train_data_path
  @cns_train_data_path
end

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



3595
3596
3597
# File 'lib/google/apis/language_v1/classes.rb', line 3595

def prebuilt_model_evaluation_metrics
  @prebuilt_model_evaluation_metrics
end

#speech_preprocess_statsGoogle::Apis::LanguageV1::XpsSpeechPreprocessStats

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



3600
3601
3602
# File 'lib/google/apis/language_v1/classes.rb', line 3600

def speech_preprocess_stats
  @speech_preprocess_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3607
3608
3609
3610
3611
3612
# File 'lib/google/apis/language_v1/classes.rb', line 3607

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