?? li_recognizer_internal.h
字號:
/* * li_recognizer_internal.h * * Adapted from cmu_recognizer_internal.h. * Credit to Dean Rubine, Jim Kempf, and Ari Rapkin. */#ifndef _LI_RECOGNIZER_INTERNAL_H_#define _LI_RECOGNIZER_INTERNAL_H_#include <hre_internal.h>#include "sc.h"typedef struct PointList { int npts; int xrange, yrange; pen_point* pts; struct PointList* next;} point_list;typedef struct { char* file_name; /*The classifier file name.*/ sClassifier sc; /*The classifier.*/ point_list* ex[MAXSCLASSES]; /*The training examples.*/ char* cnames[MAXSCLASSES]; /*The class names.*/ point_list* canonex[MAXSCLASSES]; /* Canonicalized versions of the strokes. */ point_list* dompts[MAXSCLASSES]; /* Dominant points */} rClassifier;/*This structure contains extra fields for instance-specific data.*/typedef struct { /*Instance-specific data.*/ u_int li_magic; /*Just to make sure nobody's cheating.*/ rClassifier li_rc; /*The character classifier.*/} li_recognizer;/*Name of the default classifier file.*/#define LI_DEFAULT_CLASSIFIER_FILE "default.cl"/*Classifier file extension.*/#define LI_CLASSIFIER_EXTENSION ".cl"/*Locale supported by recognizer.*/#define LI_SUPPORTED_LOCALE REC_DEFAULT_LOCALE#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -