If true
, the specified corpus overwrites an existing corpus with the same name. If false
, the request
fails if a corpus with the same name already exists. The parameter has no effect if a corpus with the same name
does not already exist.
A plain text file that contains the training data for the corpus. Encode the file in UTF-8 if it contains non-ASCII characters; the service assumes UTF-8 encoding if it encounters non-ASCII characters.
Make sure that you know the character encoding of the file. You must use that same encoding when working with the words in the custom language model. For more information, see Character encoding for custom words.
With the curl
command, use the --data-binary
option to upload the file for the request.
The name of the new corpus for the custom language model. Use a localized name that matches the language of the custom model and reflects the contents of the corpus.
user
, which is reserved by the service to denote custom words that are added or modified
by the user.base_lm
or default_lm
. Both names are reserved for future use by the service.The customization ID (GUID) of the custom language model that is to be used for the request. You must make the request with credentials for the instance of the service that owns the custom model.
Generated using TypeDoc
Parameters for the
addCorpus
operation.