不知道可不可以加入一个词库通配符支持?支持*为任意多个字

Open
#175 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
cpp

Research direction

No files, tests, or entry points are named in the issue. Start by locating where OpenCC reads dictionaries and performs phrase matching, then review how the requested wildcard behavior would apply to examples such as 一出*剧. Done means the supported wildcard semantics are defined and covered by relevant tests.

Written by the indexing model from the issue text.

Description

如题,加入这个支持,在制作词库的时候可以省去很多的麻烦.
比如
一出剧
一出喜剧
一出悲剧
一出家庭喜剧
...
如果要列举,怕是永远都列不完
如果可以有通配符
那么只需要写上
一出*剧
就包含了所有情况了

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.