

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# カスタム語彙フィルターを使用して単語を削除、マスキング、またはフラグ付けする
<a name="vocabulary-filtering"></a>

カスタム語彙フィルターは、文字起こし出力で修正したい個々の単語のカスタムリストを含むテキストファイルです。

一般的な使用例としては、不快な言葉や冒涜的な用語の削除があります。ただし、カスタム語彙フィルターは完全にカスタム仕様なので、好きな単語を選択できます。たとえば、新製品の発売が間近に迫っている場合、会議の議事録に製品名をマスクすることができます。この場合、製品名は発売まで秘密にしておきながら、ステークホルダーに最新の情報を提供します。

語彙フィルタリングには `mask`、`remove`、および `tag` の 3 つの表示方法があります。次の例を参照して、それぞれの仕組みを確認します。
+ **マスク**: 指定された単語を 3 つのアスタリスク (\*\*\*) に置き換えます。

  ```
  "transcript": "You can specify a list of *** or *** words, and *** *** removes them from transcripts automatically."
  ```
+ **削除**: 指定した単語を削除し、その場所には何も残しません。

  ```
  "transcript": "You can specify a list of or words, and removes them from transcripts automatically."
  ```
+ **タグ**: 指定した各単語にタグ (`"vocabularyFilterMatch": true`) を追加しますが、単語そのものは変更しません。タグ付けにより、トランスクリプトの置換や編集をすばやく行うことができます。

  ```
  "transcript": "You can specify a list of profane or offensive words, and amazon transcribe removes them from transcripts automatically."
  {{...}}
      "alternatives": [
          {
              "confidence": "1.0",
              "content": "profane"
          }
      ],
      "type": "pronunciation",
      "vocabularyFilterMatch": true
  ```

文字起こしリクエストを送信するときに、カスタム語彙フィルターと適用するフィルタリング方法を指定できます。 Amazon Transcribe 次に、指定したフィルタリング方法に従って、文字起こしに表示される単語の完全一致を変更します。

カスタム語彙フィルターは、バッチおよびストリーミング文字起こしリクエストに適用できます。カスタム語彙フィルターを作成する方法については、「[語彙フィルターを作成する](vocabulary-filter-create.md)」を参照してください。カスタム語彙フィルターを適用する方法については、「[カスタム語彙フィルターの使用](vocabulary-filter-using.md)」を参照してください。

**注記**  
Amazon Transcribe は人種的に機密性の高い用語を自動的にマスクしますが、[AWS テクニカルサポート](https://aws.amazon.com/contact-us/)に連絡してこのデフォルトのフィルターをオプトアウトできます。

語彙フィルタリングのチュートリアルについては、以下を参照してください。

[![AWS Videos](http://img.youtube.com/vi/TcpSqbr0FnI/0.jpg)](http://www.youtube.com/watch?v=TcpSqbr0FnI)


**ボキャブラリーフィルタリングに固有の API 操作**  
 [https://docs.aws.amazon.com/transcribe/latest/APIReference/API_CreateVocabularyFilter.html](https://docs.aws.amazon.com/transcribe/latest/APIReference/API_CreateVocabularyFilter.html), [https://docs.aws.amazon.com/transcribe/latest/APIReference/API_DeleteVocabularyFilter.html](https://docs.aws.amazon.com/transcribe/latest/APIReference/API_DeleteVocabularyFilter.html), [https://docs.aws.amazon.com/transcribe/latest/APIReference/API_GetVocabularyFilter.html](https://docs.aws.amazon.com/transcribe/latest/APIReference/API_GetVocabularyFilter.html), [https://docs.aws.amazon.com/transcribe/latest/APIReference/API_ListVocabularyFilters.html](https://docs.aws.amazon.com/transcribe/latest/APIReference/API_ListVocabularyFilters.html), [https://docs.aws.amazon.com/transcribe/latest/APIReference/API_UpdateVocabularyFilter.html](https://docs.aws.amazon.com/transcribe/latest/APIReference/API_UpdateVocabularyFilter.html) 