Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 4.38 KB

README.md

File metadata and controls

59 lines (46 loc) · 4.38 KB

WebExt-LittleDict


Littlexiao Dict字典

📔 Little Trie-data based dictionary translating webpages with wide features.

Usage

  1. Install this extension on Firefox addons, Chrome store, or download Chrome .crx file
  2. open browser "Extensions"/"Add-ons" setting page, find "LittleDict", switch to its "Perferences" tab
  3. Fill URL params, Enter to save. and you can test it by clicking on "Select App Site" below the input box

Check "Keep Layout" in popup menu to make page element processing output text-format-aware.

Click "Save current option override" to save dict/format changes in popup menu.

Features

  • Useful: not limited to certain usage (language learning, phonetic mark annotating, Chinese/Japanese/English)
  • "Auto translate" setting based on per-page language
  • Supports dynamic updating page elements(like lyrics bar)
  • Context menu and popup interface, can process entire page / selected elements
  • IME: Input foreign language characters(e.g. katakana) w/o installing certain input method
  • Hackable: supports dict creating expression (+, >>, >, ~), add your own dict relying on other k=v text files or dicts

Similar Projects

Note: Little Dict is a K-V dictionary based text/document processing plugin, it can be used to archive many common purpose, but if you want, here are alternatives

Comparing to projects above:

  • We have GPLv3 license (so don't copy our code to close-source distributions)
  • We have recursive generic-typed ES6 Map<K,V> based triedata.ts that supports "lazy Map creating", "inword grep" as tokenizer backend
  • We are not developing a new input method(IME), the "IME" feature is just a temporary replacement
  • Non-GUI side optimizing&code quality/simplicity is seen more important than packaging
  • Solving a general problem is seen better than solving a special case
  • Just commit simplest, minimal, reasonable code required to implement a feature in this project
  • Issues&contributions in any (language/culture)s are welcome <3