Giter VIP home page Giter VIP logo

lexic's Introduction

Emacs Lexical Information Viewer

It’s nice to know more about the words you’re using. Online dictionaries have proliferated and become quite useful, and there are some nice packages available like define-word which make use of such online resources.

However, the quicker I can know more about the words I’m using, the better! Offline dictionaries are obviously the way to go then, and the Console implementation of StarDict already has a package or two for Emacs which I can build off.

However, I’d like to really focus on the words, and making it easy and intuitive as possible to gain a greater understanding of the words and phrases we use.

Thus, I wanted the focus here to not be on the specific backend used (though only sdcv has been implemented as of yet). A near-term goal is to rewrite the implementation to abstract away the specific tool used, allowing for online tools among other backends (such as any future GoldenDict CLI). From there it could be nice to allow for combination of multiple tools (e.g. sdcv + online service).

This has rich support for the following dictionaries:

If there’s something you feel is missing, feel free to make an issue — or even better, a PR!

Requirements

  • The command line stardict tool sdcv (support for other backends is planned)
  • (optional) visual-fill-column-mode

Configuration

If you happen to use Doom, you may find this section of my config interesting.

To set up Lexic to work with your installed dictionaries you want to look at the lexic-dictionary-specs variable which formats results based on the bookname parameter of the sdcv dictionary’s .ifo file.

Demo

https://tecosaur.com/lfs/lexic/lexic.gif

lexic's People

Contributors

tecosaur avatar kvnsmth avatar ymarco avatar serycjon avatar precompute avatar

Watchers

James Cloos 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.