<commit_before># README #

This README would normally document whatever steps are necessary to get your application up and running.

### What is this repository for? ###

* hanLP為 [hankcs](https://github.com/hankcs/HanLP) 所開發的中文NLP，這邊用python改寫成 api server 

* Version: 0.3.0


### How do I get set up? ###

* 用 git clone --depth 1 複製此專案

* 安裝 python3 及相關 pip套件
```
apt-get update;
apt-get install python3 python3-pip -y;
pip3 install pyyaml

```

* 安裝 java:8
ubuntu:16.10 安裝指令如下

```
apt-get install software-properties-common -y
add-apt-repository ppa:webupd8team/java 
apt-get update 
apt-get install oracle-java8-installer -y<commit_msg>README.md edited online with Bitbucket<commit_after># README #

This README would normally document whatever steps are necessary to get your application up and running.

### What is this repository for? ###

* hanLP為 [hankcs](https://github.com/hankcs/HanLP) 所開發的中文NLP，這邊用python改寫成 ap 


### How do I get set up? ###

* 用 git clone --depth 1 複製此專案

* 安裝 python3 及相關 pip套件
```
apt-get update;
apt-get install python3 python3-pip -y;
pip3 install pyyaml

```

* 安裝 java:8
ubuntu:16.10 安裝指令如下

```
apt-get install software-properties-common -y
add-apt-repository ppa:webupd8team/java 
apt-get update 
apt-get install oracle-java8-installer -y
{'fraction_non_alphanumeric': 0.11024237685691947, 'fraction_numerical': 0.02111024237685692, 'mean_word_length': 4.140562248995984, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5573337', 'n_tokens_mistral': 523, 'n_tokens_neox': 517, 'n_words': 144}