Skip to main content

Convert between Plains Cree SRO and syllabics

Project description

Plains Cree Orthography

NAME CHANGED: cree-sro-syllabics.

Build Status Documentation Status PyPI package Calver MAJOR.YYYY0M0D.PATCH

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 crk_othography.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 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 '

See also

nêhiyawêwin syllabics

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


Download files

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

Source Distribution

crk_orthography-0.20181108.1.tar.gz (12.1 kB view hashes)

Uploaded Source

Built Distribution

crk_orthography-0.20181108.1-py2.py3-none-any.whl (31.3 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