Skip to content
/ swe Public

Command line interface for Folkets lexikon, the Swedish-English dictionary

License

Notifications You must be signed in to change notification settings

bjesus/swe

Repository files navigation

swe - Swedish-English Dictionary

swe is a command-line interface to the great Swedish-English dictionary "Folkets lexikon". It works 100% offline. Users can explore translations, idioms, synonoms and more. It can also be used for finding words containing specific substrings, and for listening to the pronunciations of words. Since version 0.3, it can also access Wiktionary.

swe.mp4

Installation

You can install swe using pipx install swe

Zsh Completion

The repository includes a Zsh completion file _swe to enhance the user experience by enabling word auto-completion.

To enable Zsh completion, do the following:

$ cp swe/_swe ~/.zsh/completion/_swe
$ chmod +x ~/.zsh/completion/_swe

You will need to restart Zsh for the changes to take effect.

Usage

  1. swe - Run the interactive Swe mode
  2. swe ord - Print the translation for the specified word
  3. swe -s ord - Print all words containing the specified substring ("ord" in this example).

About

Command line interface for Folkets lexikon, the Swedish-English dictionary

Topics

Resources

License

Stars

Watchers

Forks

Languages