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:13000/action=AddTask&Type=LangIdTrain&DataList=ListManager/FrenchList&DataPath=C:\LangID\Data&Out=FRFR.lcf

This action uses port `13000` to instruct IDOL Speech Server, which is located on the local machine, to use 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 Find Recommended Language Resources to Use in a Task.

© 2013-2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! 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 AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm