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 details)

Uploaded Source

File details

Details for the file chineseMarkov-0.1.3.tar.gz.

File metadata

File hashes

Hashes for chineseMarkov-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b79562d271823df207bf45028a717c7c4509667845571bb59395ddf7a3c2cd5f
MD5 451a583989826c3570adc62b59a494e4
BLAKE2b-256 b1ffb960c74e4cbf37e7c620bc55a31642a058a22111765c75a8584c18a8edd9

See more details on using hashes here.

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