Skip to content

Kimice/ChineseMarkov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChineseMarkov

Base on Markov model and jieba chinese text segmentation

Inspired by hrs/markov-sentence-generator

Install

pip install chineseMarkov

Usage

import chineseMarkov

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

Releases

No releases published

Packages

No packages published

Languages