voikkospell1
Test program for voikko spell checker
Usage
voikkospell [options]
Overview
voikkospell is a test program for spell checking functionality in libvoikko, library of language tools. It reads words from stdin (one word on a line) and print them to stdout, adding "C: " in front of correct words and "W: " in front of incorrect words.
Common options of different Voikko test programs are listed in COMMON OPTIONS.
Options
-
-m -
In addition to spelling result, prints morphological analysis info (A:) for recognized words.
-
-M -
Prints morphological analysis info (A:) for recognized words without displaying spelling result.
-
-t -
Prints only "C" or "W" instead of typical full output.
-
-tt -
Prints only misspelled words.
-
-s -
Prints suggestions (S:) for incorrectly spelled words.
-
-cn -
Set cache size parameter to n. -1 disables the cache and 0 is the default. For checking large amounts of unsorted text you may want to set n to 5 to get better performance.
-jn-
Use n threads for spell checking. When more than one thread is used checking is performed using large internal buffers which is why this mode should only be used for batch processing.
-
-xc -
Like voikkospell -s but output is printed on one line separated by character c without "C", "W" or "S" in front of the words. If c is not defined words are separated by space and suggestions that have spaces in them are not printed.
-
-l -
Prints a list of available dictionary variants and exits. The first variant is the default to be used when no specific variant has been requested.
-
-L -
Prints a list of capabilities and languages for which these capabilities are supported.
ignore_nonwords=n
accept_first_uppercase=n
accept_all_uppercase=n
accept_extra_hyphens=n
accept_missing_hyphens=n
ocr_suggestions=n-
Set the value of the specified boolean option. n can be either 0 (false) or 1 (true).
Options
-pdirectory-
(voikkospell, voikkohyphenate, voikkogc) Look from directory before the standard locations when searching for dictionary files.
-dvariant-
(voikkospell, voikkohyphenate, voikkogc) Use dictionary variant variant instead of the default dictionary variant. The variant must be represented as a BCP 47 language tag.
ignore_dot=n-
(voikkospell, voikkohyphenate)
ignore_numbers=n-
(voikkospell, voikkohyphenate)
Set the value of the specified boolean option. n can be either 0 (false) or 1 (true).
-
-h, --help -
Print a help message and exit.
-
--version -
Print version numbers for libvoikko and the test tool.
History
- Arch Linux 2026-11-01 to Debian 10 (Buster): the text shown here
- Debian 9 (Stretch) to Debian 8 (Jessie)
- Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)
--help since Debian 6.0 (Squeeze);
--version since Debian 7 (Wheezy);
-L since Debian 8 (Jessie);
-M since Debian 7 (Wheezy);
-h since Debian 6.0 (Squeeze);
-l since Debian 6.0 (Squeeze);
-m since Debian 6.0 (Squeeze);
-tt since Debian 6.0 (Squeeze);
-x since Debian 5.0 (Lenny).