摘要: 原始文件存储了每个特征项及其对应的IG值,一行一条记录,约11.7万行。#ifndef TERM_H#define TERM_H#include<string>using std::string;class term{private: string word; double ig;public: term(string word,double ig):word(word),ig(ig){ } string getWord() const{ return word; } void setIG(double newig){ ig=newig... 阅读全文
posted @ 2011-11-06 22:06 张朝阳 阅读(7356) 评论(1) 推荐(0) 编辑