local-trees.h
来自「SVMcfg: Learns a weighted context free g」· C头文件 代码 · 共 29 行
H
29 行
/* local-trees.h
*
* Mark Johnson, 21st May 1997
*
* Identifiers for local tree counts
*/
#ifndef LOCAL_TREES_H
#define LOCAL_TREES_H
#define ROOT "'ROOT'"
#define REWRITES "-->"
#define CATSEP "-=|" /* separates categories */
#define BINSEP '_' /* joins new (binarized) categories */
#define PARENTSEP '^' /* parent label follows this char */
typedef unsigned long si_index; /* type of category indices */
#define SI_INDEX_MAX ULONG_MAX
typedef double FLOAT; /* type of floating point calculations */
#define MAXRHS 128 /* max length of prodn rhs */
#define MAXLABELLEN 2048 /* max length of a label */
#define MAXBLABELLEN 2048 /* max length of a binarized label */
#define NLABELS 128 /* guesstimate of no of category labels */
#define CHART_CELLS 16384 /* initial size of chart cells */
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?