Code Monkey home page Code Monkey logo

cangjie's Introduction

cangjie.el

License: GPL v3+ MELPA

Lookup the Cangjie encoding for a given Han character.

Install

cangjie.el is available on MELPA.

use-package

(use-package cangjie)

straight.el

(straight-use-package 'cangjie)

Manually

Put cangjie.el under your load-path, then (require 'cangjie) in your init file.

Use

  • cangjie-at-point: Lookup Cangjie encoding for character at point.
  • cangjie (CHARACTER): Lookup Cangjie encoding for CHARACTER (asked in prompt when called interactively).

Customize

cangjie-source: the dictionary to be used by cangjie.

Its value can be:

  • a path, which makes cangjie read from that path if it's a valid RIME dictionary.
  • 'rime, to download the dictionary from https://github.com/rime/rime-cangjie, and save it for future use.
  • wiktionary-raw, to output the line with the Cangjie code on the character's Wiktionary page,
  • 'wiktionary, or anything else, to grep the Wiktionary page like 'wiktionary-raw, then try to remove the markup in the result, leaving just the Cangjie code.

Credits

This is the first standalone Emacs package I've written, so I needed some directions. emacs-powerthesaurus and define-word served as really good references for me to follow.

I'm using the Cangjie dictionary from RIME, rime-cangjie.

cangjie's People

Contributors

kisaragi-hiu avatar syohex avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.