project-yuki / planning

Project YUKI planning
GNU General Public License v3.0
0 stars 0 forks source link

Shared dict (offline version) #2

Open tinyAdapter opened 6 years ago

tinyAdapter commented 6 years ago

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 commented 6 years ago

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 commented 4 years ago

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