logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

voikkogc - test program for Voikko grammar checker

Author

       voikkogc and this manual page were written by Harri Pitkänen (hatapitk@iki.fi).

                                                   2010-05-06                                        VOIKKOGC(1)

Bugs

       Human readable error explanations are printed in UTF-8 regardless of current locale settings.

Description

voikkogc  is  a  test program for grammar checking functionality in libvoikko, library of language tools.
       It reads sentences or paragraphs from stdin (one per line) and print the results to stdout.  The  results
       are structures containing information about grammar errors found in the input paragraph.

Name

       voikkogc - test program for Voikko grammar checker

Options

--tokenize
              Instead  of  looking for grammar errors, split input into tokens. The tokens are prefixed by type:
              "W" is a word, "P" is punctuation, "S" is whitespace, "U" is unknown and "E" is a prefix for error
              messages.

       --split-sentences
              Instead of looking for grammar errors, split input into sentences. The sentences are  prefixed  by
              type:  "B"  means  that end of sentence is a probably correct, "P" means that end of sentence is a
              possibly correct (but probably this and the next identified sentence should  be  joined)  and  "E"
              means that sentence ends at the end of input.

       -n     Prefix all grammar checker messages with line number of input data.

       accept_titles=naccept_unfinished_paragraphs=naccept_bulleted_lists=n
              Set the value of the specified boolean option.

       explanation_language=langcode
              Print human readable error explanation in the specified language.

See Also

voikkospell for common options of different Voikko test tools.

Synopsis

voikkogc [options]

See Also