Skip to content

Moe Dictionary client for Emacs. 萌典 Emacs 版客戶端

Notifications You must be signed in to change notification settings

firmart/moedict.el

 
 

Repository files navigation

moedict.el

Look up (Tranditional) Chinese vocabulary with MOE dict (Ministry Of Education of Taiwan) in Emacs.

在 Emacs 內查詢萌典

Screenshot 畫面快照

screenshot.png

Requirements 需求

System

  • Emacs >= 24.3
  • SQLite

Emacs packages

The following packages are available on MELPA
以下 packages 可於 MELPA 上安裝。

  • helm >= 1.9.1
  • esqlite >= 0.3.1

Installation 安裝

Add following to your ~/.emacs.d/init.el or ~/.emacs:

增加下列設定到你的 Emacs 設定檔中。

(add-to-list 'load-path "~/path/to/moedict/")
(require 'moedict)

Usage 使用方法

  • M-x moedict Open the interface to look up vocabulary in moedict.
  • M-x moedict/try-region The same as moedict, but try to use selected region as the initial input.
  • M-x moedict/last-vocabulary The same as moedict, but use the last query as the initial input.

A superb readable ”How to use” is available via M-x moedict/help.

  • M-x moedict 直接開啟萌典查詢界面。
  • M-x moedict/try-region 功能同 moedict ,但會嘗試搜尋被選取的文字。
  • M-x moedict/last-vocabulary 功能同 moedict ,但以上一次的查詢作為預設輸入。

其餘如何使用請直接 M-x moedict/help 可以看超級好讀的說明書。

License 授權

The copyright the dictionary file (dict.sqlite3) is owned by Ministry of Education of Taiwan. Emacs Lisp code is released under WTFPL 2.0.

辭典本文的著作權屬台灣教育部所有,Emacs Lisp 程式碼部份則是以 WTFPL 2.0 釋出。

About

Moe Dictionary client for Emacs. 萌典 Emacs 版客戶端

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%