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):

encode_converter.convert_latin_to_unicode_excel(in_file: str, out_file: str, column_index=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

huqitulib-1.2.3.tar.gz (5.2 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.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: huqitulib-1.2.3.tar.gz
  • Upload date:
  • Size: 5.2 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.3.tar.gz
Algorithm Hash digest
SHA256 468ffca7fd232b22895ee4ca8bcdf7523f01eff04a7ad1c10f8be372bfb7fd8f
MD5 d7d38638f21c42769fcb48121084107b
BLAKE2b-256 f7ffb6acb130e1be7af83e921b8060cdfd546f7386ee988cd7d78e8772c67ddb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: huqitulib-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 7.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 79476dd74fc0dd0d56a5fea79037e588ceb7b8e25b1d1a933465575d5dc2d8dd
MD5 6ada7d67f1c9f3bf24b2dd1d54e343e1
BLAKE2b-256 89a2f7e08e658f1a5ad878840646e589ecbcd086184a9a980a95367956b10e36

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