loaddict.c

来自「NIST Handwriting OCR Testbed」· C语言 代码 · 共 22 行

C
22
字号
/*# proc: load_phrase_dictionary - loads the contents of the given filename into# proc:                          a phrase dictionary (mfs structure).*/#include <stdio.h>#include <mfs.h>#define PHRASES 20000MFS *load_phrase_dictionary(filename)char *filename;{   MFS *phrases;   phrases = readmfsfile(filename);   if(phrases->num > PHRASES)      fatalerr("digraph_encode_file", "phrase dictionary too long",               "length must equal PHRASES");   return(phrases);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?