1VOIKKOGC(1) General Commands Manual VOIKKOGC(1)
2
3
4
6 voikkogc - test program for Voikko grammar checker
7
9 voikkogc [options]
10
12 voikkogc is a test program for grammar checking functionality in lib‐
13 voikko, library of Finnish language tools. It reads sentences or para‐
14 graphs from stdin (one per line) and print the results to stdout. The
15 results are structures containing information about grammar errors
16 found in the input paragraph.
17
19 --tokenize
20 Instead of looking for grammar errors, split input into tokens.
21 The tokens are prefixed by type: "W" is a word, "P" is punctua‐
22 tion, "S" is whitespace, "U" is unknown and "E" is a prefix for
23 error messages.
24
25 --split-sentences
26 Instead of looking for grammar errors, split input into sen‐
27 tences. The sentences are prefixed by type: "B" means that end
28 of sentence is a probably correct, "P" means that end of sen‐
29 tence is a possibly correct (but probably this and the next
30 identified sentence should be joined) and "E" means that sen‐
31 tence ends at the end of input.
32
33 -n Prefix all grammar checker messages with line number of input
34 data.
35
36 accept_titles=n
37
38 accept_unfinished_paragraphs=n
39
40 accept_bulleted_lists=n
41 Set the value of the specified boolean option.
42
43 explanation_language=langcode
44 Print human readable error explanation in the specified lan‐
45 guage.
46
48 Human readable error explanations are printed in UTF-8 regardless of
49 current locale settings.
50
52 voikkospell for common options of different Voikko test tools.
53
55 voikkogc and this manual page were written by Harri Pitkänen
56 (hatapitk@iki.fi).
57
58
59
60
61
62 2010-05-06 VOIKKOGC(1)