> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateTrainer Method of the ClassificationEngine Object

> CreateTrainer method of the ClassificationEngine object in the ABBYY FineReader Engine API — creates a Trainer object used to configure parameters and train a new classification model.

Creates a trainer object, which can then be used to set up the parameters and train a new classification model.

## Syntax

### C++

```cpp theme={null}
HRESULT CreateTrainer( ITrainer** Result );
```

### C\#

```csharp theme={null}
ITrainer CreateTrainer();
```

### Visual Basic .NET

```vb theme={null}
Function CreateTrainer() As ITrainer
```

## Parameters

Result

\[out, retval] A pointer to the ITrainer\* pointer variable that receives the interface pointer of the output [Trainer](/fine-reader/engine/api-reference/classification-related-objects/trainer) object.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[ClassificationEngine](/fine-reader/engine/api-reference/classification-related-objects/classificationengine)
