Categories Object (ICategories Interface)

This object represents a collection of Category objects. Use it to populate the categorized data set which will be used to train a classifier.

Notes:

  • The indexing of ABBYY FineReader Engine collections starts with 0.
  • The foreach statement in C# (for each in Visual Basic .NET) can be used to manipulate the collection.

Properties

Name Type Description
Count int, read-only Stores the number of elements in the collection.
Element Category, read-only Provides access to a single element of the collection.

Methods

Name Description
AddNew Creates a new category with the specified label and adds it into the collection.
DeleteAll Removes all the elements from the collection.
DeleteAt Removes an element from the collection.
Find Finds the category by the label.
Item Provides access to a single element of the collection.

Related objects

Object Diagram

Samples

This object is used in the Classification demo tool.

See also

Working with Collections

17.09.2024 15:14:40

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.