Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanrax/lirve.el
Learn irregular verbs in English with Emacs
https://github.com/tanrax/lirve.el
elisp emacs english
Last synced: 3 months ago
JSON representation
Learn irregular verbs in English with Emacs
- Host: GitHub
- URL: https://github.com/tanrax/lirve.el
- Owner: tanrax
- License: gpl-3.0
- Created: 2023-12-31T08:49:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-19T19:18:22.000Z (10 months ago)
- Last Synced: 2024-05-02T05:17:41.729Z (10 months ago)
- Topics: elisp, emacs, english
- Language: Emacs Lisp
- Homepage:
- Size: 102 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lirve: Learn irregular English verbs in Emacs
Lirve helps you learn irregular verbs using the spaced repetition technique. In other words: Lirve remember your mistakes and repeat the challenge in the future.
![Demo](demo.png)
## Install
### MELPA
```
M-x package-install RET lirve RET
```And add the following to your `init.el`:
```elisp
(require 'lirve)
```### Straight
Then, add it to your `init.el`.
```elisp
(use-package lirve
:straight (:host github :repo "tanrax/lirve.el" :files ("lirve-verbs.el" "lirve.el"))
:ensure t)
```And add the following to your `init.el`:
```elisp
(require 'lirve)
```## Configure (Optional)
Shows the translation of the verb when resolving or failing.
![Demo translation](demo-translation.png)
Only available in Spanish (at the moment).
```elisp
(setq lirve--set-translation 'es)
```## Usage
```
M-x lirve
```I also recommend creating a function to make it easier to remember the command.
```elisp
(defun learning-irregular-verbs-in-english ()
"Start Lirve."
(interactive)
(lirve))
``````
M-x learning-irregular-verbs-in-english
```## Controls
| Key | Description |
| --- | --- |
| `TAB` | Move to the next field |
| `S-TAB` | Move to the previous field |
| `RET` | Click on the button |## Collaborate
If you want to add more languages, make a PR with the translations in `lirve-verbs.el`.
For example, the verb `beat` in Italian and Spanish:
```elisp
(
(infinitive . "beat")
(simple-past . "beat")
(past-participle . "beaten")
(translations
(es . "golpear")
(it . "colpo")))
```