tencentcloud-sdk-nodejs-intl-en 3.0.1387 → 3.0.1389

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5731,91 +5731,58 @@ class AsrParam extends AbstractModel {
5731
5731
  super();
5732
5732
 
5733
5733
  /**
5734
- * The model type used for the transcription service. Example: <code>"zh"</code>.
5735
-
5736
- Supported languages for speech-to-text:
5737
-
5738
- - <code>"zh"</code>: Chinese (Simplified) - Powered by the latest 16k large model engine. Supports Mandarin, English, multiple Chinese regional accents, and code-switching between Chinese and English.
5739
- - <code>"zh-TW"</code>: Chinese (Traditional)
5740
- - <code>"en"</code>: English
5741
- - <code>"vi"</code>: Vietnamese
5742
- - <code>"ja"</code>: Japanese
5743
- - <code>"ko"</code>: Korean
5744
- - <code>"id"</code>: Indonesian
5745
- - <code>"th"</code>: Thai
5746
- - <code>"pt"</code>: Portuguese
5747
- - <code>"tr"</code>: Turkish
5748
- - <code>"ar"</code>: Arabic
5749
- - <code>"es"</code>: Spanish
5750
- - <code>"hi"</code>: Hindi
5751
- - <code>"fr"</code>: French
5752
- - <code>"ms"</code>: Malay
5753
- - <code>"fil"</code>: Filipino
5754
- - <code>"de"</code>: German
5755
- - <code>"it"</code>: Italian
5756
- - <code>"ru"</code>: Russian
5757
- - <code>"sv"</code>: Swedish
5758
- - <code>"da"</code>: Danish
5759
- - <code>"no"</code>: Norwegian
5760
-
5761
- > **Note:** If the language you need is not listed, please contact our support team.
5734
+ * <p>The model type used by the transcription service. Example value "bigmodel-zh". The languages supported by different package versions of speech to text are as follows:</p><ol><li>V2 version (recommended)</li></ol><p>"bigmodel-xxx": large model engine, recommended for use. "xxx" can be filled with specific languages, such as "bigmodel-zh". "xxx" can be filled with Chinese ("zh"), English ("en"), Cantonese ("yue"), Arabic ("ar"), German ("de"), French ("fr"), Spanish ("es"), Portuguese ("pt"), Indonesian ("id"), Italian ("it"), Korean ("ko"), Russian ("ru"), Thai ("th"), Vietnamese ("vi"), Japanese ("ja"), Turkish ("tr"), Hindi ("hi"), Malay ("ms"), Dutch ("nl"), Swedish ("sv"), Danish ("da"), Finnish ("fi"), Polish ("pl"), Czech ("cs"), Filipino ("fil"), Persian ("fa"), Greek ("el"), Hungarian ("hu"), Macedonian ("mk"), Romanian ("ro").</p><ol start="2"><li>V1 version (legacy version)</li></ol><p>Standard language engine:</p><ul><li>"16k_zh_large": 16k large model engine, simultaneously supports Chinese, English, and multiple Chinese dialects with accent recognition.</li><li>"16k_zh_en": latest 16k Chinese-English large model engine, simultaneously supports Chinese, English, and multiple Chinese dialects with accent recognition, optimized for Chinese-English mixed scenarios.</li></ul><p>Advanced language engine:</p><ul><li>"zh-yue": Cantonese Chinese</li><li>"vi": Vietnamese</li><li>"ja": Japanese</li><li>"ko": Korean</li><li>"id": Indonesian</li><li>"th": Thai</li><li>"pt": Portuguese</li><li>"tr": Turkish</li><li>"ar": Arabic</li><li>"es": Spanish</li><li>"hi": Hindi</li><li>"fr": French</li><li>"ms": Malay</li><li>"fil": Filipino</li><li>"de": German</li><li>"it": Italian</li><li>"ru": Russian</li><li>"sv": Swedish</li><li>"da": Danish</li><li>"no": Norwegian</li></ul><p>Note:<br>If the language you need is not available, contact our technical support.</p>
5762
5735
  * @type {string || null}
5763
5736
  */
5764
5737
  this.Lang = null;
5765
5738
 
5766
5739
  /**
5767
- * The time for speech recognition vad ranges (ms) from 240 to 2000, with a default of 1000. A smaller value enables faster sentence segmentation in speech recognition.Example value: 1000.
5740
+ * <p>The time when speech recognition vad ranges from 240 to 2000, with a default of 1000. The unit is ms. A smaller value enables faster sentence segmentation for speech recognition.<br>Example value: 1000</p>
5768
5741
  * @type {number || null}
5769
5742
  */
5770
5743
  this.VadSilenceTime = null;
5771
5744
 
5772
5745
  /**
5773
- * Temporary hotword list: This parameter is used for improving recognition accuracy.
5774
-
5775
- - Hotword limit: "hotword|weight". Each hotword contains no more than 30 characters (10 Chinese characters max). Weight ranges from 1 to 11 or 100, for example: "Tencent Cloud|5" or "ASR|11".
5776
- - Restrictions for the temporary term list: multiple terms separated by commas, supports up to 128 terms, for example: "Tencent Cloud|10,speech recognition|5,ASR|11".
5777
-
5778
- > Note:
5779
- - When the hotword weight is set to 11, the current hotword will be upgraded to a super term. It is advisable to only set important and must-effective hotwords to 11. Setting too many hotwords with weight 11 will affect overall accuracy.
5780
- - When a hotword weight is set to 100, the hotword enhancement feature forces an exact match replacement: any recognized word that is a homophone of the configured hotword will be replaced with the hotword in the transcription output.
5781
- - For example, if the hotword Lyft|100 is configured, the word lift, which is phonetically identical, will always be transcribed as Lyft.
5782
- - Use this feature with caution. Only assign a weight of 100 to hotwords that are business-critical and must always appear verbatim in the output. Overuse of weight 100 hotwords may degrade overall transcription accuracy.
5783
- - Hot words cannot contain spaces, for example: ASR Tencent Cloud
5784
- - Example value: voice assistant|10
5746
+ * <p>Temporary term list: improves recognition accuracy by biasing the ASR engine toward specific terms.</p>
5747
+ <ul>
5748
+ <li>Single term format: term|weight. Each term must not exceed 30 characters (or 10 Chinese characters). Weight must be an integer from [1-11] or 100. Examples: Tencent Cloud|5, ASR|11.</li>
5749
+ <li>List format and limits: separate multiple terms with commas. Up to 128 terms are supported. Example: Tencent Cloud|10,speech recognition|5,ASR|11.<br>
5750
+ Note:<br>
5751
+ When the term weight is set to 11, the term is treated as a high-priority super term. Use weight 11 only for terms that are critical and must be recognized reliably. Setting too many terms to weight 11 may reduce overall accuracy.<br>
5752
+ When the term weight is set to 100, the term enables homophone replacement. For example, when the configuration is write|100, any recognized homophone of "write" (such as "right") is forcibly replaced with "write". Enable this feature only when needed, and reserve weight 100 for terms where homophone confusion is a real problem. Setting too many terms to weight 100 may reduce overall accuracy.<br>
5753
+ Terms must not contain spaces. Invalid example: ASR Tencent Cloud<br>
5754
+ Example value: voice assistant|10</li>
5755
+ </ul>
5785
5756
  * @type {string || null}
5786
5757
  */
5787
5758
  this.HotWordList = null;
5788
5759
 
5789
5760
  /**
5790
- * Fuzzy language detection is an advanced function, which is billed at the Advanced tier rate by default. Only Advanced tier languages are supported, excluding zh-dialect and zh-yue. Note: A maximum of 4 languages can be specified.
5791
-
5761
+ * <p>Fuzzy recognition is an advanced language engine feature. You can only specify advanced language engines other than zh-dialect and zh-yue. Note: You can specify up to 4 languages.</p>
5792
5762
  * @type {Array.<string> || null}
5793
5763
  */
5794
5764
  this.AlternativeLanguage = null;
5795
5765
 
5796
5766
  /**
5797
- * vad far-field voice suppression capacity (does not impact asr recognition accuracy), range [0, 3], default is 0. Recommended setting is 2 for better far-field voice suppression.
5767
+ * <p>The far-field voice suppression capacity of vad (without impacting asr recognition accuracy) ranges from [0, 3], defaulting to 0. Recommended setting is 2 for better far-field voice suppression capacity.</p>
5798
5768
  * @type {number || null}
5799
5769
  */
5800
5770
  this.VadLevel = null;
5801
5771
 
5802
5772
  /**
5803
- * Whether to filter out dirty words (currently only support basic language engine and standard language engine). Range: [0, 2]. Default value: 0.
5804
- 0: Not filtering; 1: Filter out dirty words; 2: Replace dirty words with "*".
5773
+ * <p>Whether to filter profanity (currently only support basic language engine and standard language engine), range [0, 2], default value 0.<br>0: not filter profanity; 1: filter dirty words; 2: replace with " * ".</p>
5805
5774
  * @type {number || null}
5806
5775
  */
5807
5776
  this.FilterDirty = null;
5808
5777
 
5809
5778
  /**
5810
- * Whether to filter filler words (currently only support basic language engine and standard language engine). Range: [0, 2]. Default value 0.
5811
- 0:No filtering; 1: Partial filtering; 2: Strict filtering.
5779
+ * <p>Whether to filter modal particles (currently only support basic language engine and standard language engine). Range: [0, 2]. Default value: 0.<br>0: Do not filter modal particles; 1: Partial filtering; 2: Strict filtering.</p>
5812
5780
  * @type {number || null}
5813
5781
  */
5814
5782
  this.FilterModal = null;
5815
5783
 
5816
5784
  /**
5817
- * Whether to filter periods at the end of sentences (currently only support basic language engine and standard language engine), range [0, 1], default value 0.
5818
- 0: Do not filter out periods at the end of sentences; 1: Filter out periods at the end of sentences.
5785
+ * <p>Whether to filter periods at the end of sentences (currently only support basic language engine and standard language engine), range [0, 1], default value 0.<br>0: does not filter periods at the end of sentences; 1: filter out periods at the end of sentences.</p>
5819
5786
  * @type {number || null}
5820
5787
  */
5821
5788
  this.FilterPunc = null;