In addition to the KADMOS developer kit the program chopper as well as classifiers with international character sets can be ordered. It is developed for programmers and users working with KADMOS classifiers. It offers the opportunity to create a customized (specialized) classifier. For some projects a smaller customized classifier is more suitable than the larger original. It makes sense to start Chopper from a console window (cmd.exe). With a white background and black foreground the color of chopper also changed. After the program starts, the following menu is displayed:
CHOPPER Version ##-##-#### KADMOS #.# ——————————————————————————————————————————————————————— Rec File (Input) : ttf.rec Alc File (Input) : Additional dialog : Rec File (Output) : test.rec Alc File (Output) : test.alc Lable File (Output): test.ini ———————————————————————————————————————————————————————
To enter source files, a selection window can be opened with F1
. The individual menu lines can be
reached with the cursor keys or with the mouse. The menu lines have the following meaning:
Rec File (Input)
Alc File (Input)
Additional dialog
Rec File (Output)
Alc File (Output)
Lable File (Output)
re_readparm()
before the call
of re?_do()
in case of OPTIONS_RESTRICT_LABELS
.If you have not used your own Alc file, or if you have used a prepared Alc file and the additional dialog is active, a menu such as the one listed below will appear. You can switch every item on or off.
Use/edit Alc defaults from ttf.rec ——————————————————————————————————————————————————————— [lcalpha] lower case alpha : yes [ucalpha] upper case alpha : yes [numeric] numeric : yes [special] special signs : yes [reject] avoid substitutions: yes ———————————————————————————————————————————————————————
f you have a prepared Alc file connected so there will be defined Alc groups set as default. For these Alc groups further label selection is impossible. If you don't have an Alc file connected or if you have an incomplete one, then you will get the categories corresponding to the classifier to switch labels on or off. Move the cursor with the mouse or the arrow keys to the desired labels and click or hit the space bar.
Selection of [lcalpha] - lower case alpha ——————————————————————————————————————————————————————— !g %g &g )2 )g -g >g @g ]g a a- a2 a4 ac ag b bg c c' c2 cg cv d d, dg dv e e- e. ec eg ev f f2 fg g g2 gc gg gu h hg i i- i2 ic ig iy i| j j- jg j| k kc kg l l' l, l2 lc lg lv lw lx l| m mg n n' nc ng nv o o! o- og p pg q q2 qg r r' r2 rc rg rv s s' s4 sc sg sv t t, t2 tg tv u u! u- u. uc ug v vg w wg x xg y yg z z' z. zg zv }2 }g ü é â ä à å ç ê ë è ï ï| î î| ì ì| æ ô ö ò û ù ÿ ø á í í| ó ú ñ ã i i2 i| ß õ ý ——————————————————————————————————————————————————————— Selection of [ucalpha] - upper case alpha ——————————————————————————————————————————————————————— A A- Ac Ag B Bg C C' Cg Cv D Dg Dv E E- E. Ec Eg Ev F Fg G Gc Gg Gu H Hg I I- I. I2 Ic Ig Iy I| J J- J. Jg K Kc Kg L L' L, Lc Lg Lv Lw M Mg N N' Nc Ng Nv O O! O- Og P Pg Q Q2 Qg R R' Rc Rg Rv S S' Sc Sg Sv T Tg Tv U U! U- U. Uc Ug V Vg W Wg X Xg Y Y: Yg Z Z' Z. Zg Zv Ç Ä Å É Æ Ö Ü Ø Ñ Á Â À Ã Ê Ë È Í Í| Î Î| Ï Ï| Ì Ì| Ó Ô Ò Õ Ú Û Ù Ý ——————————————————————————————————————————————————————— Selection of [numeric] - numeric ——————————————————————————————————————————————————————— 0 02 0w 1 12 1| 2 3 32 4 5 6 7 8 9 ——————————————————————————————————————————————————————— Selection of [special] - special signs ——————————————————————————————————————————————————————— ! " # $ % & ' '2 '| ( ) * *2 *4 + , ,| - . .g / : ; ;g < = > ? @ [ \ ] _ e$ ga ha sa { | } ~ £ ¿ ¡ ¢ ¥ § ° · ———————————————————————————————————————————————————————
Following the above selection menus, the menu below is displayed:
Verwenden der übrigen Vorgaben aus ttf.rec ——————————————————————————————————————————————————————— [slant] slant : yes [slant] korr : yes [width] equidistant : yes [width] proportional : yes [equivalence] disk : yes [equivalence] rename : yes [words] lcalpha : yes [words] ucalpha : yes [words] numeric : yes [fontgroup] ... : yes [segmentation] tryless: yes [segmentation] trymore: yes ———————————————————————————————————————————————————————
A KADMOS classifier not only contains character sets and its labels but also a lot of additional data. For example, size of characters, possibility of proportional or equidistant spacing, slant, etc. (see description of Alc files). In this menu you can select which default values for the input classifier file should be valid for the output classifier. If you mark a menu line by yes, the related default values from the input classifier file are taken (or the values from the input Alc file, if specified). In the case of no, all settings in this group are deleted. We recommend options be set to yes.
Selection of [reject] - avoid substitutions ——————————————————————————————————————————————————————— #X #x ———————————————————————————————————————————————————————
For creating a classifier it is not only important to describe the valid labels, but for high recognition accuracy it is essential to also describe which labels shall cause a rejection. To avoid recognition errors you can activate this labels in the category Select of [reject] - avoid substitutions. It should be noted that characters activated in Select of [reject] - avoid substitutions require almost the same computing time and memory space as if they were activated in their original categories. The new classifier will have approximately the same size as the source classifier if you have selected all labels from the reference to the categories of Select of [reject] - avoid substitutions. It is important to plan classifier customizing carefully. The entries for the labels #X and #x should always be active (#X, #x=segmentation failure).