Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared dict (offline version) #2

Open
tinyAdapter opened this issue Oct 6, 2018 · 2 comments
Open

Shared dict (offline version) #2

tinyAdapter opened this issue Oct 6, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tinyAdapter
Copy link
Member

tinyAdapter commented Oct 6, 2018

All modern translators are having an important feature, called "shared dict", which allows users to customize what a word, a phrase, or a sentence being translated to any languages.

Shared dict goes before other translation methods (offline dicts, online translator APIs, etc.), for there are many new words which are created by specific games, or are commonly used in life but are so new that offline dicts do not cover.

Currently, I don't have too much efforts to design the specification of an online version of user-shared dict. Maybe that will be implemented in the future

...or by someone else? Thanks in advance 🌹

Ijyou.

@tinyAdapter tinyAdapter added the enhancement New feature or request label Oct 6, 2018
@tinyAdapter tinyAdapter self-assigned this Oct 6, 2018
@tinyAdapter
Copy link
Member Author

Using AC automachine, searching for about 28,000 patterns takes only less than 2 milliseconds.

I've never thought things could be done this fast.

default

@luojunyuan
Copy link

In fact it's AC-Automaton not machine i think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants