Skip to main content

A python package to help avoid pitfalls when using unicode for linguistic data.

Project description

Multicode: Miscelleneous functions for handling unicode in transcriptions

Build Status codecov PyPI

General information

This repository provides code and data to normalize datasets, to avoid pitfalls of unicode when creating linguistic data, and to infer general information about digital data when dealing with it in linguistic contexts.

One major concern is the normalization of phonetic transcriptions. There are many lookalikes in unicode which linguists use without knowing that they are not what they initially want to write. Thus the character used to transcribe an alveolar voiceless fricative, for example, has three candidates in Unicode which look extremely similar: ʃ ∫ ꭍ, although only the first one is the character that should be used when writing phonetic transcriptions. Our goal is to provide ways to detect and normalize those cases which result from the confusion of Unicode characters when transcribing languages phonetically.

Other cases include specific writing systems, like CJK systems, where we want to offer services to more quickly handle them. These cases include the possibility to detect the Unicode code points of very rare characters by naming only the parts, but also simple Python functions that allow to determine whether a given character is a Chinese character or not.

Structure of the Repository

Our repository contains data and code. Data is represented in a custom CSV dialect, namely tab-separated, with | as optional secondary separator for field content. Unicode characters can be represented either as UTF-8 encoded strings, or using notation like U+0020.

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

multicode-0.2.0.tar.gz (148.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

multicode-0.2.0-py2.py3-none-any.whl (151.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file multicode-0.2.0.tar.gz.

File metadata

  • Download URL: multicode-0.2.0.tar.gz
  • Upload date:
  • Size: 148.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for multicode-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2559dbc925527b866335380d7c6c9fe69781b4411782a03f1487d8a0c7a09c48
MD5 962c932c91a985364d15468f24fde3db
BLAKE2b-256 81a80f609757a2ca45e6e70c95a0635aff71cce711cc2b1ea130f6ede44a57c5

See more details on using hashes here.

File details

Details for the file multicode-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for multicode-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8c4919d0751d47e299e4fcf0e308b77b602bb8ce4000d31d7b1e63de4a2ed26e
MD5 220d8add41cad62f4b4628a6339b990f
BLAKE2b-256 48392eb67e257bee90abc434fdf0654edb70a8f53fd6e78cb6f2282d693e12b3

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