...cws -v scws (scws-cli/1.1.8: Simpled Chinese Words Segment - Command line usage) 版本1.1.8
...he plain text dictionary to xdb format. Copyright (C)2007 by hightman. Usage: scws-gen-dict [options] [input file] [output file] -i Specified the plain text dictionary(default: dict.txt). -o Specified the output file path(default: dict.xdb) -c Specified the input ch...
...lspec(dllexport) scws_free(scws_t s); /* fork instance for multi-threaded usage, but they shared the dict/rules */ scws_t __declspec(dllexport)scws_fork(scws_t s); /* mode = SCWS_XDICT_XDB | SCWS_XDICT_MEM | SCWS_XDICT_TXT */ int __declspec(dllexport) scws_add_dict(scws_t s, const char *fpath,...
...// shuying.lee adds it //#define SCWS_SEG_MULTI 0x02 //#define SCWS_XDB_USAGE 0x04 #define SCWS_DEBUG 0x08 @@ -97,6 +98,7 @@ /* set ignore symbol or multi segments */ void scws_set_ignore(scws_t s, int yes); +void scws_use_rule(scws_t s, int yes); void scws_set_multi(scws_t s, int mode);...