2
2
Copyright (c) 1993-2008, Cognitive Technologies
5
����������� ��������� ��������������� � ������������� ��� � ���� ��������� ����,
6
��� � � �������� �����, � ����������� ��� ���, ��� ���������� ��������� �������:
8
* ��� ��������� ��������������� ��������� ���� ������ ���������� ���������
9
���� ����������� �� ��������� �����, ���� ������ ������� � �����������
11
* ��� ��������� ��������������� ��������� ���� � ������������ �/��� �
12
������ ����������, ������������ ��� ���������������, ������ �����������
13
��������� ���� ���������� �� ��������� �����, ���� ������ ������� �
14
����������� ����� �� ��������.
15
* �� �������� Cognitive Technologies, �� ����� �� ����������� �� �����
16
���� ������������ � �������� �������� ��������� �/��� �����������
17
���������, ���������� �� ���� ��, ��� ���������������� �����������
20
��� ��������� ������������� ����������� ��������� ���� �/��� ������� ������ "���
21
��� ����" ��� ������-���� ���� ��������, ���������� ���� ��� ���������������,
22
������� �������� ������������ �������� � ����������� ��� ���������� ����, �� ��
23
������������� ���. �� �������� ��������� ���� � �� ���� ������ ����, �������
24
����� �������� �/��� �������� �������������� ���������, �� � ���� ������ ��
25
��Ѩ� ���������������, ������� ����� �����, ���������, ����������� ���
26
������������� ������, ��������� � �������������� ��� ���������� ����������
27
������������� ������������� ��������� (������� ������ ������, ��� ������,
28
������� ���������, ��� ������ �/��� ������ �������, ���������� ��-�� ��������
29
������� ��� �/��� ������ ��������� �������� ��������� � ������� �����������,
30
�� �� ������������� ����� ��������), �� �� ������������� ���, ���� ���� �����
31
�������� ��� ������ ���� ���� �������� � ����������� ����� ������� � ������.
5
пЮГПЕЬЮЕРЯЪ ОНБРНПМНЕ ПЮЯОПНЯРПЮМЕМХЕ Х ХЯОНКЭГНБЮМХЕ ЙЮЙ Б БХДЕ ХЯУНДМНЦН ЙНДЮ,
6
РЮЙ Х Б ДБНХВМНИ ТНПЛЕ, Я ХГЛЕМЕМХЪЛХ ХКХ АЕГ, ОПХ ЯНАКЧДЕМХХ ЯКЕДСЧЫХУ СЯКНБХИ:
8
* оПХ ОНБРНПМНЛ ПЮЯОПНЯРПЮМЕМХХ ХЯУНДМНЦН ЙНДЮ ДНКФМШ НЯРЮБЮРЭЯЪ СЙЮГЮММНЕ
9
БШЬЕ СБЕДНЛКЕМХЕ НА ЮБРНПЯЙНЛ ОПЮБЕ, ЩРНР ЯОХЯНЙ СЯКНБХИ Х ОНЯКЕДСЧЫХИ
11
* оПХ ОНБРНПМНЛ ПЮЯОПНЯРПЮМЕМХХ ДБНХВМНЦН ЙНДЮ Б ДНЙСЛЕМРЮЖХХ Х/ХКХ Б
12
ДПСЦХУ ЛЮРЕПХЮКЮУ, ОНЯРЮБКЪЕЛШУ ОПХ ПЮЯОПНЯРПЮМЕМХХ, ДНКФМШ ЯНУПЮМЪРЭЯЪ
13
СЙЮГЮММЮЪ БШЬЕ ХМТНПЛЮЖХЪ НА ЮБРНПЯЙНЛ ОПЮБЕ, ЩРНР ЯОХЯНЙ СЯКНБХИ Х
14
ОНЯКЕДСЧЫХИ НРЙЮГ НР ЦЮПЮМРХИ.
15
* мХ МЮГБЮМХЕ Cognitive Technologies, МХ ХЛЕМЮ ЕЕ ЯНРПСДМХЙНБ МЕ ЛНЦСР
16
АШРЭ ХЯОНКЭГНБЮМШ Б ЙЮВЕЯРБЕ ЯПЕДЯРБЮ ОНДДЕПФЙХ Х/ХКХ ОПНДБХФЕМХЪ
17
ОПНДСЙРНБ, НЯМНБЮММШУ МЮ ЩРНЛ он, АЕГ ОПЕДБЮПХРЕКЭМНЦН ОХЯЭЛЕММНЦН
20
щрю опнцпюллю опеднярюбкемю бкюдекэжюлх юбрнпяйху опюб х/хкх дпсцхлх кхжюлх "йюй
21
нмю еярэ" аег йюйнцн-кхан бхдю цюпюмрхи, бшпюфеммшу ъбмн хкх ондпюгслебюелшу,
22
бйкчвюъ цюпюмрхх йнллепвеяйни жеммнярх х опхцндмнярх дкъ йнмйпермни жекх, мн ме
23
нцпюмхвхбюъяэ хлх. мх бкюдекеж юбрнпяйху опюб х мх ндмн дпсцне кхжн, йнрнпне
24
лнфер хглемърэ х/хкх онбрнпмн пюяопнярпюмърэ опнцпюллс, мх б йнел яксвюе ме
25
мея╗р нрберярбеммнярх, бйкчвюъ кчаше наыхе, яксвюимше, яоежхюкэмше хкх
26
онякеднбюбьхе сашрйх, ябъгюммше я хяонкэгнбюмхел хкх онмеяеммше бякедярбхе
27
мебнглнфмнярх хяонкэгнбюмхъ опнцпюллш (бйкчвюъ онрепх дюммшу, хкх дюммше,
28
ярюбьхе мецндмшлх, хкх сашрйх х/хкх онрепх днунднб, онмеяеммше хг-гю деиярбхи
29
рперэху кхж х/хкх нрйюгю опнцпюллш пюанрюрэ янблеярмн я дпсцхлх опнцпюллюлх,
30
мн ме нцпюмхвхбюъяэ щрхлх яксвюълх), мн ме нцпюмхвхбюъяэ хлх, дюфе еякх рюйни
31
бкюдекеж хкх дпсцне кхжн ашкх хгбеыемш н бнглнфмнярх рюйху сашрйнб х онрепэ.
33
33
Redistribution and use in source and binary forms, with or without modification,
34
34
are permitted provided that the following conditions are met:
82
82
// 10.01.1993 VERS-089;
83
83
/*----------------------------------------------------------------------*/
85
������������������������������������������������������������������
87
�� Copyright (C) 1990 Cognitive Technology Corporation. ��
88
�� All rights reserved. This program is proprietary and ��
89
�� a trade secret of Cognitive Technology Corporation. ��
91
������������������������������������������������������������������
85
шшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшш
87
шш Copyright (C) 1990 Cognitive Technology Corporation. шш
88
шш All rights reserved. This program is proprietary and шш
89
шш a trade secret of Cognitive Technology Corporation. шш
91
шшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшшш
94
94
#ifndef D_STICK_TYPES
95
95
#define D_STICK_TYPES
96
96
/*----------------------------------------------------------------------*/
97
typedef struct { INT row, /* row in c_comp */
97
typedef struct { int16_t row, /* row in c_comp */
98
98
col, /* column * 2 */
100
100
} center_interval;
101
101
/*----------------------------------------------------------------------*/
102
102
typedef struct // l->xxx, r->xxx;
105
105
mount[5], /* max flag in any zone. 0 - no flag */
106
106
conc[5], /* max concave in any zone. 0 - no concave */
107
107
m_pos[5], /* position of max flag in zone. 0-if no flag */
125
125
/*----------------------------------------------------------------------*/
126
126
typedef struct // s->xxx;
128
INT height, // height of c_comp
128
int16_t height, // height of c_comp
129
129
width , // width of c_comp
130
130
base_2, // second base line
131
131
base_3, // third base line
132
132
base_2mk, // MK EDITION of SECOND,
133
133
base_3mk, // THIRD,
134
134
base_4mk; // and FOURTH base lines 03.01.1994
136
136
l_f_symptom, // special signums for letter 'f'
137
137
r_f_symptom, // l:0,1,2,3 ; r : 0,1,2
138
138
t_TOP, // t^ or t~;
141
141
lll_nose_1, // MK: FLAT VERT part of NOSE >= 3
142
142
dis_slash, // diskrim letter '/'
143
143
dis_left_brace, dis_right_brace, // dis '(',')'
144
////// dis_OxBA, // diskrim � for his head
145
dis_0xBA, // diskrim � for his head
144
////// dis_OxBA, // diskrim ╨ for his head
145
dis_0xBA, // diskrim ╨ for his head
146
146
neck, // sign neck overlay base line 2
147
147
T_config, // similar 'T' (for Y-diskrim)
148
148
////// Y_config, // similar 'Y' (for T-diskrim)
164
164
up_dot_H, // Hight of DOT (0 - NO DOT !)
165
165
down_nose_1, // special for 1 : nose belong central zone
166
166
up_dot_W; // Width of DOT
168
168
inc_num, // 10.12.1993 (from inc_num_EEM)
169
169
up_dot_dCOL; // Displacement of DOT (use col)
170
BYTE num_lines; /* Number of with none single interval */
171
INT incline; /* Normal tg(stick)*2048 + line_incline */
170
uchar num_lines; /* Number of with none single interval */
171
int16_t incline; /* Normal tg(stick)*2048 + line_incline */
172
172
} STICK_SIGNUMS; // auxiliary information for
173
173
// stick diskrimination
174
174
/*----------------------------------------------------------------------*/
177
INT tg; /* tg = tangens*2048 */
178
INT num; /* 15.11.1993 MK NEW */
179
INT inc[128]; /* table of inc */
177
int16_t tg; /* tg = tangens*2048 */
178
int16_t num; /* 15.11.1993 MK NEW */
179
int16_t inc[128]; /* table of inc */
180
180
} INC_BASE; /* base tables of inc */
181
181
/*----------------------------------------------------------------------*/
182
182
#define ADD_PROB(c) (c->nvers ? (c->vers[0].prob - 4) : 254 )