📄 extractor.h
字号:
#define HAMDIR "samples\\ham\\"
#define SPAMDIR "samples\\spam\\"
typedef struct Feature
{
char word[18];
int tf;
Feature *next;
}Feature;
typedef struct dict
{
char str[18];
int len;
dict *next;
}dict;
typedef struct Document
{
int ID;
int c;
Feature *feature[4000];
}Document;
/*
typedef Feature ;
typedef dict ;
typedef Document ;
*/
void readDict();
int getIndex(char wordh,char wordl);
void statisticHam();
void statisticSpam();
void phaseSta();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -