- in particular
- consist verb table
- Parse <span class="PhrVbEntry">, e.g. consist.
- Space/indent in <span class="heading span">, e.g."return"
- Hyphen-connected for phrases (only for online mode), and "space separated" queries.
- Take input from stdin.
- Work as a server (to cache something).
- Cache and save/restore stuff, in pure text.
- A real "auto" mode.
- Kill the server with a timeout.
- Format: basic indents and blank lines, make display more compact.
- Offline support? Not going to do that recently... I just use it myself.
- Dictionary locations? -> $XDG_CONFIG_HOME/ondict aka "~/.config/ondict"
- Serve on a TCP connection and can query from a "real" remote server, rather than local UDS.
- Serve the "offline mode" on a website, for better display, html format, single static pages (mime things)?
- nested queries (the windows are overlapped now)
- A guessing/fallback algorithm for words missing (especially for offline dicts)
- Add an en-cn online/offline dictionary for quick enquiry -> oald9.
- Bind an MDX with a potential CSS file for html mode, for display effects.
- Use
aho-corasick
algorithm to perform a fuzzy search. - BUG: QueryByURL will get an unexpected EOF error.
- Automate the dict generating process, registering
- Appropriate module abstraction, and unit testing automation. (sources/decoder/renderer)
- Lazy-loading for launch performance and memory usage?
- Parse the MDD file, and serve the picture sources when working in HTML mode.
- Support multiple mdx libs at the same time and provide a user interface (no UI yet)
- Auto history.
- A independent parser cmd.
- See the TODOs in the code.
The following are less important things that I want to finish.
- Editor plugin: give users the option to setup the server in advance, for better first-query user experience.
- A system for reviewing, e.g. simple ANKI?
- Online mode: more information such as collocations/corpus/.....
- More search algorithms?(Refs: https://aclanthology.org/C10-1096.pdf)
- A more decent web page.
- Other online dict parsing engines if I have the motivation?
- A simple TUI using https://github.com/charmbracelet/bubbletea ?
- Vim plugin
- Integrated with FZF? or https://github.com/lithammer/fuzzysearch?