Colab Implementation on CWS
MM 0707
Colab執行細節
Git clone CWS project
!git clone https://github.com/jcyk/CWS.git
Fig.1 git clone files from github.
install genism modules
!pip install gensim
Fig.2 install genism modules.
install theano modules
!pip install theano
fig.3 install theano modules.
list the current folder to know current path situation
打commanding codels
以了解現在路徑位置
Fig.4 colab situation by type commanding code of "ls".
進入目標路徑
打commanding codecd CWS/src
以進入目標路徑
執行CWS程式
打commanding code !python test.py best_pku.npz ../data/pku_test somepath best_pku_config
,以執行CWS程式。
Fig.6 執行程式!python test.py best_pku.npz ../data/pku_test somepath best_pku_config