Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

xyqyear/scel2rime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

scel2rime

A library to convert Sogou scel file to rime dictionary file.

Usage

from scel2rime import scel2rime

# scel_file_path: str
# output_rime_dict_path: str
# dict_name: str, should correspond to output_file_dict_path
#   i.e. output_rime_dict_path = '~/.config/ibus/rime/sogou.dict.yaml'
#        dict_name             = 'sogou'
# version: str, usually date. e.g. '2021-06-08'
scel2rime(scel_file_path, output_rime_dict_path, dict_name, version)

About

Convert Sogou scel file to rime dictionary file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages