Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

voikkogc(1) [debian man page]

VOIKKOGC(1)						      General Commands Manual						       VOIKKOGC(1)

NAME
voikkogc - test program for Voikko grammar checker SYNOPSIS
voikkogc [options] DESCRIPTION
voikkogc is a test program for grammar checking functionality in libvoikko, library of Finnish language tools. It reads sentences or para- graphs 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. 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 sen- tence is a probably correct, "P" means that end of sentence is a possibly correct (but probably this and the next identified sen- tence 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=n accept_unfinished_paragraphs=n accept_bulleted_lists=n Set the value of the specified boolean option. explanation_language=langcode Print human readable error explanation in the specified language. BUGS
Human readable error explanations are printed in UTF-8 regardless of current locale settings. SEE ALSO
voikkospell for common options of different Voikko test tools. AUTHOR
voikkogc and this manual page were written by Harri Pitkanen (hatapitk@iki.fi). 2010-05-06 VOIKKOGC(1)

Check Out this Related Man Page

YAPPS(1)						      General Commands Manual							  YAPPS(1)

NAME
yapps - create a Python module from a grammar file SYNOPSIS
yapps [ --dump ] [ --use-devel-grammar ] [ -fcontext-insensitive-scanner ] [ -p pid ] [ -f ] input.g [ output.py ] name DESCRIPTION
--dump Dump out grammar information --use-devel-grammar Use the devel grammar parser from yapps_grammar.py instead of the stable grammar from grammar.py -fcontext-insensitive-scanner Scan all tokens (see docs) yapps generates a Python program which will parse a given grammar. OPTIONS
--dump Dump the grammar information to stdout. --use-devel-grammar Use the grammar file in ./yapps_grammar.py instead of yapps/grammar.py. This option is useful for testing new grammar parsers. (Yes, yapps' parser is itself written with yapps...) -fcontext-insensitive-scanner Set the option to use the non-context-sensitive scanner. CAVEATS
yapps implements a recursive-descent scanner. HISTORY
Written by Amit J. Patel <amitp@cs.stanford.edu>. This version was enhanced by Matthias Urlichs <smurf@debian.org>. It is not downwards-compatible with the original yapps2 (yet) and uses a different runtime library. See the change log for details. YAPPS(1)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

hint on ansi c

I am a student. And need help on following program. I want to make a c program. I have to scan a sentence and I have to interchange a word from that sentence. Example: Scan the sentence is " Drilling machine and Milling machine " . Replace the word "machine" by "operation". And output should... (2 Replies)
Discussion started by: dhaval chevli
2 Replies

2. UNIX for Dummies Questions & Answers

Need help in awk or sed!!

Hi guys,i need to do the following tasks and wish somebody can help using awk or sed language I want to place a sentence after a certain sentences when it match a certain word for example: line.txt = hi how are u? /hi/how/are/u/ hi/how are u? what i wanna: /hi/how/are/u/ hi how... (2 Replies)
Discussion started by: cyberray
2 Replies

3. Shell Programming and Scripting

How to identify sentences from a text?

Hi, I have to identify sentences from this text. If i split these statements by this way: @sentence= split(/\.\W*/,$text); I will get these following things also in the output along with proper sentences. Biol Reprod. 2002 Mar;66(3):785-95. Egydio de Carvalho C, Tanaka H,... (2 Replies)
Discussion started by: vanitham
2 Replies

4. Shell Programming and Scripting

comparing sentences

Hi, I have a file and that file contains the following sentences. Here we show that a virus-encoded transcription factor, viral mRNA, cellular RNA-binding protein heterodimer G3BP/Caprin-1 (p137), translation initiation factors eIF4E and eIF4G, and ribosomal proteins are concentrated in the... (4 Replies)
Discussion started by: vanitham
4 Replies

5. Shell Programming and Scripting

Separate sentences from two texts, combine them

I havet two books, one in Swedish, the other in English. Two text files. I want to combine them into one, with each sentence having it's translation next to it. ------------ Text file one. Example sentence in English. Example 2 sentence 2 in English 2. -------------- Text file two. ... (2 Replies)
Discussion started by: LaraMej
2 Replies

6. UNIX for Dummies Questions & Answers

How to filter sentences??

Hi, I have few sentences here. $a1="Division of Hematology-Oncology, and Stem cell transplantation, Schneider Childrens Hospital, Albert Einstein College of Medicine, New Hyde Park, New York. "; $a2="Department of Cell Biology and Anatomy, College of Medicine, National Cheng Kung... (3 Replies)
Discussion started by: vanitham
3 Replies

7. Shell Programming and Scripting

Extracting line from a file

Hi, I would like to extract a certain portion of sentences from a particular sentence i.e. to extract the last section embrace by input output Please advice. Cheers (6 Replies)
Discussion started by: dwgi32
6 Replies

8. Shell Programming and Scripting

How to match all array contents and display all highest matched sentences in perl?

Hi, I have an array with 3 words in it and i have to match all the array contents and display the exact matched sentence i.e all 3 words should match with the sentence. Here are sentences. $arr1="Our data suggests that epithelial shape and growth control are unequally affected depending... (5 Replies)
Discussion started by: vanitham
5 Replies

9. Shell Programming and Scripting

counting number of sentence

Hi all I want to count total numbers of sentences separated by fullstop (.) in different files under a directory at one go. Any help is appreciated. (3 Replies)
Discussion started by: my_Perl
3 Replies

10. UNIX for Dummies Questions & Answers

Script to ask for a sentence and then count number of spaces in the sentence

Hi People, I need some Help to write a unix script that asks for a sentence to be typed out then with the sentence. Counts the number of spaces within the sentence and then echo's out "The Number Of Spaces In The Sentence is 4" as a example Thanks Danielle (12 Replies)
Discussion started by: charlie101208
12 Replies

11. Shell Programming and Scripting

How do you split a sentence after every nth word

Hi, I think my problem is a "simple" one to resolve. What i am looking for is a way in sed/awk to split a long line/paragraph into say 5 words per line. For example: Sentence/paragraph contains: 102 103 104 105 106 107 109 110 .... I would like the output to be (if splitting every 5... (5 Replies)
Discussion started by: muay_tb
5 Replies

12. Shell Programming and Scripting

Print numbers along with file names.

Hi All, I have some thousand files with names like 1.syl, 2.syl, 5.syl etc. These files contain one sentence each. I want to store all those sentences along with the file ID that is 1, 2, 5 with the sentences they contain. For example, 1.syl has this is a test line 2.syl has ... (3 Replies)
Discussion started by: shoaibjameel123
3 Replies

13. Emergency UNIX and Linux Support

Removing ONLY UNIQUE blank spaces with sed?

Hi, I have data that looks similar to this: In which the sentences are written horizontally and the beginning of a sentence is indicated by a 1 in the first column and the number increments until the last item of the sentence. The end of the sentence and the beginning of the next is then indicate... (1 Reply)
Discussion started by: owwow14
1 Replies

14. Shell Programming and Scripting

Identifying a sentence and putting it on a new line

I am revisiting the problem of sentence splitting. I have a Perl Script which splits a para into sentences, but acronyms and short forms create an issue #!/usr/bin/perl use feature qw/say/; use strict; use warnings; my $s; my @arr; while(<>) { chomp $_; $s .= $_ . " "; } @arr... (2 Replies)
Discussion started by: gimley
2 Replies

15. Shell Programming and Scripting

Print one sentence 40 to 50 words end with period in a file

Hi All, Is there another way to achieve this? how get short phrase in a sentence with character count of 100 to 155 words end with period but don't end something like 50,000. . Here's my current script but the output is not good. This will use for my snippets or preview. grep... (6 Replies)
Discussion started by: lxdorney
6 Replies