会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
乐哈哈旅游视频网:
大智若愚 www.16lol.com
弱智da愚
博客园
首页
新随笔
联系
订阅
管理
list 字符查找
..
.
.
//
for(its=StopWordL.begin();its!=StopWordL.end();its++){
//
if(TermToDic.compare(*its)==0) {
//
cout<<"## stop word"<<*its<<endl;
//
return false;
//
}
//
is a stop word
//
else return true;
//
acout<<"test for TermToDic"<<TermToDic<<endl;
//
cout<<"test for StopWord:"<<*its<<endl;
its
=
find(StopWordL.begin(),StopWordL.end(),TermToDic);
if
(its
!=
StopWordL.end())
{
//
cout<<"test for StopWord:"<<*its<<endl;
//
cout<<"##############$$$$$$$$$$$$$$$$$$$$"<<endl;
return
false
;
}
else
return
true
;
..
.
.
这里自己些的那种查找某字段存在的方法好像行不通,改用没注释的倒是可以了!
posted on
2007-05-16 22:51
riky
阅读(
693
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
乐哈哈旅游视频网: