用户工具

站点工具


zh:notes:install_brown

Install Brown Word Clustering Tool

Operation System

CentOS 5.8(64 bits)

Install gcc

By default, gcc is not installed in CentOS.

> yum install gcc-c++

Download and Install

> wget https://github.com/percyliang/brown-cluster/archive/master.zip
> unzip master
> mv brown-cluster-master brown-cluster
> rm -f master.zip
> cd brown-cluster
> make

Usage

This is an example. The words in the file <color red>input.txt</red> will be grouped into 50 clusters.

> ./wcluster --text input.txt --c 50
zh/notes/install_brown.txt · 最后更改: 2022/06/30 11:32 由 pzczxs