Custom Dictionary

In this topic, you will learn how to use the Brightcove Custom Dictionary.
The Custom Dictionary can help you customize specific word replacements for Auto Captions.

Click on the Admin Menu and select Captions and translations.

Adding Manual Entries

  1. Write your entries using the following syntax:
              
                  original word or phrase,replaced word or phrase
              
            

  2. Click Save Dictionary

  3. You will see the message Captions dictionary updated successfully.

Adding Bulk Entries

To add entries in bulk, follow the next steps:

  1. Click Upload CSV File

  2. Open your file

  3. Click Upload CSV File
  4. You will see the message Captions dictionary updated successfully. and the Manual Update section will show your updated entries.

Triggering the Custom Dictionary

Select Use dictionary to activate the custom dictionary while Generating captions when uploading videos.

Using the API

You can also manage your custom captions dictionary programmatically using the Brightcove Ingest API.

  • To retrieve the current custom dictionary, send a GET request to:

            https://ingest.api.brightcove.com/v1/accounts/{account_id}/autocaption-dictionary
        

    Requires video-cloud/video/read scope.

  • To add or remove entries, send a PUT request to the same endpoint with a request body such as:
            {
      "add": {
        "hello": "hi",
        "world": "earth"
      },
      "remove": {
        "house": "home"
      }
    }
        

    Requires video-cloud/dynamic-ingest/create scope.

  • To use the dictionary during ingestion, include "use_dictionary": true next to the other transcription parameters in the ingestion request.