这是本文档旧的修订版!
CentOS 5.8(64 bits)
默认CentOS是不安装g++编译工具的,所以需要先安装该工具
> yum install gcc-c++
> wget https://github.com/percyliang/brown-cluster/archive/master.zip > unzip master > mv brown-cluster-master brown-cluster > cd brown-cluster > make
将文件input.txt聚成50个簇:
./wcluster --text input.txt --c 50
评论