Open topic with navigation

# ImportCustomSpeechLanguageModel

Imports a custom language model. You can use this action to import a custom language model that was exported from Media Server 12.0.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`identifier` | A unique identifier for the custom language model. If you do not set this parameter, Media Server generates an identifier automatically. | No
`modeldata` | The custom language model data. You must upload files as multipart/form-data. For more information about sending data to Media Server, refer to the Media Server Administration Guide. | Set this or `modelpath`
`modelpath` | The path to the custom language model to import. The path must be absolute, or relative to the Media Server executable file. | Set this or `modeldata`

## Example

The following example imports a custom language model by specifying a file path:

    /action=ImportCustomSpeechLanguageModel&identifier=MedicalTerms&modelpath=model.dat

The following example sends the data:

    curl http://localhost:14000 -F action=ImportCustomSpeechLanguageModel
                                -F identifier=MedicalTerms
                                -F modeldata=@model.dat

## Response

The following XML is an example response:

    <autnresponse>
      <action>IMPORTCUSTOMSPEECHLANGUAGEMODEL</action>
      <response>SUCCESS</response>
      <responsedata></responsedata>
    </autnresponse>

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm