All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.speech.v1.PhraseSetOrBuilder Maven / Gradle / Ivy

There is a newer version: 4.44.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/speech/v1/resource.proto

// Protobuf Java Version: 3.25.2
package com.google.cloud.speech.v1;

public interface PhraseSetOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.speech.v1.PhraseSet)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The resource name of the phrase set.
   * 
* * string name = 1; * * @return The name. */ java.lang.String getName(); /** * * *
   * The resource name of the phrase set.
   * 
* * string name = 1; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * A list of word and phrases.
   * 
* * repeated .google.cloud.speech.v1.PhraseSet.Phrase phrases = 2; */ java.util.List getPhrasesList(); /** * * *
   * A list of word and phrases.
   * 
* * repeated .google.cloud.speech.v1.PhraseSet.Phrase phrases = 2; */ com.google.cloud.speech.v1.PhraseSet.Phrase getPhrases(int index); /** * * *
   * A list of word and phrases.
   * 
* * repeated .google.cloud.speech.v1.PhraseSet.Phrase phrases = 2; */ int getPhrasesCount(); /** * * *
   * A list of word and phrases.
   * 
* * repeated .google.cloud.speech.v1.PhraseSet.Phrase phrases = 2; */ java.util.List getPhrasesOrBuilderList(); /** * * *
   * A list of word and phrases.
   * 
* * repeated .google.cloud.speech.v1.PhraseSet.Phrase phrases = 2; */ com.google.cloud.speech.v1.PhraseSet.PhraseOrBuilder getPhrasesOrBuilder(int index); /** * * *
   * Hint Boost. Positive value will increase the probability that a specific
   * phrase will be recognized over other similar sounding phrases. The higher
   * the boost, the higher the chance of false positive recognition as well.
   * Negative boost values would correspond to anti-biasing. Anti-biasing is not
   * enabled, so negative boost will simply be ignored. Though `boost` can
   * accept a wide range of positive values, most use cases are best served with
   * values between 0 (exclusive) and 20. We recommend using a binary search
   * approach to finding the optimal value for your use case as well as adding
   * phrases both with and without boost to your requests.
   * 
* * float boost = 4; * * @return The boost. */ float getBoost(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy