<commit_before>Pinyin
======

Chinese to pinyin translator based on [CC-CEDICT](http://cc-cedict.org/wiki/).

# Install
1. installing via Composer:

Next, update your project's composer.json file to include Pinyin:

```javascript
{
    "require": {
        "joychao/pingyin": "~1.0"
    }
}
```

2.download source file `src/Pinyin.php` and include it.

<commit_msg>support composer<commit_after>Pinyin
======

Chinese to pinyin translator based on [CC-CEDICT](http://cc-cedict.org/wiki/).

# Install
1. installing via Composer:

Next, update your project's composer.json file to include Pinyin:

```javascript
{
    "require": {
        "joychao/pingyin": "~1.0"
    }
}
```

2. download source file `src/Pinyin.php` and include it.


{'fraction_non_alphanumeric': 0.15258855585831063, 'fraction_numerical': 0.010899182561307902, 'mean_word_length': 3.6226415094339623, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2782922', 'n_tokens_mistral': 276, 'n_tokens_neox': 258, 'n_words': 68}