MCPcopy Create free account

hub / github.com/amzxyz/RIME-LMDG / functions

Functions889 in github.com/amzxyz/RIME-LMDG

↓ 2 callersFunctionload_metadata
(metadata_dir)
scripts/pinyin2aux.py:10
↓ 2 callersFunctionload_phrases_dict
载入用户自定义的词语拼音库 :param phrases_dict: 词语拼音库。比如: ``{u"阿爸": [[u"ā"], [u"bà"]]}`` :param style: phrases_dict 参数值的拼音库风格. 支持 'default', 'tone2' :
pypinyin/core.py:36
↓ 2 callersFunctionload_single_dict
载入用户自定义的单字拼音库 :param pinyin_dict: 单字拼音库。比如: ``{0x963F: u"ā,ē"}`` :param style: pinyin_dict 参数值的拼音库风格. 支持 'default', 'tone2' :type pinyin_
pypinyin/core.py:19
↓ 2 callersFunctionmain
()
pypinyin/runner.py:84
↓ 2 callersMethodpick_dir
(self, target: QLineEdit)
wanxiang-tools.py:7542
↓ 2 callersFunctionposix_pipe
Params ------ fin : binary file with `read(buf_size : int)` method fout : binary file with `write` (and optionally `flush`) methods
tqdm/cli.py:55
↓ 2 callersFunctionprepare_corpus_segments
Filter raw segments and build the shared ``index/text/gold`` slots.
rime-schema-compare/src/rime_schema_compare/benchmark_common.py:45
↓ 2 callersFunctionprepare_vendor_for_benchmark
Delete *.userdb under user_dir; ensure ``{schema_id}.custom.yaml`` sets ``translator/enable_user_dict: false``.
rime-schema-compare/src/rime_schema_compare/benchmark_env.py:71
↓ 2 callersFunctionprocess_file
(file_path, metadata, output_path)
scripts/pinyin2aux.py:29
↓ 2 callersFunctionprocess_input
(input_path, metadata, output_path)
scripts/pinyin2aux.py:101
↓ 2 callersFunctionprocess_single_file
(src: str, dst: str)
rime固定或用户词典刷新为带声调编码.py:213
↓ 2 callersFunctionprocess_single_file
(src: str, dst: str, aux_map: Dict[str, str])
rime固定或用户词典刷新为带辅助码编码.py:174
↓ 2 callersMethodreport
(self)
tqdm/_monitor.py:94
↓ 2 callersMethodreset
Resets to 0 iterations for repeated use. Consider combining with `leave=True`. Parameters ---------- total
tqdm/std.py:1360
↓ 2 callersMethodresolve_profile
(self, ime_key: str)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:233
↓ 2 callersFunctionright_mark_index
(pinyin_no_tone)
pypinyin/style/_tone_rule.py:31
↓ 2 callersFunctionrun_benchmark
( corpus_path: Path, out_dir: Path, rime_dll: Path, vendors: List[VendorConfig], corpus_la
rime-schema-compare/scripts/benchmark_sentences.py:606
↓ 2 callersMethodrun_update
(self)
wanxiang-tools.py:4297
↓ 2 callersFunctionsave_state
(file_name, line_idx, file_extracted)
rime-schema-compare/scripts/第一列验证.py:92
↓ 2 callersMethodscan_rime_directory
(self)
wanxiang-tools.py:5458
↓ 2 callersMethodselect_schema
选择输入方案 Args: session_id: 会话 ID schema_id: 方案 ID(例如:'luna_pinyin') Returns:
rime-schema-compare/src/rime_schema_compare/call_librime.py:722
↓ 2 callersMethodself_check
(self)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:491
↓ 2 callersFunctionsentence_to_shape_code_prefix_input
Concatenate each Hanzi's shape-code prefix; return empty string if any Hanzi is missing.
rime-schema-compare/src/rime_schema_compare/text_pipeline.py:219
↓ 2 callersMethodset_hover_state
(self, hovered)
wanxiang-tools.py:416
↓ 2 callersMethodset_hover_state
(self, hovered)
wanxiang-tools.py:889
↓ 2 callersMethodset_lock
Set the global lock.
tqdm/std.py:756
↓ 2 callersMethodshould_stop
(self)
wanxiang-tools.py:2331
↓ 2 callersMethodshow_buttons
(self)
wanxiang-tools.py:177
↓ 2 callersMethodstart
(self)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:444
↓ 2 callersFunctiontest_dll_wrapper
测试 DLL 包装器
rime-schema-compare/src/rime_schema_compare/call_librime.py:1259
↓ 2 callersFunctionto_finals
将 :py:attr:`~pypinyin.Style.TONE`、 :py:attr:`~pypinyin.Style.TONE2` 、 :py:attr:`~pypinyin.Style.TONE3` 或 :py:attr:`~pypinyin.Style.NORMAL`
pypinyin/style/_tone_convert.py:180
↓ 2 callersFunctionto_finals_tone2
将 :py:attr:`~pypinyin.Style.TONE`、 :py:attr:`~pypinyin.Style.TONE2` 或 :py:attr:`~pypinyin.Style.TONE3` 风格的拼音转换为 :py:attr:`~pypinyin.Style.
pypinyin/style/_tone_convert.py:237
↓ 2 callersFunctionto_finals_tone3
将 :py:attr:`~pypinyin.Style.TONE`、 :py:attr:`~pypinyin.Style.TONE2` 或 :py:attr:`~pypinyin.Style.TONE3` 风格的拼音转换为 :py:attr:`~pypinyin.Style.
pypinyin/style/_tone_convert.py:270
↓ 2 callersFunctiontone_to_tone3
将 :py:attr:`~pypinyin.Style.TONE` 风格的拼音转换为 :py:attr:`~pypinyin.Style.TONE3` 风格的拼音 :param tone: :py:attr:`~pypinyin.Style.TONE` 风格的拼音 :par
pypinyin/style/_tone_convert.py:371
↓ 2 callersMethodtrain
训练分词器 :param words: 词语列表
pypinyin/seg/mmseg.py:67
↓ 2 callersFunctionwrite_batch_to_file
将一个批次的词频数据写入文件。
语法模型构建.py:232
↓ 2 callersFunctionwrite_long_csv
(path: Path, rows: List[Dict[str, Any]])
rime-schema-compare/src/rime_schema_compare/reporting.py:96
↓ 2 callersFunctionwrite_long_csv_by_sentence
( path: Path, per_sentence: List[Dict[str, Any]], vendors: Sequence[Any], )
rime-schema-compare/src/rime_schema_compare/reporting.py:131
↓ 2 callersFunctionwrite_report_txt
( path: Path, *, generated_utc: str, title: str, engine_label: str, engine_value: str,
rime-schema-compare/src/rime_schema_compare/reporting.py:317
↓ 2 callersFunctionwrite_scheme_compare_txt
( path: Path, *, generated_utc: str, mode: str, per_sentence: List[Dict[str, Any]], ve
rime-schema-compare/src/rime_schema_compare/reporting.py:165
↓ 2 callersFunctionwrite_sentence_grouped_csv
( path: Path, per_sentence: List[Dict[str, Any]], vendors: Sequence[Any], )
rime-schema-compare/src/rime_schema_compare/reporting.py:250
↓ 2 callersFunctionwrite_summary_csv
(path: Path, rows: List[Dict[str, Any]])
rime-schema-compare/src/rime_schema_compare/reporting.py:50
↓ 1 callersFunctionCustomModeTab
wanxiang-updater/app/src/main/java/com/wanxiangupdater/MainActivity.kt:608
↓ 1 callersFunctionTRLock
threading RLock
tqdm/std.py:67
↓ 1 callersFunctionWanxiangDownloaderApp
wanxiang-updater/app/src/main/java/com/wanxiangupdater/MainActivity.kt:139
↓ 1 callersMethod__enter__
(self)
tqdm/std.py:1135
↓ 1 callersMethod__exit__
(self, exc_type, exc_value, traceback)
tqdm/std.py:1138
↓ 1 callersMethod__getattr__
(self, name)
tqdm/utils.py:139
↓ 1 callersMethod__init__
(self, frac, default_len=10, charset=UTF, colour=None)
tqdm/std.py:153
↓ 1 callersMethod__init__
Creates a new message in the given `chat_id`.
tqdm/contrib/telegram.py:28
↓ 1 callersMethod__init__
Creates a new message in the given `channel`.
tqdm/contrib/slack.py:28
↓ 1 callersMethod__init__
Creates a new message in the given `channel_id`.
tqdm/contrib/discord.py:31
↓ 1 callersMethod__init__
(self, **kwargs)
pypinyin/converter.py:30
↓ 1 callersMethod__len__
(self)
tqdm/std.py:1112
↓ 1 callersMethod__repr__
(self, pretty=False)
tqdm/notebook.py:80
↓ 1 callersMethod__setattr__
(self, name, value)
tqdm/utils.py:142
↓ 1 callersMethod__str__
(self)
tqdm/std.py:1150
↓ 1 callersFunction_aggregate_summaries
(per_corpus: Dict[str, Dict[str, Any]], vendors: List[VendorConfig])
rime-schema-compare/scripts/benchmark_sentences.py:570
↓ 1 callersFunction_base_dir
()
wanxiang-tools.py:23
↓ 1 callersMethod_bind_set_input
Prefer RimeSetInput (librime 1.9+) over RimeSimulateKeySequence for bulk pinyin.
rime-schema-compare/src/rime_schema_compare/call_librime.py:354
↓ 1 callersMethod_bu
For 不 bù: 不 is pronounced with second tone when followed by a fourth tone syllable. Example: 不是 (bù+shì, "to n
pypinyin/contrib/tone_sandhi.py:86
↓ 1 callersFunction_build_long_rows_by_sentence
( per_sentence: List[Dict[str, Any]], vendors: Sequence[Any], )
rime-schema-compare/src/rime_schema_compare/reporting.py:104
↓ 1 callersFunction_build_long_rows_by_sentence
Same columns as *_long.csv, rows ordered: sentence1×all vendors, sentence2×all vendors, …
rime-schema-compare/scripts/benchmark_sentences.py:291
↓ 1 callersMethod_build_profiles
(self, rows)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:368
↓ 1 callersFunction_build_sentence_grouped_rows
( per_sentence: List[Dict[str, Any]], vendors: Sequence[Any], )
rime-schema-compare/src/rime_schema_compare/reporting.py:215
↓ 1 callersFunction_build_sentence_grouped_rows
One row per (corpus, index, gold); each vendor gets input / correct / char% / prediction / error columns.
rime-schema-compare/scripts/benchmark_sentences.py:411
↓ 1 callersMethod_build_tab_aux
(self)
wanxiang-tools.py:4520
↓ 1 callersMethod_build_tab_more
(self)
wanxiang-tools.py:7231
↓ 1 callersMethod_build_tab_pinyin
(self)
wanxiang-tools.py:4464
↓ 1 callersMethod_build_tab_schema_config
(self)
wanxiang-tools.py:4604
↓ 1 callersMethod_build_tab_shuangpin
(self)
wanxiang-tools.py:4544
↓ 1 callersMethod_build_tab_update
(self)
wanxiang-tools.py:4022
↓ 1 callersFunction_build_translate_table
(char_groups: Sequence[Sequence[str]])
rime-schema-compare/src/rime_schema_compare/eval_synonyms.py:20
↓ 1 callersFunction_build_vendor_input
(vendor: VendorConfig, text: str, root: Path)
rime-schema-compare/scripts/词条获取.py:72
↓ 1 callersFunction_build_vendor_input
(vendor: VendorConfig, text: str, root: Path)
rime-schema-compare/scripts/benchmark_sentences.py:127
↓ 1 callersMethod_calculate_sha256
计算本地文件的 SHA256 (用于比对跳过下载)
wanxiang-tools.py:2538
↓ 1 callersMethod_check_exported_functions
检查 DLL 导出的函数
rime-schema-compare/src/rime_schema_compare/call_librime.py:370
↓ 1 callersMethod_check_url
(self, repo_cnb, repo_gh, pattern, specific_tag=None, task_type=None)
wanxiang-tools.py:2737
↓ 1 callersMethod_clean_dir_recursive
递归清理目录 (支持文件夹白名单 - 修改版)
wanxiang-tools.py:2671
↓ 1 callersMethod_convert_nopinyin_chars
转换没有拼音的字符。
pypinyin/converter.py:313
↓ 1 callersMethod_convert_style
(self, han, pinyin, style, strict, default, **kwargs)
pypinyin/converter.py:305
↓ 1 callersFunction_corpus_inputs
(root: Path, explicit_paths: Optional[Sequence[str]])
rime-schema-compare/scripts/benchmark_windows_pinyin.py:126
↓ 1 callersMethod_count_lines
快速统计单个文件行数
wanxiang-tools.py:2334
↓ 1 callersMethod_decr_instances
Remove from list and reposition another unfixed bar to fill the new gap. This means that by default (where all nested bars a
tqdm/std.py:687
↓ 1 callersMethod_deploy_linux_fcitx5_safe
Linux Fcitx5 部署方案 (使用 dbus-send)
wanxiang-tools.py:2607
↓ 1 callersMethod_deploy_linux_ibus
Linux IBus 部署方案 (保持原样)
wanxiang-tools.py:2640
↓ 1 callersMethod_detect_smart_root
智能解压根目录检测
wanxiang-tools.py:2903
↓ 1 callersMethod_download
增强版下载:带重试、断点续传保护、完整性校验
wanxiang-tools.py:2848
↓ 1 callersFunction_ensure_pypinyin_on_path
()
wanxiang-tools.py:26
↓ 1 callersMethod_ensure_schema_selected
确保已选择输入方案
rime-schema-compare/src/rime_schema_compare/call_librime.py:694
↓ 1 callersFunction_exact_map_by_sentence
( per_sentence: List[Dict[str, Any]], vendors: Sequence[Any], )
rime-schema-compare/src/rime_schema_compare/reporting.py:144
↓ 1 callersFunction_exact_map_by_sentence
Sentence key order + per-vendor exact (missing vendor → False).
rime-schema-compare/scripts/benchmark_sentences.py:333
↓ 1 callersFunction_filter_unavailable_vendors
(root: Path, vendors: List[VendorConfig])
rime-schema-compare/scripts/benchmark_sentences.py:86
↓ 1 callersMethod_find_main_window_for_pid
(self, pid: int)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:550
↓ 1 callersMethod_find_new_top_window
(self, baseline_hwnds: Set[int])
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:585
↓ 1 callersMethod_find_text_control
(self, parent_hwnd: int)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:595
↓ 1 callersMethod_get_candidates_via_iterator
使用候选词列表迭代器获取候选词(备用方法) Args: session_id: 会话 ID debug_mode: 是否启用调试模式 Returns:
rime-schema-compare/src/rime_schema_compare/call_librime.py:1136
↓ 1 callersFunction_get_first_found_console_logging_handler
(handlers)
tqdm/contrib/logging.py:40
↓ 1 callersMethod_get_linux_im_system
简单探测当前运行的输入法框架 (保持原样)
wanxiang-tools.py:2650
↓ 1 callersMethod_ime_key_for_description
(self, description: str)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:334
← previousnext →201–300 of 889, ranked by callers