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
Samples
This object is used in the Classification demo tool.
See also
9/17/2024 3:14:40 PM