Loading [Contrib]/a11y/accessibility-menu.js

用户工具

站点工具


zh:notes:install_brown

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
zh:notes:install_brown [2017/09/29 16:48]
pzczxs 创建
zh:notes:install_brown [2022/06/30 11:32] (当前版本)
pzczxs 讨论状态变化了
行 1: 行 1:
-====== ​安装Brown词聚类工具 ​====== +====== ​Install ​Brown Word Clustering Tool ====== 
-参考:https://​github.com/​percyliang/​brown-cluster+source: ​https://​github.com/​percyliang/​brown-cluster
  
-=====系统环境=====+===== Operation System ​=====
 CentOS 5.8(64 bits) CentOS 5.8(64 bits)
  
-===== 下载并安装 ​===== +===== Install gcc ===== 
-<​code>​ +By default, gcc is not installed in CentOS. ​ 
-wget https://​github.com/​percyliang/​brown-cluster/​archive/​master.zip +<​code ​bash
-unzip master +> yum install gcc-c++
-mv brown-cluster-master brown-cluster +
-cd brown-cluster +
-make+
 </​code>​ </​code>​
  
 +===== Download and Install =====
 +<code bash>
 +> 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
 +</​code>​
 +
 +==== Usage ====
 +This is an example. The words in the file <color red>​input.txt</​red>​ will be grouped into 50 clusters.
 +<code bash>
 +> ./wcluster --text input.txt --c 50
 +</​code>​
 +
 +~~DISCUSSION:​closed~~
zh/notes/install_brown.1506674930.txt.gz · 最后更改: 2017/09/29 16:48 由 pzczxs