Skip to content

antoKeinanen/obsidian-finnish-spellcheck

Finnish Spellcheck for Obsidian

Ohjeet ovat myös käännetty suomenkielelle. Voit lukea ne täältä.

Sadly we currently only support the computer version of obsidian.

Picture of text with red and blue underlines indicating mistakes.

The Finnish Spellcheck for Obsidian is a plugin for obsidian that integrates advanced spellchecking and grammatical analysis into your Obsidian editor. It utilizes Voikko, a tool for Finnish language that includes morphological analysis, spelling, grammar checking, hyphenation, and other linguistic data.

Installation

The plugin can be installed from the obsidian community plugins page.

Manual Installation

  1. Download the latest main.js, styles.css, and manifest.json files from the releases page.
  2. Copy these files to the following directory in your Obsidian vault: {vault path}/.obsidian/plugins/finnish-spellcheck/.
  3. In some cases, you may need to download libvoikko. Instructions for downloading libvoikko can be found here: Windows, Apple, and for Linux, most package repositories should have libvoikko available.

Usage

Once installed, this plugin adds a command panel entry called "Spellcheck" that can be accessed by pressing Ctrl+P. Additionally, you can run the spellcheck by clicking the "Aa" button in the bottom right corner.

Contributing

Contributions to this plugin are welcome and appreciated. Please ensure that any contributions follow the codebase's conventions, use the Angular style for commit messages and format the code with npm run format.

Building from Source

To build the plugin from source, follow these steps:

  1. Clone and build libvoikko-js from https://github.com/niilo/libvoikko-js using the provided Dockerfile.
  2. Move libvoikko-morpho.js and libvoikko-morpho.d.ts to src/voikko in this repository.
  3. Build with: npm run build.

License

This repository is under the GNU Affero General Public License v3.0. For more information please read the license file.

Acknowledgements

This plugin heavily relies on the following open-source projects and I would like to thank their authors and maintainers: