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_unicode_to_latin_file与上面相反
encode_converter.convert_latin_to_unicode_excel(in_file: str, out_file: str, column_in_index=0, column_out_index=1): encode_converter.convert_unicode_to_latin_excel()与上面相反
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file huqitulib-1.2.5.tar.gz.
File metadata
- Download URL: huqitulib-1.2.5.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96729247fe0ab7b97f95591389f842975aa856717df71560139595c14d0a5068
|
|
| MD5 |
290c04d6f679e1463190167b2399bccc
|
|
| BLAKE2b-256 |
7df977e3c0f7eda479194b9b32ba0111fc7170ee390b221ef8e08d3dd0a66f90
|
File details
Details for the file huqitulib-1.2.5-py3-none-any.whl.
File metadata
- Download URL: huqitulib-1.2.5-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d4608d80d528a59ca3fe88d52eaa947874154351c29cc8f6abc7bc957df9f99
|
|
| MD5 |
968288af7552a31111087f5030a7ae32
|
|
| BLAKE2b-256 |
9551bfa40d83999b6018c930a7f011e952c9fcf4a5caa7ee6f364c206099dea4
|