Convert between Plains Cree SRO and syllabics
Project description
Plains Cree Orthography
Convert between nêhiyawêwin/ᓀᐦᐃᔭᐍᐏᐣ (Plains Cree Y-dialect) Standard Roman Orthography (SRO) and Canadian Aboriginal syllabics!
Install
pip install crk_orthography
Usage
As a Python module
Convert SRO to syllabics:
>>> from crk_orthography import sro2syllabics
>>> sro2syllabics('nêhiyawêwin')
'ᓀᐦᔭᐍᐏᐣ'
>>> sro2syllabics('write nêhiyawêwin')
'write ᓀᐦᐃᔭᐍᐏᐣ'
Convert syllabics to SRO:
>>> from crk_orthography import syllabics2sro
>>> syllabics2sro('ᐊᒋᒧᓯᐢ')
'acimosis'
>>> syllabics2sro(' → ᒪᐢᑫᑯᓯᕽ ᑎᕒᐁᕀᓬ ')
' → maskêkosihk tireyl '
On the command line
Once installed as a Python module, you can invoke its command line mode
by writing python3 -m crk_orthography
. When invoked this way, it
converts each line of input from SRO to syllabics.
$ echo "minôs" | python3 -m crk_orthography
ᒥᓅᐢ
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 crk_orthography-0.20180712.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87df915ec6ac65952ad08576a37caf2003f62f5b77abe0324ef4b749d6e50b57 |
|
MD5 | e98f1360b09c61f81f2e2ca62c4ff233 |
|
BLAKE2b-256 | 06e6fc98216a82dc38e5632e1ea9f70392a0be93f029b14ed3cdf0584c354bac |
Hashes for crk_orthography-0.20180712.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cef5b856fadf8bfc0a08076eadb0a85b934494f8087093136c0a1bc2a5ef5861 |
|
MD5 | a6acdd7fe843a370659510716116d9b8 |
|
BLAKE2b-256 | 87bd54a741cc619c6de431f3677134925e3449be4fa8e6fccb11def2a9deb10d |