Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amzxyz/RIME-LMDG
/ functions
Functions
889 in github.com/amzxyz/RIME-LMDG
⨍
Functions
889
◇
Types & classes
107
↓ 1 callers
Function
refresh_aux
(cols: List[str], word: str, aux_map: Dict[str, str], userdb: bool, ignore_non_chinese: bool)
wanxiang-tools.py:2157
↓ 1 callers
Function
remove_all_userdbs
Remove directories (and any files) named *.userdb under user_dir.
rime-schema-compare/src/rime_schema_compare/benchmark_env.py:18
↓ 1 callers
Function
remove_tones
(pinyin_str: str)
滑动窗口验证给短语打分并清洗无用词条.py:33
↓ 1 callers
Function
repo_root
()
rime-schema-compare/scripts/scale_rime_dict_weights.py:27
↓ 1 callers
Method
restore_settings
(self)
wanxiang-tools.py:7669
↓ 1 callers
Function
run_blackbox_batch
( prepared_corpora: Sequence[PreparedCorpus], profile: ImeProfile, progress_every: int, *,
rime-schema-compare/scripts/benchmark_windows_pinyin.py:296
↓ 1 callers
Function
safe_decode_via_escape
利用原生 Escape 键清空输入框,安全且极速
rime-schema-compare/scripts/learning_mode.py:62
↓ 1 callers
Function
safe_decode_via_escape
利用原生 Escape 键清空输入框,安全且极速
rime-schema-compare/scripts/第一列验证.py:64
↓ 1 callers
Function
saveCustomTasks
wanxiang-updater/app/src/main/java/com/wanxiangupdater/MainActivity.kt:106
↓ 1 callers
Function
scale_line
If line looks like a dict entry with trailing integer weight, scale it.
rime-schema-compare/scripts/scale_rime_dict_weights.py:38
↓ 1 callers
Function
scan_data_directory
(target_dir: Path)
rime-schema-compare/scripts/词条获取.py:80
↓ 1 callers
Function
segment_corpus
对语料进行分词,并保存为输出文件。
语法模型构建.py:100
↓ 1 callers
Function
segment_has_dunhao_or_shuminghao
True if segment contains顿号 or CJK book title marks 《 or 》.
rime-schema-compare/src/rime_schema_compare/text_pipeline.py:140
↓ 1 callers
Method
send_command
发送命令到 rime_api_console.exe Args: command: 要发送的命令(例如:"congmingdeRime shurufa") timeout: 超时时间(秒)
rime-schema-compare/src/rime_schema_compare/call_librime.py:116
↓ 1 callers
Method
set_description
Set/modify description of the progress bar. Parameters ---------- desc : str, optional refresh : bool, opt
tqdm/std.py:1382
↓ 1 callers
Method
set_description_str
(self, desc=None, refresh=True)
tqdm/tk.py:146
↓ 1 callers
Method
set_direct_mode
核心控制:动态切换直写/补丁模式下的禁用与置灰状态
wanxiang-tools.py:531
↓ 1 callers
Method
set_direct_mode
(self, is_direct)
wanxiang-tools.py:663
↓ 1 callers
Method
set_direct_mode
(self, is_direct)
wanxiang-tools.py:743
↓ 1 callers
Method
set_direct_mode
(self, is_direct)
wanxiang-tools.py:807
↓ 1 callers
Method
set_input
直接设置会话的原始输入(与 Rime 内部 buffer 一致),一次调用完成。 需要较新的 librime(导出 ``RimeSetInput``)。整句拼音评测应优先用本方法, 避免 :meth:`simulate_key_sequence`
rime-schema-compare/src/rime_schema_compare/call_librime.py:778
↓ 1 callers
Method
set_value
(self, val_list)
wanxiang-tools.py:583
↓ 1 callers
Method
set_value
(self, val_dict)
wanxiang-tools.py:674
↓ 1 callers
Method
set_value
(self, val_dict)
wanxiang-tools.py:751
↓ 1 callers
Method
set_value
(self, val_dict)
wanxiang-tools.py:815
↓ 1 callers
Function
shuangpin_process_line
处理单行双拼转换
wanxiang-tools.py:2236
↓ 1 callers
Function
shuangpin_process_single_file
( src: str, dst: str, schema_key: str, in_sep: str, out_sep: str, is_jianma: bool, should_stop: Optio
wanxiang-tools.py:2263
↓ 1 callers
Function
simple_seg
将传入的字符串按是否是汉字来分割
pypinyin/seg/simpleseg.py:24
↓ 1 callers
Method
simulate_key_sequence
模拟按键序列 Args: key_sequence: 按键序列(例如:"congmingdeRime shurufa") Returns: 输出结果
rime-schema-compare/src/rime_schema_compare/call_librime.py:173
↓ 1 callers
Function
sort_dict
(src_dir, out_dir)
scripts/sort_dict.py:55
↓ 1 callers
Function
sort_dict
分组排序处理用户词典
scripts/fetch_any_dict.py:383
↓ 1 callers
Method
status_printer
Manage the printing and in-place updating of a line of characters. Note that if the string is longer than a line, then in-place
tqdm/std.py:439
↓ 1 callers
Method
status_printer
Manage the printing of an IPython/Jupyter Notebook progress bar widget.
tqdm/notebook.py:95
↓ 1 callers
Function
sync_repository
同步Git仓库(克隆时只获取最新版本)
scripts/fetch_any_dict.py:97
↓ 1 callers
Function
sync_rime
()
scripts/sync_rime.py:9
↓ 1 callers
Function
system_check
检查系统类型
wanxiang-tools.py:1972
↓ 1 callers
Function
test_console_wrapper
测试控制台包装器
rime-schema-compare/src/rime_schema_compare/call_librime.py:1221
↓ 1 callers
Method
to_bopomofo
(self, pinyin, **kwargs)
pypinyin/style/bopomofo.py:53
↓ 1 callers
Method
to_cyrillic
(self, pinyin, **kwargs)
pypinyin/style/cyrillic.py:56
↓ 1 callers
Function
to_finals_tone
将 :py:attr:`~pypinyin.Style.TONE`、 :py:attr:`~pypinyin.Style.TONE2` 或 :py:attr:`~pypinyin.Style.TONE3` 风格的拼音转换为 :py:attr:`~pypinyin.Style.
pypinyin/style/_tone_convert.py:210
↓ 1 callers
Method
to_normal
(self, pinyin, **kwargs)
pypinyin/style/others.py:15
↓ 1 callers
Method
to_tone2
(self, pinyin, **kwargs)
pypinyin/style/tone.py:20
↓ 1 callers
Method
to_tone3
(self, pinyin, **kwargs)
pypinyin/style/tone.py:25
↓ 1 callers
Function
tokenize_word
将词组按照汉字和非汉字块进行拆分
rime固定或用户词典刷新为带辅助码编码.py:57
↓ 1 callers
Function
tone2_to_normal
将 :py:attr:`~pypinyin.Style.TONE2` 风格的拼音转换为 :py:attr:`~pypinyin.Style.NORMAL` 风格的拼音 :param tone2: :py:attr:`~pypinyin.Style.TONE2` 风格的拼音
pypinyin/style/_tone_convert.py:405
↓ 1 callers
Function
tone2_to_tone3
将 :py:attr:`~pypinyin.Style.TONE2` 风格的拼音转换为 :py:attr:`~pypinyin.Style.TONE3` 风格的拼音 :param tone2: :py:attr:`~pypinyin.Style.TONE2` 风格的拼音 :
pypinyin/style/_tone_convert.py:453
↓ 1 callers
Function
tone3_to_normal
将 :py:attr:`~pypinyin.Style.TONE3` 风格的拼音转换为 :py:attr:`~pypinyin.Style.NORMAL` 风格的拼音 :param tone3: :py:attr:`~pypinyin.Style.TONE3` 风格的拼音
pypinyin/style/_tone_convert.py:476
↓ 1 callers
Function
tone_mark
seg = 'bin;sc' → 'bīn;sc'(仅根拼音加调)
rime固定或用户词典刷新为带声调编码.py:111
↓ 1 callers
Function
tone_mark
(seg: str)
wanxiang-tools.py:2042
↓ 1 callers
Method
trigger_update_from_dialog
由弹窗调用的自动更新触发器
wanxiang-tools.py:3999
↓ 1 callers
Function
tzip
Equivalent of builtin `zip`. Parameters ---------- tqdm_class : [default: tqdm.auto.tqdm].
tqdm/contrib/__init__.py:69
↓ 1 callers
Function
userdb_line
第1列: 拼音段(含后缀) | 第2列: 汉字 eg: 'bin;sc ma;um' + '编码' → 'biān;sc mǎ;um'
rime固定或用户词典刷新为带声调编码.py:149
↓ 1 callers
Method
uses_set_input
(self)
rime-schema-compare/src/rime_schema_compare/call_librime.py:367
↓ 1 callers
Function
wiki_process
处理wiki文件并保存 :param input_file: 输入文件路径 :param save_path: 保存文件路径
维基中文语料解析.py:42
↓ 1 callers
Function
wiki_replace
对wiki文章的内容进行替换和清理 :param d: 文章数据 :param openCC: OpenCC 实例,用于简体转换 :return: 处理后的文章内容
维基中文语料解析.py:14
↓ 1 callers
Method
wrapper_getattr
Actual `self.getattr` rather than self._wrapped.getattr
tqdm/utils.py:145
↓ 1 callers
Method
write
(data, *args, **kwargs)
tqdm/utils.py:236
↓ 1 callers
Method
write
(self, x, nolock=False)
tqdm/contrib/__init__.py:23
↓ 1 callers
Method
write_and_flush
(self, text: str)
rime-schema-compare/scripts/learning_mode.py:47
↓ 1 callers
Method
write_and_flush
(self, text: str)
rime-schema-compare/scripts/第一列验证.py:49
↓ 1 callers
Function
write_frequencies_to_file
将 n-gram 数据块写入文件。
语法模型构建.py:200
↓ 1 callers
Function
write_multi_summary_csv
( path: Path, summary_by_corpus: Dict[str, Dict[str, Any]], summary_overall: Dict[str, Any], v
rime-schema-compare/src/rime_schema_compare/reporting.py:396
Method
__aiter__
(self)
tqdm/asyncio.py:36
Method
__anext__
(self)
tqdm/asyncio.py:39
Method
__bool__
(self)
tqdm/std.py:1105
Method
__call__
Parameters ---------- x : float New value to include in EMA.
tqdm/std.py:231
Method
__contains__
(self, item)
tqdm/std.py:1131
Method
__contains__
(self, key)
pypinyin/seg/mmseg.py:91
Method
__del__
(self)
tqdm/std.py:1147
Method
__del__
(self)
tqdm/contrib/__init__.py:34
Method
__enter__
(self)
rime-schema-compare/src/rime_schema_compare/call_librime.py:197
Method
__enter__
(self)
tqdm/std.py:110
Method
__eq__
(self, other)
tqdm/utils.py:125
Method
__eq__
(self, other)
tqdm/utils.py:179
Method
__eq__
(self, other)
tqdm/utils.py:222
Method
__exit__
(self, exc_type, exc_val, exc_tb)
rime-schema-compare/src/rime_schema_compare/call_librime.py:201
Method
__exit__
(self, *exc)
tqdm/std.py:113
Method
__format__
(self, format_spec)
tqdm/std.py:186
Method
__format__
(self, _)
tqdm/utils.py:112
Method
__ge__
(self, other)
tqdm/utils.py:134
Method
__gt__
(self, other)
tqdm/utils.py:131
Method
__hash__
(self)
tqdm/std.py:1157
Method
__init__
(self, initial_value="", placeholder="")
wanxiang-tools.py:84
Method
__init__
(self, desc_text="")
wanxiang-tools.py:142
Method
__init__
(self, initial_key="", initial_val="", preset_keys=None)
wanxiang-tools.py:210
Method
__init__
(self, initial_val=None, is_pro=False, is_direct=False)
wanxiang-tools.py:454
Method
__init__
(self, initial_val=None, is_direct=False)
wanxiang-tools.py:630
Method
__init__
(self, initial_val=None, is_direct=False)
wanxiang-tools.py:712
Method
__init__
(self, initial_val=None, is_direct=False)
wanxiang-tools.py:776
Method
__init__
(self, initial_value=None, placeholder="")
wanxiang-tools.py:845
Method
__init__
(self, config: UpdateConfig)
wanxiang-tools.py:2516
Method
__init__
(self, parent, local_vers, remote_vers)
wanxiang-tools.py:3248
Method
__init__
(self, placeholder: str = "")
wanxiang-tools.py:3331
Method
__init__
(self, rime_dir, min_len, max_len, use_dedup, out_path)
wanxiang-tools.py:3351
Method
__init__
(self, parent=None, rime_dir="")
wanxiang-tools.py:3450
Method
__init__
(self, parent, file_path, key_name, error_details)
wanxiang-tools.py:3541
Method
__init__
(self, parent, file_path, key_name, lines_info)
wanxiang-tools.py:3603
Method
__init__
(self, rime_dir, files)
wanxiang-tools.py:3686
Method
__init__
(self, rime_dir, current_val)
wanxiang-tools.py:3732
Method
__init__
(self)
wanxiang-tools.py:3848
← previous
next →
501–600 of 889, ranked by callers