Skip to main content
TextCategoryEnum enumeration constants describe different categories of text that may be recognized using a text language.
typedef enum {
 TC_Unknown,
 TC_NaturalText,
 TC_TableCells,
 TC_FormFields,
 TC_Listing
} TextCategoryEnum;

Elements

NameDescription
TC\_FormFieldsThis constant describes the text of a fill-in form. This kind of text can contain numbers, single words or phrases. The syntax rules are therefore more relaxed than in natural language, and the spacing and punctuation rules are tuned to fit the text of fill-in forms.
TC\_ListingThis value corresponds to a text in a programming language or some other formal language.
TC\_NaturalTextThis value specifies the text in a natural language. It consists of sentences, sentences, in turn, consist of words in the natural language with rare inclusions of digits, punctuation marks, abbreviations, URL, etc.
TC\_TableCellsThis constant describes the text located in table cells. Generally, it contains numbers, single words, or phrases. Contents of the cells are semantically unrelated (or the relation is of a very general type).
TC\_UnknownThis value specifies the text of any type.

Used in

ITextLanguage::ImpliedTextCategory