Python package for working with quantitative numerals in Russian.
Project description
Пакет Python для работы с количественными числительными русского языка.
Установка
pip install russian-numerals
# or
pip install git+https://gitlab.com/djbaldey/russian-numerals.git@master#egg=russian-numerals
Использование в консоли
russian-numerals "1234567890"
russian-numerals --handler=tons "1234567890.123456"
russian-numerals "восемь девятьсот двадцать четыре шестьсот сорок четыре девяносто девять сорок четыре"
russian-numerals --help
Использование в коде Python
from russian_numerals import prepare
print(prepare("1234567890"))
print(prepare("1234567890.123456", "tons"))
print(prepare("восемь девятьсот двадцать четыре шестьсот сорок четыре девяносто девять сорок четыре"))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
russian-numerals-0.1b0.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for russian_numerals-0.1b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe577ab35d7d0bc293ac994497b9ff252d3da0371b84cbb424b7862921c889f1 |
|
MD5 | c21b929bfa63c981d57764d155ffcbb2 |
|
BLAKE2b-256 | dcc48fb44e7edabbeab706056b362fc12c18f4b6b6dbe1a3bf178c825514b5f8 |