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
File details
Details for the file cree_sro_syllabics-2021.7.26.tar.gz
.
File metadata
- Download URL: cree_sro_syllabics-2021.7.26.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15416226cea16d5dbab3c692f6c6b9ed1d649fbfb6c1c27364a0d80f1cc7e707 |
|
MD5 | 919948298909482037a371477907fadf |
|
BLAKE2b-256 | 2ed71dec0ca9b9a693818874f8f5c3318330bac0e0c9ffbad06eb5012569e20f |
File details
Details for the file cree_sro_syllabics-2021.7.26-py2.py3-none-any.whl
.
File metadata
- Download URL: cree_sro_syllabics-2021.7.26-py2.py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9486f76bb09fc94543dd92fc1a5ebcdea40d1e619b828e63146cf3845380611 |
|
MD5 | 07491a44ed6757117faa9b3fab006372 |
|
BLAKE2b-256 | 4aa4a7904eafce8a473020d79dbcb5566a6c47bfa09238da9a097b37d46498a6 |