Commit b2dafcc3 authored by Ken Bloom's avatar Ken Bloom

Import debian/ directory 4.3.9-2

parent 161bc461
link-grammar (4.3.9-2) unstable; urgency=low
* Dont pass -z noexecstack to the linker because it's overridden
anyway, and it breaks compilation on several architectures
-- Ken Bloom <kbloom@gmail.com> Fri, 28 Nov 2008 09:48:34 -0600
link-grammar (4.3.9-1) unstable; urgency=low
* New upstream release
* Use default-jdk to build jni package (Closes: #506209)
* Don't build liblink-grammar-java on architectures that don't
(currently) have default-jdk (Closes: #506531)
* Update manpage to refer to the binary as link-parser
(Closes: #504538)
* Fix debian/rules clean
* Update to standards version 3.8.0 (no changes needed)
* Add link-grammar-dictionaries-lt for the included Lithuanian
dictionaries
* Pass -z noexecstack to the linker
-- Ken Bloom <kbloom@gmail.com> Sun, 23 Nov 2008 11:16:00 -0600
link-grammar (4.3.5-1) unstable; urgency=low
* New upstream release.
* Remove Linda overrides, because Linda is obsolete.
-- Ken Bloom <kbloom@gmail.com> Sun, 22 Jun 2008 23:59:53 +0300
link-grammar (4.3.2-1) unstable; urgency=low
* New upstream release.
-- Ken Bloom <kbloom@gmail.com> Mon, 04 Feb 2008 16:12:33 -0600
link-grammar (4.3.1-1) unstable; urgency=low
* New upstream release
- Adds JNI interface
- Expanded dictionaries
* Add a watch file
-- Ken Bloom <kbloom@gmail.com> Fri, 01 Feb 2008 13:40:14 -0600
link-grammar (4.2.5-1) unstable; urgency=high
* New upstream release.
- Fixes boundary in separate_word() function.
CVE-2007-5395 and Secunia advisory SA27340
(Closes: #450695)
- Adds new API for extracting constituents.
* Removed all local patches as they've all been accepted upstream.
-- Ken Bloom <kbloom@gmail.com> Fri, 09 Nov 2007 14:19:10 -0600
link-grammar (4.2.2-4) unstable; urgency=low
* Fix stupid bashism in debian/rules (Closes: #376478)
* Return to quilt for patches to more easily manage the changes
introduced in the last two versions. Next time, I won't remove
quilt, even when I have no patches.
* Bump standards-version to 3.7.2
* Fix homepage pseudo-field to have 2 spaces at the beginning so p.d.o
can parse it correctly.
-- Ken Bloom <kbloom@gmail.com> Tue, 4 Jul 2006 22:49:41 -0500
link-grammar (4.2.2-3) unstable; urgency=low
* Get my fix for the sentence length error message correct so it
doesn't leak memory.
* Import prototype for safe_strdup() to prevent crashes on amd64
(Closes: #366490) Thanks to Dann Fraizer, and his script on the
AMD64 buildd.
-- Ken Bloom <kbloom@gmail.com> Tue, 9 May 2006 08:35:22 -0500
link-grammar (4.2.2-2) unstable; urgency=low
* Updated manpage to be more clear. Thanks to Maru Dubshinki
<marudubshinki@gmail.com> (Closes: #364532)
* Merged patch from upstream CVS to handle unset $LANG.
(Closes: #364738)
* Don't use sentence to generate error message after deleting it.
(Closes: #366136). I have not done an audit to find other cases of
this.
-- Ken Bloom <kbloom@gmail.com> Sun, 23 Apr 2006 22:44:03 -0500
link-grammar (4.2.2-1) unstable; urgency=low
* New Upstream Release
* Eliminate quilt use, and eliminate all patches.
- Patches for dictionary selection were merged upstream
- Rename the commandline parser using debian/rules rather than
reautotooling.
* Install -T is broken despite being documented in the man page. Work
around that in debian/rules (Closes: #359280)
-- Ken Bloom <kbloom@gmail.com> Tue, 18 Apr 2006 11:27:15 -0500
link-grammar (4.1.3-2) unstable; urgency=low
* The commandline parser (and not the search path) should have been
patched to fix dictionary selection (Closes: 352165)
* Use alternatives system to manage the default dictionary for the
command-line parser
-- Ken Bloom <kbloom@gmail.com> Wed, 15 Feb 2006 09:01:45 -0600
link-grammar (4.1.3-1) unstable; urgency=low
* Initial release Closes: #337277
* Patches:
- dictionary-path-references
Since the dictionaries live in data/en, they don't need to refer to
en/words as this would really mean data/en/en/words which doesn't
exist.
- binary-name
Named this link-grammar instead of grammar-parse. Partly personal
preference, and partly because if other kinds of grammar get added
to Debian, this one shouldn't have the generic name.
- default-english-dictionary
Make link-grammar use the english dictionary in data/en as the
default. (Upstream stored the dictionary in data/en, but told the
program to refer to the nonexistent one in data/)
- acinclude_binreloc
Needed to reautotoolize.
- reautotoolize
Reautotoolize to deal with the stuff done in binary-name and
default-english-dictionary
-- Ken Bloom <kbloom@gmail.com> Thu, 3 Nov 2005 16:53:09 -0600
Source: link-grammar
Section: text
Priority: optional
Maintainer: Ken Bloom <kbloom@gmail.com>
Build-Depends: debhelper (>= 5.0.0), cdbs, quilt, default-jdk [!hppa !alpha !arm], fastjar [!hppa !alpha !arm], ant [!hppa !alpha !arm]
Standards-Version: 3.8.0
Homepage: http://www.link.cs.cmu.edu/link/
Package: link-grammar
Architecture: any
Section: text
Depends: ${shlibs:Depends}, link-grammar-dictionaries-en
Description: Carnegie Mellon University's link grammar parser for English
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 connected graph. The authors encoded
English grammar into such a system, and wrote this program to parse
English using this grammar.
.
link-grammar can be used for linguistic parsing for information
retrieval or extraction from natural language documents. It can also be
used as a grammar checker.
.
This package contains the user-executable binary.
Package: liblink-grammar4
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, link-grammar-dictionaries-en
Description: Carnegie Mellon University's link grammar parser for English
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 connected graph. The authors encoded
English grammar into such a system, and wrote this program to parse
English using this grammar.
.
link-grammar can be used for linguistic parsing for information
retrieval or extraction from natural language documents. It can also be
used as a grammar checker.
.
This package contains the shared library.
Package: liblink-grammar4-dev
Architecture: any
Section: libdevel
Depends: ${shlibs:Depends}, liblink-grammar4
Description: Carnegie Mellon University's link grammar parser for English
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 connected graph. The authors encoded
English grammar into such a system, and wrote this program to parse
English using this grammar.
.
link-grammar can be used for linguistic parsing for information
retrieval or extraction from natural language documents. It can also be
used as a grammar checker.
.
This package contains the header files and static libraries
Package: liblink-grammar4-java
Architecture: amd64 armel hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386
m68k mips mipsel powerpc s390 sparc
Section: libs
Depends: ${shlibs:Depends}, liblink-grammar4
Description: Carnegie Mellon University's link grammar parser for English
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 connected graph. The authors encoded
English grammar into such a system, and wrote this program to parse
English using this grammar.
.
link-grammar can be used for linguistic parsing for information
retrieval or extraction from natural language documents. It can also be
used as a grammar checker.
.
This package a Java JNI library for using link-grammar from your java
applications.
Package: link-grammar-dictionaries-en
Architecture: all
Section: text
Depends: ${shlibs:Depends}
Description: Carnegie Mellon University's link grammar parser for English
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 connected graph. The authors encoded
English grammar into such a system, and wrote this program to parse
English using this grammar.
.
link-grammar can be used for linguistic parsing for information
retrieval or extraction from natural language documents. It can also be
used as a grammar checker.
.
This package contains the English dictionaries.
Package: link-grammar-dictionaries-lt
Architecture: all
Section: text
Depends: ${shlibs:Depends}
Description: Carnegie Mellon University's link grammar parser for English
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 connected graph. The authors encoded
English grammar into such a system, and wrote this program to parse
English using this grammar.
.
link-grammar can be used for linguistic parsing for information
retrieval or extraction from natural language documents. It can also be
used as a grammar checker.
.
This package contains the Lithuanian dictionaries.
This package was debianized by Ken Bloom <kbloom@gmail.com> on
Thu, 3 Nov 2005 13:54:35 -0600.
It was downloaded from http://www.abisource.com/downloads/link-grammar/
(a project page is available at
http://www.abisource.com/projects/link-grammar/) where the autotooled
verison is maintained by Dom Lachowicz <domlachowicz@gmail.com>.
The original, un-autotooled version comes from
http://www.link.cs.cmu.edu/link/
Copyright (c) 2003-2004 Daniel Sleator, David Temperley, and John
Lafferty. All rights reserved.
Copyright (c) 2007 Mike Ross.
License:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. The names "Link Grammar" and "Link Parser" must not be used to
endorse or promote products derived from this software without
prior written permission. To obtain permission, contact
sleator@cs.cmu.edu
THIS SOFTWARE IS PROVIDED BY DANIEL SLEATOR, DAVID TEMPERLEY, JOHN
LAFFERTY AND OTHER CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
debian/tmp/usr/include/link-grammar
debian/tmp/usr/lib/liblink-grammar.{so,la,a}
debian/tmp/usr/lib/pkgconfig
debian/tmp/usr/lib/jni/*.so*
debian/tmp/usr/share/java/*
debian/tmp/usr/lib/liblink-grammar.so.*
debian/tmp/usr/share/linda/*
debian/tmp/usr/share/link-grammar/en/
debian/tmp/usr/share/link-grammar/lt/
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH LINK-GRAMMAR 1 "April 23, 2006"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
link-parser \- parses natural language sentences
.SH SYNOPSIS
.B link-parser
.RI [language] [\-pp pp_knowledge_file] [\-c constituent_knowledge_file]
[\-a affix_file] [\-ppoff] [\-coff] [\-aoff] [\-batch] [\-<special "!" command>]
.SH DESCRIPTION
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
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 \fBlink\-grammar\fP to
parse English using this grammar.
.PP
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.
.SH OPTIONS
.TP
.B \-pp pp_knowledge_file
.TP
.B \-c constituent_knowledge_file
.TP
.B \-a affix_file
.TP
.B \-ppoff
.TP
.B \-coff
.TP
.B \-aoff
.TP
.B \-batch
.TP
.B \-<special "!" command> \"Can special commands be commandline arguments?
.SH USE
.PP
link\-grammar, when invoked manually, will take control of the
terminal; link\-grammar 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.
.PP
link\-grammar 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
.TP
.B link\-grammar en
.TP
.B link\-grammar /usr/share/link\-grammar/en
will run link\-grammar using the english dictionary included with the
parser.
.PP
While in a link\-grammar session, some example output could be:
.PP
.RS
.B linkparser> Reading a man page is informative.
.PP
++++Time 0.00 seconds (0.01
total)
.PP
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---+ |
| | | | | | | |
.PP
LEFT\-WALL reading.g a man.n page.n is.v informative.a .
.RE
.PP
link\-grammar can also be used non\-interactively, either through its
API, or via the \-batch option. When used with the \-batch option,
link\-grammar passively receives input from standard input, and when
the stream finishes, it then outputs its analysis. So one could
construct an ad\-hoc grammar checker by piping text through
link\-grammar with a batch option, and seeing what sentences fail to
parse as valid:
.RS
.B cat thesis.txt | link\-grammar /usr/share/link\-grammar/en/4.0.dict \-batch
.RE
.SH SEE ALSO
.br
Information on the shared\-library API and the link types used in the
parse is avavailable from the authors' website at
.B http://www.link.cs.cmu.edu/link/dict/index.html.
.br
Peer\-reviewed papers explaining link\-grammar can be found at the same
site at
.B http://www.link.cs.cmu.edu/link/papers/index.html.
.SH AUTHOR
.nh
link\-grammar was written by Daniel Sleator <sleator@cs.cmu.edu>,
Davy Temperley <dtemp@theory.esm.rochester.edu>, and John Lafferty
<lafferty@cs.cmu.edu>
.PP
This manual page was written by Ken Bloom <kbloom@gmail.com>,
for the Debian project (but may be used by others).
?package(link-grammar):needs="text" section="Applications/Text"\
title="CMU Link Grammar Parser" command="/usr/bin/link-parser"
#!/usr/bin/make -f
# Sample debian/rules that uses cdbs. Originaly written by Robert Millan.
# This file is public domain.
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
ifneq (,$(shell dh_listpackages -s | grep liblink-grammar-java))
WITH_JAVA := yes
else
WITH_JAVA := no
endif
ifeq (yes,$(WITH_JAVA))
JAVA_HOME := /usr/lib/jvm/default-java
DEB_CONFIGURE_SCRIPT_ENV += CFLAGS="-I/usr/lib/jvm/default-java/include"
DEB_DH_MAKESHLIBS_ARGS_liblink-grammar4-java := --no-act
endif
DEB_INSTALL_MANPAGES_link-grammar := debian/link-parser.1
clean::
$(RM) -r bin/org
$(RM) link-grammar-*.jar
common-install-impl::
if [ $(WITH_JAVA) == yes ]; then \
install -d debian/tmp/usr/lib/jni; \
mv debian/tmp/usr/lib/liblink-grammar-java* debian/tmp/usr/lib/jni; \
install -d debian/tmp/usr/share/java; \
mv link-grammar-*.jar debian/tmp/usr/share/java; \
(cd debian/tmp/usr/share/java && ln -s link-grammar-*.jar link-grammar.jar); \
fi;
# Example watch control file for uscan
# Rename this file to "watch" and then you can run the "uscan" command
# to check for upstream updates and more.
# See uscan(1) for format
# Compulsory line, this is a version 3 file
version=3
# Uncomment to examine a Webserver directory
http://www.abisource.com/downloads/link-grammar/([0-9.]*)/link-grammar-(.*).tar.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment