Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/libscribble/graffiti.h

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
Download the Plan 9 distribution.

#define NUM_RECS    3
#define DEFAULT_REC_DIR         "classsifiers"
#define REC_DEFAULT_USER_DIR    "/sys/lib/scribble/classifiers"
#define CLASSIFIER_DIR          "lib/classifiers"
#define DEFAULT_DIGITS_FILE     ""
#define DEFAULT_PUNC_FILE       ""

struct graffiti {
	/* 3 recognizers, one each for letters, digits, and punctuation: */
	recognizer					rec[3];
	/* directory in which the current classifier files are found: */
	char						cldir[200];
	/* pointer to training function: */
	li_recognizer_train			rec_train;
	/* pointer to function that lists the characters in the classifier file */
	li_recognizer_getClasses	rec_getClasses; 

extern char *cl_name[3];

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to