「只」的轉換問題

Open
#257 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
localization

Research direction

Start by reproducing the reported conversion from 「只有」 to 「隻有」, along with the similar 「是只」→「是隻」 and 「有只」→「有隻」 cases. Trace which OpenCC conversion rules produce these results and evaluate how the no-word-segmentation behavior affects them. Done means these contexts convert correctly without breaking other Chinese conversion cases.

Written by the indexing model from the issue text.

Description

可能由於 OpenCC 的工作原理的原因(沒有分詞機制),在文本轉換中會大量的「只」字會被錯誤地轉換成「隻」,如下例:
「可是只有他才能完成这个任务」會被轉換成「可是隻有他才能完成這個任務」
類似的情況非常多,是由於「是只」→「是隻」、「有只」→「有隻」等轉換詞導致的,希望能考慮一下如何解決這類問題。

Dominant language
C++
Stars
10.1k
Forks
1.1k
Avg merge
47m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BYVoid/OpenCC

All issues in BYVoid/OpenCC

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.