word.h

来自「一个增量文本聚类的算法。 参考文献: Wai-chiu Wong, Ada 」· C头文件 代码 · 共 35 行

H
35
字号
#ifndef Word_h#define Word_h#include <stdio.h>#define MaxWordLen 100#define Threshold 0.858 struct node{    int ID;    struct node *next;};typedef struct node docNode;struct nnode{    char *name;    struct nnode *next;};typedef struct nnode nameNode;class Word{    public:	Word *left,*right;	nameNode *nameList; 	int occurrence,isFeat;	docNode *docList,*docListTail;	Word(char *str);	~Word();        int stemStrcmp(char *str);        int namecmp(char *name,char *str);    private:};#endif

⌨️ 快捷键说明

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