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.2.0.tar.gz (5.0 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.2.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for huqitulib-1.2.0.tar.gz
Algorithm Hash digest
SHA256 f00d2b8bc2d17cb21d28145aa103d2c588f8d7e260c07fa374771224f05780f8
MD5 8e057830f22e4dd6b7f70610f9c45217
BLAKE2b-256 f39ba09cd8105f69951973add950b0754db823dbbac1e0c8a27f92bdbbf94f8c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: huqitulib-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b94094fd4003c09431da03db87b0b89b5d991a0cd2255196b00f80925eb8d0b0
MD5 f46c3cdf1be979a6a760e51945098ee6
BLAKE2b-256 4e0f01b5101d0540c8483a195359dd3fb8bdc7b5f1df93b4509a3c5892cd1ab9

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