Skip to main content

Transcription & orthography toolset

Project description

copius_api

This is a Python-api to the transcription and orthography toolset at https://copius.eu/ortho.php:

"This toolset is a loose conglomeration of applications aiming to help you handle various character encodings, orthographies, transcriptions and transliterations you might encounter when working with Uralic languages and other languages of Europe and Northern Asia that use variants of the Latin or Cyrillic alphabet." (Copyright © 2021 COPIUS)

How to use:

>>> from copius_api import api
>>> api.transcribe("ke̮")
"kɘ"
>>> from copius_api import api
>>> api.transcribe("lol","kom","lc")
"лол"
>>> from copius_api import api
>>> api.transcribe("kiki","mns","9c")
"кики"
>>> from copius_api import api
>>> api.transcribe("буба","mns","c9")
"buba"

To see the language abbreviations:

>>> from copius_api import api
>>> api.lang_dict
{'Mari (Hill Mari)': 'mhr', 'Udmurt': 'udm', 'Komi': 'kom', 'Erzya': 'myv', 'Moksha': 'mdf', 'Mansi': 'mns', 'Tatar': 'tat', 'Bashkir': 'bak', 'Chuvash': 'chv', 'Russian': 'rus'}

To see the script abbrevations:

>>> from copius_api import api
>>> api.orth_dict
{'Cyrillic to Cyrillic': 'cc', 'Cyrillic to Latin': 'cl', 'Cyrillic to IPA': 'ci', 'Cyrillic to ISO9': 'c9', 'Latin to Cyrillic': 'lc', 'Latin to Latin': 'll', 'Latin to IPA': 'li', 'Latin to ISO9': 'l9', 'IPA to Cyrillic': 'ic', 'IPA to Latin': 'il', 'IPA to ISO9': 'i9', 'ISO9 to Cyrillic': '9c', 'ISO9 to Latin': '9l', 'ISO9 to IPA': '9i', '<1917 to Cyrillic': '3c', '<1917 to Latin': '3l', '<1917 to IPA': '3i', '<1917 to ISO9': '39'}

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

copius_api-1.4.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file copius_api-1.4.tar.gz.

File metadata

  • Download URL: copius_api-1.4.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for copius_api-1.4.tar.gz
Algorithm Hash digest
SHA256 b23a56b9b9c0398697c0d619441c811333dc72efe8f5743ba6e5c2eb4003e681
MD5 6a7ebc4140f71a9167dbd108329ab0fd
BLAKE2b-256 67492dd4a3903f7f243034c345633b1dbc47af82c8482ae302635d8467de73d1

See more details on using hashes here.

Supported by

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