Skip to main content

Mathics3 Module ICU - Human-Language Alphabets and Locales via PyICU

Project description

Pypi Installs Latest Version Supported Python Versions

Mathics3 Natural Language Toolkit module.

Mathics3 Module for ICU — International Components for Unicode

Functions that provide information from the Python ICU library.

Example Session

$ mathicsscript
In[1]:= LoadModule["pymathics.icu"]
Out[1]= pymathics.icu

In[2]= Alphabet["Croatian"]
Out[2]= {a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, r, s, t, u, v, z, ć, č, đ, š, ž, dž, lj, nj}

In[3]:= $Language
Out[3]= "English"

In[4]:= Alphabet[]
Out[4]= {a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z}

In[5]:= $Language="German"
Out[5]= "German"

In[6]:= Alphabet[]
Out[6]= {a, ä, b, c, d, e, f, g, h, i, j, k, l, m, n, o, ö, p, q, r, s, ß, t, u, ü, v, w, x, y, z}

In[7]:= AlphabeticOrder["Papá", "Papagayo", "Spanish"]
Out[7]= 1

In[8]:= AlphabeticOrder["Papá", "Papa", "Spanish"]
Out[8]= -1

In[8]:= AlphabeticOrder["Papá", ""Papá", "Spanish"]
Out[8]= 0

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

mathics3_module_pyicu-10.0.0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

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

mathics3_module_pyicu-10.0.0-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file mathics3_module_pyicu-10.0.0.tar.gz.

File metadata

  • Download URL: mathics3_module_pyicu-10.0.0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for mathics3_module_pyicu-10.0.0.tar.gz
Algorithm Hash digest
SHA256 7afaffbb4870224e0d0acec625430e77e06b238956162cce1651ae1d15202f16
MD5 369ffea3a423e9e92c12218d9889811c
BLAKE2b-256 cac498111c6f8e8941dfad1300d3f97c02080579571cc6955caa13e1fe85271c

See more details on using hashes here.

File details

Details for the file mathics3_module_pyicu-10.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mathics3_module_pyicu-10.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3a3222d1d7ef805abe003f85ddca266758940d5b429dfe57b101a8aaeaa261b
MD5 5478d097f3efed8520054bbb1d0a9db7
BLAKE2b-256 15489d9196e00d5336a6fac67cd1f0c6cce68b89f4f1e27af5a829705ab32346

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