Skip to main content

Convert between Western Cree SRO and syllabics

Project description

Cree SRO/Syllabics

Build Status codecov Documentation Status PyPI package Calver YYYY.MM.DD

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

nêhiyawêwin syllabics

License

Copyright © 2018–2021 National Research Council Canada.

Licensed under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cree_sro_syllabics-2021.4.16.tar.gz (11.7 kB view hashes)

Uploaded Source

Built Distribution

cree_sro_syllabics-2021.4.16-py2.py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page