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-2019.2.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d7dd785372168cd1ab216f0709d8efe9045191f34e2a68f0f5b5c4ddd89e2e4 |
|
MD5 | 6ed75f9dc499aab8c3f636b53b71978f |
|
BLAKE2b-256 | c2bba55a02b551647827bada53294fd2f1f03248e1025fad586194df32b8a675 |
Hashes for cree_sro_syllabics-2019.2.18-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f56105276a2958c80efe7c9923e620cb9fbecf3c2de57e06c53b6a0415427a53 |
|
MD5 | e7ce8e3c58287b9e6ea383e353421861 |
|
BLAKE2b-256 | b2778980f54a1fa4357c15f7ddb5fb11db8cd61f554cc1fc425d1f3ba4e08d23 |