MCPcopy Create free account

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

Functions889 in github.com/amzxyz/RIME-LMDG

↓ 3 callersMethoddecode_input_in_batch
Decode one sentence using the session from :meth:`begin_decode_batch`.
rime-schema-compare/src/rime_schema_compare/rime_runner.py:120
↓ 3 callersMethoddisplay
Use `self.sp` to display `msg` in the specified `pos`. Consider overloading this function when inheriting to use e.g.: `self
tqdm/std.py:1464
↓ 3 callersMethodenterEvent
(self, event)
wanxiang-tools.py:117
↓ 3 callersMethodfeed_input
Set raw input in one shot when supported, else fall back to key simulation.
rime-schema-compare/src/rime_schema_compare/call_librime.py:793
↓ 3 callersFunctionfilter_non_chinese
(word: str)
wanxiang-tools.py:2050
↓ 3 callersMethodget_existing_directory
(self, title: str)
wanxiang-tools.py:4438
↓ 3 callersMethodget_open_file
(self, title: str, name_filter: str)
wanxiang-tools.py:4426
↓ 3 callersFunctionget_rime_version
()
scripts/get_rime_version.py:10
↓ 3 callersMethodget_save_file
(self, title: str, default_name: str, name_filter: str)
wanxiang-tools.py:4450
↓ 3 callersMethodhandle_nopinyin
处理没有拼音的字符串。 处理前会调用 ``pre_handle_nopinyin`` 方法, 处理后会调用 ``post_handle_nopinyin`` 方法。 :param chars: 待处理的没有拼音的字符串 :param
pypinyin/converter.py:158
↓ 3 callersMethodinitialize
初始化 Rime Args: app_name: 应用程序名称 shared_data_dir: 共享数据目录(可选,默认使用 DLL 所在目录) user_data_dir:
rime-schema-compare/src/rime_schema_compare/call_librime.py:451
↓ 3 callersMethodinput_dict_path
(self, root: Optional[Path] = None)
rime-schema-compare/src/rime_schema_compare/config.py:40
↓ 3 callersFunctionis_pure_hanzi_segment
True iff non-empty and every codepoint is a CJK unified ideograph (no digit/letter/symbol).
rime-schema-compare/src/rime_schema_compare/text_pipeline.py:145
↓ 3 callersFunctionlazy_pinyin
将汉字转换为拼音,返回不包含多音字结果的拼音列表. 与 :py:func:`~pypinyin.pinyin` 的区别是返回的拼音是个字符串, 并且每个字只包含一个读音. :param hans: 汉字字符串( ``'你好吗'`` )或列表( ``['你好', '吗']`
pypinyin/core.py:327
↓ 3 callersMethodleaveEvent
(self, event)
wanxiang-tools.py:123
↓ 3 callersFunctionlevenshtein
Classic O(len(a)*len(b)) DP; sufficient for sentence-length strings.
rime-schema-compare/src/rime_schema_compare/metrics.py:6
↓ 3 callersMethodlog
(self, msg: str)
wanxiang-tools.py:2318
↓ 3 callersMethodon_nav_item_clicked
物理翻页,双缓存秒切隔离
wanxiang-tools.py:5588
↓ 3 callersMethodpandas
Registers the current `tqdm` class with pandas.core. ( frame.DataFrame | series.Series | grou
tqdm/std.py:768
↓ 3 callersMethodpick_output
(self, target: QLineEdit)
wanxiang-tools.py:7539
↓ 3 callersFunctionpinyin
将汉字转换为拼音,返回汉字的拼音列表。 :param hans: 汉字字符串( ``'你好吗'`` )或列表( ``['你好', '吗']`` ). 可以使用自己喜爱的分词模块对字符串进行分词处理, 只需将经过分词处理的字
pypinyin/core.py:224
↓ 3 callersMethodpost_pinyin
找到汉字对应的拼音后,会调用 ``post_pinyin`` 方法。 如果返回值不为 ``None`` 会使用返回的结果作为 han 的拼音数据。 :param han: 单个汉字或者词语 :param heteronym: 是否需要处理多音字
pypinyin/converter.py:227
↓ 3 callersFunctionreplace_symbol_to_no_symbol
把带声调字符替换为没有声调的字符
pypinyin/style/_utils.py:81
↓ 3 callersFunctionrun_git_command
执行git命令并返回是否成功
scripts/fetch_any_dict.py:35
↓ 3 callersMethodseg
对汉字进行分词。 分词前会调用 ``pre_seg`` 方法,分词后会调用 ``post_seg`` 方法。 :param hans: :return:
pypinyin/core.py:150
↓ 3 callersFunctionsegment_has_ascii_digit_or_letter
True if segment contains ASCII digit or Latin letter (after strip, any position).
rime-schema-compare/src/rime_schema_compare/text_pipeline.py:151
↓ 3 callersFunctionsentence_exact_match
(pred: str, gold: str)
rime-schema-compare/src/rime_schema_compare/metrics.py:24
↓ 3 callersMethodset_key_value
(self, k, v)
wanxiang-tools.py:368
↓ 3 callersMethodset_postfix
Set/modify postfix (additional stats) with automatic formatting based on datatype. Parameters ---------- ord
tqdm/std.py:1402
↓ 3 callersFunctionshared_data_dir
(root: Optional[Path] = None)
rime-schema-compare/src/rime_schema_compare/config.py:20
↓ 3 callersMethodstop
停止进程
rime-schema-compare/src/rime_schema_compare/call_librime.py:185
↓ 3 callersFunctionstrip_tones
去除拼音中的声调符号和数字
模型排序.py:26
↓ 3 callersFunctionsummary_csv_rows_for_block
( corpus_label: str, block: Dict[str, Any], vendors: Sequence[Any], )
rime-schema-compare/src/rime_schema_compare/reporting.py:21
↓ 2 callersMethod__init__
This class accepts the following parameters *in addition* to the parameters accepted by `tqdm`. Parameters ---------
tqdm/rich.py:75
↓ 2 callersMethod__iter__
Backward-compatibility to use: for x in tqdm(iterable)
tqdm/std.py:1160
↓ 2 callersMethod_build_and_cache_yaml_ui
(self, target_id, activate=False, force_direct_mode=None)
wanxiang-tools.py:5650
↓ 2 callersMethod_candidate_top_windows
(self)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:569
↓ 2 callersMethod_check_conflict_paging
(self, text, lbl, item)
wanxiang-tools.py:5406
↓ 2 callersFunction_compare_title
(profiles: Sequence[ImeProfile])
rime-schema-compare/scripts/benchmark_windows_pinyin.py:149
↓ 2 callersMethod_create_cfg_tree
工厂函数:生成带绝美样式的 QTreeWidget
wanxiang-tools.py:4752
↓ 2 callersMethod_decode_from_input
(self, session_id: int, raw_input: str)
rime-schema-compare/src/rime_schema_compare/rime_runner.py:107
↓ 2 callersFunction_engine_value
(profiles: Sequence[ImeProfile])
rime-schema-compare/scripts/benchmark_windows_pinyin.py:155
↓ 2 callersMethod_ensure_chinese_mode
(self)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:632
↓ 2 callersFunction_executor_map
Implementation of `thread_map` and `process_map`. Parameters ---------- tqdm_class : [default: tqdm.auto.tqdm]. max_workers :
tqdm/contrib/concurrent.py:29
↓ 2 callersFunction_finalize_summary
Add human-facing rates: sentence = exact/total; character = 1 − (edits/gold_len) (micro, Levenshtein).
rime-schema-compare/scripts/benchmark_sentences.py:148
↓ 2 callersFunction_footer_note
(profiles: Sequence[ImeProfile])
rime-schema-compare/scripts/benchmark_windows_pinyin.py:161
↓ 2 callersFunction_format_timings_lines
(timings: Dict[str, Any], indent: str = " ")
rime-schema-compare/scripts/benchmark_sentences.py:473
↓ 2 callersMethod_get_active_bindings
公用小工具:统一获取当前生效的快捷键列表 (全域文件扫描)
wanxiang-tools.py:4807
↓ 2 callersMethod_get_api
获取 API 数据 (保持原样)
wanxiang-tools.py:2712
↓ 2 callersFunction_get_number_from_pinyin
(pinyin)
pypinyin/style/_tone_convert.py:558
↓ 2 callersFunction_is_console_logging_handler
(handler)
tqdm/contrib/logging.py:35
↓ 2 callersFunction_letters_only
(s: str)
rime-schema-compare/src/rime_schema_compare/text_pipeline.py:176
↓ 2 callersMethod_on_scheme_changed
(self, text)
wanxiang-tools.py:565
↓ 2 callersMethod_open_next_file
(self)
rime-schema-compare/scripts/learning_mode.py:34
↓ 2 callersMethod_open_next_file
(self)
rime-schema-compare/scripts/第一列验证.py:36
↓ 2 callersMethod_phrase_pinyin
词语拼音转换. :param phrase: 词语 :param errors: 指定如何处理没有拼音的字符 :param strict: 只获取声母或只获取韵母相关拼音风格的返回结果 是否严格遵照《汉语
pypinyin/converter.py:242
↓ 2 callersMethod_press_space
(self)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:690
↓ 2 callersFunction_report_title
(profiles: Sequence[ImeProfile])
rime-schema-compare/scripts/benchmark_windows_pinyin.py:143
↓ 2 callersFunction_run_powershell
(command: str)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:188
↓ 2 callersMethod_send_ascii_keys
(self, text: str)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:682
↓ 2 callersFunction_sentence_grouped_fieldnames
(vendors: Sequence[Any])
rime-schema-compare/src/rime_schema_compare/reporting.py:67
↓ 2 callersFunction_sentence_grouped_fieldnames
(vendors: List[VendorConfig])
rime-schema-compare/scripts/benchmark_sentences.py:263
↓ 2 callersMethod_single_pinyin
单字拼音转换. :param han: 单个汉字 :param errors: 指定如何处理没有拼音的字符,详情请参考 :py:func:`~pypinyin.pinyin` :param strict:
pypinyin/converter.py:283
↓ 2 callersMethod_start_and_deploy_from_main
(self)
wanxiang-tools.py:7219
↓ 2 callersFunction_supports_unicode
(fp)
tqdm/utils.py:266
↓ 2 callersMethod_toggle_skip_box
(self)
wanxiang-tools.py:4515
↓ 2 callersFunction_tsf_powershell
(command: str)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:170
↓ 2 callersFunction_vendor_summary_lines
(vendor_key: str, summary: Dict[str, Any])
rime-schema-compare/src/rime_schema_compare/reporting.py:264
↓ 2 callersFunction_vendor_summary_lines
(vkey: str, s: Dict[str, Any])
rime-schema-compare/scripts/benchmark_sentences.py:457
↓ 2 callersMethod_wait_for_committed_text
(self)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:701
↓ 2 callersFunction_wait_until
(predicate, timeout_s: float, poll_s: float = 0.05)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:179
↓ 2 callersFunction_write_long_csv_by_sentence
( path: Path, per_sentence: List[Dict[str, Any]], vendors: List[VendorConfig], )
rime-schema-compare/scripts/benchmark_sentences.py:319
↓ 2 callersFunction_write_scheme_compare_txt
各方案「比其他方案多正确」的句子:独有判对 + 相对每个对手多判对。
rime-schema-compare/scripts/benchmark_sentences.py:355
↓ 2 callersFunction_write_sentence_grouped_csv
(path: Path, per_sentence: List[Dict[str, Any]], vendors: List[VendorConfig])
rime-schema-compare/scripts/benchmark_sentences.py:447
↓ 2 callersFunction_write_single_artifacts
( out_dir: Path, base: str, payload: Dict[str, Any], vendors: Sequence[BlackboxVendor], *,
rime-schema-compare/scripts/benchmark_windows_pinyin.py:441
↓ 2 callersFunction_write_summary_csv
(path: Path, rows: List[Dict[str, Any]])
rime-schema-compare/scripts/benchmark_sentences.py:246
↓ 2 callersMethodclose
(self)
rime-schema-compare/scripts/learning_mode.py:57
↓ 2 callersFunctioncp
copy resource `name` to `dst`
tqdm/cli.py:267
↓ 2 callersMethoddisable_on_exception
Quietly set `tqdm_instance.miniters=inf` if `func` raises `errno=5`.
tqdm/utils.py:188
↓ 2 callersFunctiondisp_trim
Trim a string which may contain ANSI control characters.
tqdm/utils.py:386
↓ 2 callersFunctiondownloadAndDeployTask
wanxiang-updater/app/src/main/java/com/wanxiangupdater/MainActivity.kt:878
↓ 2 callersFunctiondownload_dict
url_dict - 如 https://github.com/amzxyz/rime-wanxiang/releases/download/dict-nightly/cn_dicts.zip out_url_directory - 如 C:\\Users\\jack\\AppDa
scripts/fetch_any_dict.py:500
↓ 2 callersFunctionexecuteTasks
wanxiang-updater/app/src/main/java/com/wanxiangupdater/MainActivity.kt:852
↓ 2 callersMethodexternal_write_mode
Disable tqdm within context and refresh tqdm when exits. Useful when writing to standard output stream
tqdm/std.py:727
↓ 2 callersFunctionfetch_url_file
获取远程文件 url - 远程资源地址 out_dir - 存放目录 is_download_gram - 是否下载大模型
scripts/fetch_any_dict.py:467
↓ 2 callersMethodfinalize
清理资源
rime-schema-compare/src/rime_schema_compare/call_librime.py:1127
↓ 2 callersFunctionforce_delete
强制删除文件或文件夹,忽略权限限制。
scripts/fetch_any_dict.py:79
↓ 2 callersMethodformat_interval
Formats a number of seconds as a clock time, [H:]MM:SS Parameters ---------- t : int Number of seconds.
tqdm/std.py:401
↓ 2 callersFunctionformat_timings_lines
(timings: Dict[str, Any], indent: str = " ")
rime-schema-compare/src/rime_schema_compare/reporting.py:280
↓ 2 callersMethodget_active_profile
(self)
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:247
↓ 2 callersMethodget_instances
(self)
tqdm/_monitor.py:47
↓ 2 callersMethodget_key
(self)
wanxiang-tools.py:401
↓ 2 callersFunctionget_md5
计算字符串的 MD5 哈希值
scripts/sort_dict.py:36
↓ 2 callersFunctionget_md5
计算字符串的 MD5 哈希值
scripts/sync_user_dict.py:28
↓ 2 callersMethodhide_buttons
(self)
wanxiang-tools.py:184
↓ 2 callersFunctionis_chinese_char
判断字符是否属于《通用规范汉字表》8105字范围内的汉字。 使用 Unicode 区间列表优化判断。
scripts/sort_dict.py:13
↓ 2 callersFunctionis_userdb_head
(line: str)
wanxiang-tools.py:1964
↓ 2 callersMethodjump_to_reference
智能解析文本中的引用文件,支持外部和内部键穿透
wanxiang-tools.py:5416
↓ 2 callersMethodlist_input_method_texts
(self, language_tag: str = "zh-Hans-CN")
rime-schema-compare/src/rime_schema_compare/ms_pinyin_harness.py:230
↓ 2 callersFunctionload_eval_synonyms_config
Load from JSON. If file is missing or empty, return built-in defaults.
rime-schema-compare/src/rime_schema_compare/eval_synonyms.py:101
← previousnext →101–200 of 889, ranked by callers