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 crk-orthography
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!
As a Python module
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.11.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80b0806063e39ef9b51e3cbc632919d005099ef17c75f55715a73f53df592385 |
|
MD5 | f7eb992a2f7ff5b21ffd425e974ae703 |
|
BLAKE2b-256 | 10d3cbc4a69f5cbf67a6957a2fb2a57fa98c0a93d93f2d507c71eae7439739c3 |
Hashes for cree_sro_syllabics-2018.11.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ae6dc46a3e60d5a314797c8677cd1f12595af8523eec77600f82bbd3029fb20 |
|
MD5 | cbdd92436c0181bff6519b31765d19b8 |
|
BLAKE2b-256 | ef398de823e81cc7247368c6148080a09fc94762a32618f55bb1dd9601ad7bca |