Class: Google::Cloud::Speech::V1::SpeechAdaptation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/speech/v1/resource.rb

Overview

Speech adaptation configuration.

Defined Under Namespace

Classes: ABNFGrammar

Instance Attribute Summary collapse

Instance Attribute Details

#abnf_grammar::Google::Cloud::Speech::V1::SpeechAdaptation::ABNFGrammar

Returns Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar.

Returns:



139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'proto_docs/google/cloud/speech/v1/resource.rb', line 139

class SpeechAdaptation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] abnf_strings
  #   @return [::Array<::String>]
  #     All declarations and rules of an ABNF grammar broken up into multiple
  #     strings that will end up concatenated.
  class ABNFGrammar
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#custom_classes::Array<::Google::Cloud::Speech::V1::CustomClass>

Returns A collection of custom classes. To specify the classes inline, leave the class' name blank and fill in the rest of its fields, giving it a unique custom_class_id. Refer to the inline defined class in phrase hints by its custom_class_id.

Returns:

  • (::Array<::Google::Cloud::Speech::V1::CustomClass>)

    A collection of custom classes. To specify the classes inline, leave the class' name blank and fill in the rest of its fields, giving it a unique custom_class_id. Refer to the inline defined class in phrase hints by its custom_class_id.



139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'proto_docs/google/cloud/speech/v1/resource.rb', line 139

class SpeechAdaptation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] abnf_strings
  #   @return [::Array<::String>]
  #     All declarations and rules of an ABNF grammar broken up into multiple
  #     strings that will end up concatenated.
  class ABNFGrammar
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#phrase_set_references::Array<::String>

Returns A collection of phrase set resource names to use.

Returns:

  • (::Array<::String>)

    A collection of phrase set resource names to use.



139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'proto_docs/google/cloud/speech/v1/resource.rb', line 139

class SpeechAdaptation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] abnf_strings
  #   @return [::Array<::String>]
  #     All declarations and rules of an ABNF grammar broken up into multiple
  #     strings that will end up concatenated.
  class ABNFGrammar
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#phrase_sets::Array<::Google::Cloud::Speech::V1::PhraseSet>

Returns A collection of phrase sets. To specify the hints inline, leave the phrase set's name blank and fill in the rest of its fields. Any phrase set can use any custom class.

Returns:

  • (::Array<::Google::Cloud::Speech::V1::PhraseSet>)

    A collection of phrase sets. To specify the hints inline, leave the phrase set's name blank and fill in the rest of its fields. Any phrase set can use any custom class.



139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'proto_docs/google/cloud/speech/v1/resource.rb', line 139

class SpeechAdaptation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] abnf_strings
  #   @return [::Array<::String>]
  #     All declarations and rules of an ABNF grammar broken up into multiple
  #     strings that will end up concatenated.
  class ABNFGrammar
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end