用户工具

站点工具


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.1598619262.txt.gz · 最后更改: 2020/08/28 20:54 由 pzczxs