Skip to content

Koziev/rusyllab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rusyllab

Build status

Simple Python 2/3 package for breaking Russian words into syllables.

Installation

Type in console:

pip install git+https://github.com/Koziev/rusyllab

API

Function split_word splits a word aand returns a list of syllables.

Function split_words processes the list of words and return the list of syllables and spaces for word separation.

Usage

Example:

import rusyllab

sx = rusyllab.split_words(u"Голодная кошка ловит мышку".split())
print('|'.join(sx))

Result:

Го|лод|на|я| |кош|ка| |ло|вит| |мыш|ку

About

Simple Python package for breaking Russian words into syllables

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages