Chinese Simplified (简体中文)

CreateModelFromFile Method of the ClassificationEngine Object

Loads the classification model from file.

Syntax

C++

HRESULT CreateModelFromFile(
  BSTR     FilePath,
  IModel** Result
);
    

C#

IModel CreateModelFromFile( string FilePath );
    

Visual Basic .NET

Function CreateModelFromFile(filePath As String) As IModel
    

Parameters

FilePath
[in] Specifies the full path to the file which contains a trained classification model. The file must have been created by the call to the SaveToFile method of the Model object.
Result
[out, retval] A pointer to the IModel* pointer variable that receives the interface pointer of the output Model object.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

ClassificationEngine

17.09.2024 15:14:41

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.