1VOIKKOSPELL(1) General Commands Manual VOIKKOSPELL(1)
2
3
4
6 voikkospell - test program for Voikko spell checker
7
9 voikkospell [options]
10
12 voikkospell is a test program for spell checking functionality in lib‐
13 voikko, library of language tools. It reads words from stdin (one word
14 on a line) and print them to stdout, adding "C: " in front of correct
15 words and "W: " in front of incorrect words.
16
17 Common options of different Voikko test programs are listed in COMMON
18 OPTIONS.
19
21 -m In addition to spelling result, prints morphological analysis
22 info (A:) for recognized words.
23
24 -M Prints morphological analysis info (A:) for recognized words
25 without displaying spelling result.
26
27 -t Prints only "C" or "W" instead of typical full output.
28
29 -tt Prints only misspelled words.
30
31 -s Prints suggestions (S:) for incorrectly spelled words.
32
33 -cn Set cache size parameter to n. -1 disables the cache and 0 is
34 the default. For checking large amounts of unsorted text you
35 may want to set n to 5 to get better performance.
36
37 -j n Use n threads for spell checking. When more than one thread is
38 used checking is performed using large internal buffers which is
39 why this mode should only be used for batch processing.
40
41 -xc Like voikkospell -s but output is printed on one line separated
42 by character c without "C", "W" or "S" in front of the words.
43 If c is not defined words are separated by space and suggestions
44 that have spaces in them are not printed.
45
46 -l Prints a list of available dictionary variants and exits. The
47 first variant is the default to be used when no specific variant
48 has been requested.
49
50 -L Prints a list of capabilities and languages for which these ca‐
51 pabilities are supported.
52
53 ignore_nonwords=n
54
55 accept_first_uppercase=n
56
57 accept_all_uppercase=n
58
59 accept_extra_hyphens=n
60
61 accept_missing_hyphens=n
62
63 ocr_suggestions=n
64 Set the value of the specified boolean option. n can be either
65 0 (false) or 1 (true).
66
68 -p directory
69 (voikkospell, voikkohyphenate, voikkogc) Look from directory be‐
70 fore the standard locations when searching for dictionary files.
71
72 -d variant
73 (voikkospell, voikkohyphenate, voikkogc) Use dictionary variant
74 variant instead of the default dictionary variant. The variant
75 must be represented as a BCP 47 language tag.
76
77 ignore_dot=n
78 (voikkospell, voikkohyphenate)
79
80 ignore_numbers=n
81 (voikkospell, voikkohyphenate)
82 Set the value of the specified boolean option. n can be either
83 0 (false) or 1 (true).
84
85 -h, --help
86 Print a help message and exit.
87
88 --version
89 Print version numbers for libvoikko and the test tool.
90
92 voikkospell and this manual page were written by Harri Pitkänen
93 (hatapitk@iki.fi).
94
95
96
97 2013-10-08 VOIKKOSPELL(1)