Skip to main content

mongolian processing tools

Project description

My Mongolian Programing Tools

我的蒙古文相关编程工具

1. sort_skygalig_mgl

sort words as traditional mongolian order 拉丁词按蒙古文顺序排序

拉丁和顺序如下 'a', 'e', 'ë','i', 'o', 'u', 'ö', 'ü', 'n','b','p','x','g','m','l','s','š','t','d', 'č','ǰ','y','r','w','f','k','c','z','h','ž', 'lh','ĵi','ĉi'

使用方法:
from huqitulib import sort_skygalig_mgl

test_sorted = sorted([ 'enger', 'ente', 'enehu', ], key=sort_skygalig_mgl.sort_key)

sort_skygalig_mgl.sort_text_file(input_file, output_file="排序.txt")

sort_skygalig_mgl.sort_excel_file(input_file, output_file="排序.xlsx", column_index=0)

2. encode_converter

convert traditional mongolian latin to unicode 拉丁与传统蒙古文编码转换器

使用方法:
from huqitulib import encode_converter

encode_converter.convert_unicode_to_latin(unicode_word_list: list, output_word: list):

encode_converter.convert_latin_to_unicode(word_list: list, output_word: list):

encode_converter.convert_latin_to_unicode_file(in_file: str, out_file: str):

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

huqitulib-1.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

huqitulib-1.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file huqitulib-1.1.0.tar.gz.

File metadata

  • Download URL: huqitulib-1.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for huqitulib-1.1.0.tar.gz
Algorithm Hash digest
SHA256 27f7ce9b31fabf6d02ca61aa41cc83ddf2645dfea5dfd90bdd14da58c3b854bc
MD5 3cad7d108d3cf4cc49b27de9cebd557f
BLAKE2b-256 9b18e60dbd74207183f4f5547770358d338b93a4d0749586150cd7bfb9d4f580

See more details on using hashes here.

File details

Details for the file huqitulib-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: huqitulib-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for huqitulib-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac23a70975191b039946f3068bf45da153bd2261301dcc9f7fd085242edd3df0
MD5 6214f3d0a1fafad18dcc6d9069d81e33
BLAKE2b-256 df8d6114953b25f93bcfda5db32d85e73ab65a5f5f29e6a3b478d8964ea36442

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