[e3d4e0a] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\CloudNaturalLanguage;
|
---|
| 19 |
|
---|
| 20 | class XPSSpeechEvaluationMetricsSubModelEvaluationMetric extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string
|
---|
| 24 | */
|
---|
| 25 | public $biasingModelType;
|
---|
| 26 | /**
|
---|
| 27 | * @var bool
|
---|
| 28 | */
|
---|
| 29 | public $isEnhancedModel;
|
---|
| 30 | /**
|
---|
| 31 | * @var int
|
---|
| 32 | */
|
---|
| 33 | public $numDeletions;
|
---|
| 34 | /**
|
---|
| 35 | * @var int
|
---|
| 36 | */
|
---|
| 37 | public $numInsertions;
|
---|
| 38 | /**
|
---|
| 39 | * @var int
|
---|
| 40 | */
|
---|
| 41 | public $numSubstitutions;
|
---|
| 42 | /**
|
---|
| 43 | * @var int
|
---|
| 44 | */
|
---|
| 45 | public $numUtterances;
|
---|
| 46 | /**
|
---|
| 47 | * @var int
|
---|
| 48 | */
|
---|
| 49 | public $numWords;
|
---|
| 50 | public $sentenceAccuracy;
|
---|
| 51 | public $wer;
|
---|
| 52 |
|
---|
| 53 | /**
|
---|
| 54 | * @param string
|
---|
| 55 | */
|
---|
| 56 | public function setBiasingModelType($biasingModelType)
|
---|
| 57 | {
|
---|
| 58 | $this->biasingModelType = $biasingModelType;
|
---|
| 59 | }
|
---|
| 60 | /**
|
---|
| 61 | * @return string
|
---|
| 62 | */
|
---|
| 63 | public function getBiasingModelType()
|
---|
| 64 | {
|
---|
| 65 | return $this->biasingModelType;
|
---|
| 66 | }
|
---|
| 67 | /**
|
---|
| 68 | * @param bool
|
---|
| 69 | */
|
---|
| 70 | public function setIsEnhancedModel($isEnhancedModel)
|
---|
| 71 | {
|
---|
| 72 | $this->isEnhancedModel = $isEnhancedModel;
|
---|
| 73 | }
|
---|
| 74 | /**
|
---|
| 75 | * @return bool
|
---|
| 76 | */
|
---|
| 77 | public function getIsEnhancedModel()
|
---|
| 78 | {
|
---|
| 79 | return $this->isEnhancedModel;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @param int
|
---|
| 83 | */
|
---|
| 84 | public function setNumDeletions($numDeletions)
|
---|
| 85 | {
|
---|
| 86 | $this->numDeletions = $numDeletions;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @return int
|
---|
| 90 | */
|
---|
| 91 | public function getNumDeletions()
|
---|
| 92 | {
|
---|
| 93 | return $this->numDeletions;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @param int
|
---|
| 97 | */
|
---|
| 98 | public function setNumInsertions($numInsertions)
|
---|
| 99 | {
|
---|
| 100 | $this->numInsertions = $numInsertions;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @return int
|
---|
| 104 | */
|
---|
| 105 | public function getNumInsertions()
|
---|
| 106 | {
|
---|
| 107 | return $this->numInsertions;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @param int
|
---|
| 111 | */
|
---|
| 112 | public function setNumSubstitutions($numSubstitutions)
|
---|
| 113 | {
|
---|
| 114 | $this->numSubstitutions = $numSubstitutions;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @return int
|
---|
| 118 | */
|
---|
| 119 | public function getNumSubstitutions()
|
---|
| 120 | {
|
---|
| 121 | return $this->numSubstitutions;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @param int
|
---|
| 125 | */
|
---|
| 126 | public function setNumUtterances($numUtterances)
|
---|
| 127 | {
|
---|
| 128 | $this->numUtterances = $numUtterances;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @return int
|
---|
| 132 | */
|
---|
| 133 | public function getNumUtterances()
|
---|
| 134 | {
|
---|
| 135 | return $this->numUtterances;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @param int
|
---|
| 139 | */
|
---|
| 140 | public function setNumWords($numWords)
|
---|
| 141 | {
|
---|
| 142 | $this->numWords = $numWords;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @return int
|
---|
| 146 | */
|
---|
| 147 | public function getNumWords()
|
---|
| 148 | {
|
---|
| 149 | return $this->numWords;
|
---|
| 150 | }
|
---|
| 151 | public function setSentenceAccuracy($sentenceAccuracy)
|
---|
| 152 | {
|
---|
| 153 | $this->sentenceAccuracy = $sentenceAccuracy;
|
---|
| 154 | }
|
---|
| 155 | public function getSentenceAccuracy()
|
---|
| 156 | {
|
---|
| 157 | return $this->sentenceAccuracy;
|
---|
| 158 | }
|
---|
| 159 | public function setWer($wer)
|
---|
| 160 | {
|
---|
| 161 | $this->wer = $wer;
|
---|
| 162 | }
|
---|
| 163 | public function getWer()
|
---|
| 164 | {
|
---|
| 165 | return $this->wer;
|
---|
| 166 | }
|
---|
| 167 | }
|
---|
| 168 |
|
---|
| 169 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 170 | class_alias(XPSSpeechEvaluationMetricsSubModelEvaluationMetric::class, 'Google_Service_CloudNaturalLanguage_XPSSpeechEvaluationMetricsSubModelEvaluationMetric');
|
---|