Giter Club home page Giter Club logo

emacs-leo's Introduction

leo.el

MELPA

This package allows you to interact with Leo.de dictionaries from within emacs.

It provides the command leo-translate-word. If no other phrase is entered, the word currently under the cursor is used. If the region is active, it is used (this also works in pdf-view-mode). It translates between German and the language set by the custom variable leo-language. The second language can also be specified interactively by invoking the commands with a prefix argument.

Results are sorted by part of speech, and display all additional information about the term such as usage, case markers, linguistic variant, etc. They also include a direct link to conjugation or inflection tables, shown as the icon โ–ฆ (or #).

In the results buffer:

  • click on a word to search for it
  • <tab> to a word or phrase then hit <return> to search for it
  • t or s to search again
  • C-u t to search again and choose your language
  • , and . to go to the previous/next part of speech heading.
  • f to jump to forum results
  • click on a part of speech heading to view more results of only that type.
  • < and > to limit search to source/target language.
  • b to view results in external browser
  • l to browse the results in linguee.de
  • and c to search the same term with dictcc.el if it's installed.

Links to forum results are also displayed. It is better to view these externally, which you can do by C-u RET with point on an entry.

If no results are returned, a list of suggestions is displayed which are also click (or tab/return) to search.

For the moment there is no functionality to return to previous result. The easiest way to do this is t for a new search, then M-p to scroll back through search history.

Available languages: en, es, fr, it, ch, pt, ru, pl.

The pairs tested while hacking on this are en < > de, plus a little fr < > de. Other languages may not work as well. The propertizing of entries isn't perfect, but it's good enough to rely on and is still being improved.

It looks like this:

emacs-leo-screenshot

other packages

You may also be interested in wordreference.el, my package for https://wordreference.com.

emacs-leo's People

Contributors

mtenders avatar

Stargazers

 avatar

emacs-leo's Issues

back to previous search

without a list/ring it would only work for 1 back action. cd just store prev search term in leo--results-info.

but perhaps worthwhile because of the click to search other term functionality.

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.