Skip to main content

Chinese Sentence Generator

Project description

# ChineseMarkov

Base on Markov model and [jieba](https://github.com/fxsjy/jieba) chinese text segmentation

Inspired by [hrs/markov-sentence-generator](https://github.com/hrs/markov-sentence-generator)


## Usage

```python
import chineseMarkov

gen = chineseMarkov.MarkovGenerator('data/sample.txt', length=2)
gen.get_sentence()

```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chineseMarkov-0.1.3.tar.gz (15.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page