Model Object (IModel Interface)

This object represents a trained model which can be used for classifying documents.

Properties

Name Type Description
CategoryLabels StringsCollection, read-only The list of categories into which the documents will be classified using this model.
ClassifierType ClassifierTypeEnum, read-only The type of classifier the model is using. The type depends on the document features that the classifier considers when assigning a category.
Languages StringsCollection, read-only

The languages for which the model was trained. This collection is empty if ClassifierType is CT_Image.

See Predefined Languages in ABBYY FineReader Engine for the list of the internal language names.

Methods

Name Description
Classify Uses the model to classify a given classification object.
SaveToFile Saves the model into a file on disk.

Related objects

Object Diagram

Output parameter

This object is the output parameter of the CreateModelFromFile method of the ClassificationEngine object.

Samples

This object is used in the Classification code sample.

See also

Document Classification

7/3/2024 8:50:10 AM

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.