Skip to content
Simple Python package for breaking Russian words into syllables
Branch: master
Clone or download
Latest commit acc0147 Jan 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
rusyllab Fixed __init__.py Jan 19, 2019
.gitignore Initial commit Jan 12, 2019
.travis.yml Added Travis CI job file Jan 13, 2019
LICENSE
README.md Adding Travis-CI status Jan 13, 2019
setup.py Package refactoring: utils.py removed Jan 19, 2019

README.md

rusyllab

Build status

Simple Python 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:

Го|лод|на|я| |кош|ка| |ло|вит| |мыш|ку
You can’t perform that action at this time.