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 © 2018–2021 National Research Council Canada.
Licensed under the MIT license.
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
Close
Hashes for cree_sro_syllabics-2021.4.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ba5158163a285fbe824a2cd1b312612f731c1a33edde849de743cbbf0c48c0f |
|
MD5 | 1dfe05ff1a547575cdc15cb6b453969c |
|
BLAKE2b-256 | 640c4a662bda72140a57b7018222817b806da882911dd585c53f9d33535b29b7 |
Close
Hashes for cree_sro_syllabics-2021.4.16-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6596127128caa81a57c575618aab714a7f271ba4defab53e46f36b61a5a8e984 |
|
MD5 | 89fb82e81859ff90cd027482c65d205d |
|
BLAKE2b-256 | da9448019037d1993cd372c1960d83f21124ae3f8a5557235e24697a1a9b9b11 |