⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 local-trees.h

📁 SVMcfg: Learns a weighted context free grammar from examples. Training examples (e.g. for natural la
💻 H
字号:
/* 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -