Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

yapps(1) [debian 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)

Check Out this Related 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)
Man Page

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Awk and sql field comparation help.

Hi, before my question let me excuse myself for the bad grammar and possible confusion (i am used to write in spanish)* I need some help, i'm making a query: SELECT empnmbr as empl, origin as addr, old_fields_value as prev_sta, new_fields_value as new_sta \ FROM webapplog$bdate,... (3 Replies)
Discussion started by: HernandJ2
3 Replies

2. Shell Programming and Scripting

Need some help with shell content scanner

Just started to create my own small content scanner that searches all the visible files on my server, but now I got stuck. It should be used to scan the files for phrases like in the following example. What I tried is the following code: #!/bin/bash find /home/userid*/public_html/ -size... (18 Replies)
Discussion started by: medic
18 Replies

3. UNIX for Dummies Questions & Answers

General Programming Question

Experience level : New to programming in Linux. Forgive my noobiness in this context with regards to programming, language or grammar. Some Background info : I have seen a lot of programs which I use (Modo and Maya especially) which can use a command line to run the different parts of the... (2 Replies)
Discussion started by: snd321
2 Replies

4. UNIX for Dummies Questions & Answers

I dont really think that the math header has syntax errors

Hi, Mini:Evaluator develop$ make bison -d grammar.y grammar.y: conflicts: 24 shift/reduce flex rules.l cc -0 -o Evaluator grammar.tab.c lex.yy.c -ly -ll -lm In file included from grammar.y:3: /usr/include/architecture/i386/math.h:310: error: syntax error before numeric constant... (1 Reply)
Discussion started by: tcerka
1 Replies

5. Programming

Python Execution Stack

I was wondering if Python's execution stack does not grow if we make recursive call of a function i.e. if we implement a fibonacci () and factorial () functions and made recursive call of them in a conditional statement the execution stack will not grow? I wish someone answer this question with... (1 Reply)
Discussion started by: pharaoh
1 Replies

6. Emergency UNIX and Linux Support

calculate internal fragmentation in directory

hi sorry for grammar mistakes but i am writting these fro tablet and am not realy used to ot so well yet.... i am in the middle of doing work here and hope some1 ca answear my question asap please :-) How to calculate the amount of internal fragmentation using script. cd directory ...... (6 Replies)
Discussion started by: me.
6 Replies

7. Shell Programming and Scripting

Shell grammar question: logical OR in test

Hi, I am trying to check if two input files exist before the rest of the scripts is run. Following is the code that I have but it gives me syntax error. if then echo "File not found" else echo "File found" fi (3 Replies)
Discussion started by: nua7
3 Replies

8. UNIX for Beginners Questions & Answers

Noob. shell script with prompt?

Hey Guys and Gals, Im a complete Noob to Unix. But recently have started working on a unix system for my PET/CT scanner. My scanner comes with a MOD drive for backup. I would like to back up to USB (its alot cheaper). But the only way to do so is by manually enterin the unix commands. Id like to... (13 Replies)
Discussion started by: TorresGXL
13 Replies

9. Hardware

Canon LiDE 220 Installation

I am trying to install a Canon LiDE 220 scanner on Debian 8.5 64 bit, running on a Dell Latitude E5400 As far as Ubuntu is concerned, it can be installed. I am having no luck with Debian 8.5 This is what I have root@server1:/etc# sane-find-scanner # sane-find-scanner will now... (1 Reply)
Discussion started by: Meow613
1 Replies