03-09-2015
I'm going to suggest that you start by editing your post. You should use proper capitalization and punctuation. Write your requests in complete sentences and check your grammar.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i am having a weird error on mac os x running some shell scripts. i am a complete newbie at this and this question concerns 2 scripts. one of which a friend of mine wrote (videochecker.sh) a couple weeks ago and it's been running fine on another machine.
then last week i wrote capture.sh and it... (2 Replies)
Discussion started by: danpaluska
2 Replies
2. OS X (Apple)
For a long time, when I type man anything on my Mac, both the manpage header fonts and the background was black, so I had to use my mouse to highlight the manpage output to read it. It was really annoying.
The problem was the same both locally or using the terminal and going ssh somewhere.
... (1 Reply)
Discussion started by: Neo
1 Replies
3. UNIX for Dummies Questions & Answers
Please forgive me if this is the wrong place to post.
I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc.
I tried logging in through a browser but get this error:
ERROR: Connection dropped... (1 Reply)
Discussion started by: dperro01
1 Replies
4. OS X (Apple)
Please forgive me if this is the wrong place to post.
I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc.
I tried logging in through a browser but get this error:
ERROR: Connection... (1 Reply)
Discussion started by: dperro01
1 Replies
5. OS X (Apple)
I was wondering if anyone can tell me how to log back in to unix after logging out. I have a MBPro. If I don't have the window close after exiting, then there is the phrase 'process completed' in brackets with a blinking cursor, but I can't type anything in.
Is it also possible to start the... (4 Replies)
Discussion started by: Straitsfan
4 Replies
6. UNIX Desktop Questions & Answers
I'm hoping someone here can help me. I'm computer literate but by no means an expert! I'm simply trying to recover data from my DLink DNS343 NAS mounted on my X86 iMac using SMB. Somehow, in moving to a new computer, I have lost access to some files on the NAS. Just some files are access denied.
... (0 Replies)
Discussion started by: Quantaa
0 Replies
7. OS X (Apple)
Hi ,
I have a Mac OS X Lion mac book pro. I have a hard drive which I have partitioned in two
(a) OSX Partition - Mac OS Extended Journaled format. Mount point: /
(b) Data Partition - Windows NT Filesystem format. Mount point: /Volumes/Data
I need to access the NTFS partition (I have a... (6 Replies)
Discussion started by: neil.k
6 Replies
8. UNIX for Dummies Questions & Answers
I am using Terminal on an OSX system to access and edit crontab files on a 'headless' Solaris 11 server. Crontab -e on OSX invokes vi as the editor, which is fine, but I am getting unexpected characters on keystrokes and have to abort the edit. If this is an emulation issue, would someone please... (1 Reply)
Discussion started by: SmokeyJoe
1 Replies
9. OS X (Apple)
Hi guys and gals...
After much searching on the good ol' internet I could find nothing, so this is the result.
ALthough many people seem to have asked this question no-one seems to have a solution so here we go.
I need for AudioScope.sh, 'xterm' to run a second program for some of its... (2 Replies)
Discussion started by: wisecracker
2 Replies
10. OS X (Apple)
I was looking for a method of clearing the buffer of the vertical scroll back slider and came across this little Terminal escape snippet I had never seen before:
printf "%b" "\033
SO...
printf "%b" "\033c\033
Performs a terminal reset, buffer clearance, clear the window, set back to default... (0 Replies)
Discussion started by: wisecracker
0 Replies
LEARN ABOUT SUSE
link-parser
LINK-GRAMMAR(1) General Commands Manual LINK-GRAMMAR(1)
NAME
link-parser - parses natural language sentences
SYNOPSIS
link-parser [language] [-pp pp_knowledge_file] [-c constituent_knowledge_file] [-a affix_file] [-ppoff] [-coff] [-aoff] [-batch] [-<special
"!" command>]
DESCRIPTION
In Selator, D. and Temperly, D. "Parsing English with a Link Grammar" (1991), the authors defined a new formal grammatical system called a
"link grammar". A sequence of words is in the language of a link grammar if there is a way to draw "links" between words in such a way that
the local requirements of each word are satisfied, the links do not cross, and the words form a consistent connected graph. The authors
encoded English grammar into such a system, and wrote link-parser to parse English using this grammar.
This package can be used for linguistic parsing for information retrieval or extraction from natural language documents. Abiword also uses
it as a grammar checker.
OPTIONS
-pp pp_knowledge_file
-c constituent_knowledge_file
-a affix_file
-ppoff
-coff
-aoff
-batch
-<special ! command>
USE
link-parser, when invoked manually, will take control of the terminal; link-parser will then attempt to analyze the grammar of all input,
unless escaped with an exclamation mark, according to the dictionary file provided as an argument. If escaped, the input will be treated as
a "special command"; "!help" lists all special commands available.
link-parser depends on a link-grammar dictionary which contains lists of words and associated metadata about their grammatical properties
in order to analyze sentences. A link-grammar dictionary provided by the authors of link-grammar is usually included with the link-grammar
package, and can often be found somewhere in the /usr/share/link-grammar/ hierarchy. When this is the case, only the two-letter language
code needs to be specified on the command-line. Alternatively, a user can provide their own dictionary as an argument, in which case the
dictionary's directory should be specified. Hence, either of the commands
link-parser en
link-parser /usr/share/link-grammar/en
will run link-parser using the english dictionary included with the parser.
While in a link-parser session, some example output could be:
linkparser> Reading a man page is informative.
++++Time 0.00 seconds (0.01 total)
Found 1 linkage (1 had no P.P. violations)
Unique linkage, cost vector = (UNUSED=0 DIS=0 AND=0 LEN=12)
+------------------------Xp-----------------------+
| +---------Ss*g---------+ |
| +-------Os-------+ | |
| | +----Ds----+ | |
+----Wd---+ | +--AN--+ +---Pa---+ |
| | | | | | | |
LEFT-WALL reading.g a man.n page.n is.v informative.a .
A P.P. violation is a post-processing violation; it is a post-linkage step used to reject invalid parses. The link types shown are specific
to English; other langauges will have different link types.
link-parser can also be used non-interactively, either through its API, or via the -batch option. When used with the -batch option,
link-parser passively receives input from standard input, and when the stream finishes, it then outputs its analysis. So one could con-
struct an ad-hoc grammar checker by piping text through link-parser with a batch option, and seeing what sentences fail to parse as valid:
cat thesis.txt | link-parser /usr/share/link-grammar/en/4.0.dict -batch
SEE ALSO
Information on the shared-library API and the link types used in the parse is avavailable at the Abiword website at
http://www.abisource.com/projects/link-grammar/dict/index.html
Peer-reviewed papers explaining link-parser can be found at the original CMU site at http://www.link.cs.cmu.edu/link/papers/index.html.
AUTHOR
link-parser was written by Daniel Sleator <sleator@cs.cmu.edu>, Davy Temperley <dtemp@theory.esm.rochester.edu>, and John Lafferty
<lafferty@cs.cmu.edu>
This manual page was written by Ken Bloom <kbloom@gmail.com>, for the Debian project (but may be used by others).
April 18, 2008 LINK-GRAMMAR(1)