Skip to content

Use cache to achieve faster generation of Chinese HowNet replacement …#786

Merged
jxmorris12 merged 2 commits into
QData:masterfrom
liuyuyan2717:faster-chinese-hownetSwap
Mar 31, 2024
Merged

Use cache to achieve faster generation of Chinese HowNet replacement …#786
jxmorris12 merged 2 commits into
QData:masterfrom
liuyuyan2717:faster-chinese-hownetSwap

Conversation

@liuyuyan2717

Copy link
Copy Markdown
Contributor

…words

What does this PR do?

Summary

Optimize the search algorithm for HowNet replacement words to improve computational speed without changing the results.

old:
捕获

new:
捕获1

@jxmorris12 jxmorris12 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jxmorris12

Copy link
Copy Markdown
Collaborator

@liuyuyan2717 can you run the formatter?

@jxmorris12 jxmorris12 merged commit ad88963 into QData:master Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants