Open topic with navigation

# Create the Language Classifier

You can use the language identification feature files to create a language classifier file.

To create a language classifier

1. Create a list that contains the names of all feature files. Include the file extensions but not the file paths.

   NOTE:

   The path is excluded so that you can move the data files at a later stage without needing to update the list. This is the case for most lists that IDOL Speech Server uses. You must provide the path in an action parameter when you send an action.

   For more information about IDOL Speech Server's list manager, see Create and Manage Lists.

2. Send an `AddTask` action to IDOL Speech Server, and set the following parameters:

   `Type` | The task name. Set to `LangIdTrain`.
   `Context` | If you are using telephony (8 kHz) data, set `Context` to `2` for best results.
   `DataList` | The list that specifies the feature files.
   `DataPath` | The path to the directory that contains the feature files specified in the `DataList`.
   `Out` | The name of the language classifier to create.

For example:

    http://localhost:15000/action=AddTask&Type=LangIdTrain&DataList=ListManager/FrenchList&DataPath=C:\LangID\Data&Out=FRFR.lcf

This action uses the feature files specified in the `FrenchList` list and stored in `C:\LangID\Data` to create the `FRFR.lcf` language classifier file.

This action returns a token. You can use the token to:

- Check the task status. See Check the Status of a Task.
- Retrieve the language classifier file. See Get Task Results.

© 2015-2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus 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