Git Product home page Git Product logo

zim-multilingual-spellchecker's Introduction

Multilingual Spellchecker for Zim

This is a plugin for the Zim Desktop Wiki that adds a multilingual spellchecker to the editor. It uses enchant as the backend.

See this discussion for my motivation to create this plugin.

Dependencies

Nothing other than enchant and the Python bindings. On Debian it is provided by the python3-enchant package.

Installation

mkdir -p ~/.local/share/zim/plugins
cd ~/.local/share/zim/plugins
git clone https://github.com/Crissium/zim-multilingual-spellchecker

Disable the built in spellchecker, then enable the plugin in Zim and set the default languages in 'Properties' as a whitespace separated list of language codes, e.g. en_GB fr_FR.

Credits

Much of the code is adapted from the original spellchecker plugin by Jaap Karssenberg and pygtkspellcheck.

zim-multilingual-spellchecker's People

Contributors

crissium avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

zim-multilingual-spellchecker's Issues

configuration of language codes sometimes cleared

@Crissium, the following is more a heads-up than a bug report as I'm still not able to reproduce it.
When starting Zim and opening one of my notebooks I encountered on several occasions that the field for the language codes (two languages in my case) got cleared and consequentially the plugin is throwing an error message.

Not spellchecking live

The spellchecking isn't working live, i.e. after finishing a word or writing a new sentence/paragraph, but only after reloading page or reenabling spellchecking.

Is this by design?

Happens on Zim 0.75.2 under Ubuntu 23.10

"Add to dictionary" is missing

When a word is underlined, then you can't add it to the dictionary, so that it will be recognized as correct in the future. Even if only one dictionary is enabled, the entry for adding a new word to the dictionary is missing.

When implementing this feature, there should be an extra entry in the right-click menu to which dictionary the new word has to be added, because with this wonderful plugin usually several languages are active at the same time.

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.