Convert between Western Cree SRO and syllabics
Project description
Cree SRO/Syllabics
Python 3 library to convert between Western Cree standard Roman Orthography (SRO) to syllabics and back again!
Can be used for:
- nêhiyawêwin/ᓀᐦᐃᔭᐍᐏᐣ/Cree Y-dialect
- nīhithawīwin/ᓃᐦᐃᖬᐑᐏᐣ/Cree Th-dialect
- nēhinawēwin/ᓀᐦᐃᓇᐍᐏᐣ/Cree N-dialect
Install
Using pip
:
pip install cree-sro-syllabics
Or, you can copy-paste or download cree_sro_syllabics.py
into
your own Python 3 project!
Usage
Visit the full documentation here! Wondering about words like "syllabics", "transliterator", or "orthography"? Visit the glossary!
Convert SRO to syllabics:
>>> from cree_sro_syllabics import sro2syllabics
>>> sro2syllabics('nêhiyawêwin')
'ᓀᐦᔭᐍᐏᐣ'
>>> sro2syllabics('write nêhiyawêwin')
'write ᓀᐦᐃᔭᐍᐏᐣ'
Convert syllabics to SRO:
>>> from cree_sro_syllabics import syllabics2sro
>>> syllabics2sro('ᐊᒋᒧᓯᐢ')
'acimosis'
>>> syllabics2sro(' → ᒪᐢᑫᑯᓯᕽ ᑎᕒᐁᕀᓬ ')
' → maskêkosihk tireyl '
See also
License
Copyright (C) 2018 Eddie Antonio Santos
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.
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
Built Distribution
Hashes for cree_sro_syllabics-2018.12.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2642b23b88089bcc4b17332a7a85bf80d13364fad27197c721e6a58c3f97d601 |
|
MD5 | 5ca3b0c4c6504bc3f74199e11643836a |
|
BLAKE2b-256 | d511b49b83eec4cc95f9a92b3cdb65646a80acd405d3494c67011f42930f3cac |
Hashes for cree_sro_syllabics-2018.12.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45105127df67cfa78432a586bd7af8571f2f88c4050fe1ae266983e34c809034 |
|
MD5 | d11dfbbff894fd0fec77f6619d3025b0 |
|
BLAKE2b-256 | 096a60663f7e13dd2fd978f423927dbb5a5dab35b8805b34edb46a960fece6ee |