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-2020.5.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10d6b8c2bd82cf19b75109621e7bed478a573237a48b0c49abd11bbfb1b2c5bf |
|
MD5 | c0d611b1e745de87733f612cf34a72ea |
|
BLAKE2b-256 | 21ad1ebf6a280b451bc0a5cd0d19207d296d27a64b4b6aa062d362c982974b10 |
Hashes for cree_sro_syllabics-2020.5.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34058c89709226a0db02cdb2ae2f55ddee4521694af4dabc731aad368a2530a3 |
|
MD5 | 8807b867cbdad19e566da2385dec309f |
|
BLAKE2b-256 | bf67aafe4397bfc2d36fadf9cc941d29abddd6c41861f840a99e1e660b6873f8 |