add some case in ut

This commit is contained in:
gwdwyy 2013-07-11 11:55:27 +08:00
parent a0866f99f8
commit 48136abbd8

View File

@ -262,7 +262,9 @@ int main()
vector<string> res; vector<string> res;
//string title = "我来到北京清华大学"; //string title = "我来到北京清华大学";
string title = "特价camel骆驼 柔软舒适头层牛皮平底凉鞋女 休闲平跟妈妈鞋夏"; //string title = "特价camel骆驼 柔软舒适头层牛皮平底凉鞋女 休闲平跟妈妈鞋夏";
//string title = "包邮拉菲草18cm大檐进口草帽子超强遮阳防晒欧美日韩新款夏天 女";
string title = "2013新款19CM超大檐帽 遮阳草帽子 沙滩帽防晒大檐欧美新款夏天女";
cout<<title<<endl; cout<<title<<endl;
//segment.cutDAG(title, res); //segment.cutDAG(title, res);
segment.extract(title, res); segment.extract(title, res);