pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/link-grammar Update to 5.5.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1379d1144ce
branches:  trunk
changeset: 313722:f1379d1144ce
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Oct 07 23:21:26 2018 +0000

description:
Update to 5.5.1

Changelog:
[ANNOUNCE] Link-Grammar Version 5.5.0 is now available.

Version 5.5.0 of link-grammar has been released.  It contains several
important bug-fixes for opencog users.

* The previous version accidentally broke the opencog API. This version
  fixes it.

* Linkages generated by the "ANY" random parser were not actually being
  randomized.  This is now fixed.  (Bug reported by Andres.)

* Poorly-formated dictionaries no longer report errors.  (Bug reported
  by Alexei/Anton)

The complete list of changes is:

 * Fix accidental API breakage that impacts OpenCog.
 * Fix memory leak when parsing with null links.
 * Python bindings: Add an optional parse-option argument to parse().
 * Add an extended version API and use it in "link-parser --version".
 * Fix spurious errors if the last dict line is a comment.
 * Fix garbage report if EOF encountered in a quoted dict word.
 * Fix garbage report if whitespace encountered in a quoted dict word.
 * Add a per-command help in link-parser.
 * Add a command line completion in link-parser.
 * Enable build of word-graph printing support by default.
 * Add idiom lookup in link-parser's dict lookup command (!!idiom_here).
 * Improve handling of quoted words (e.g. single words in "scare
 * quotes").
 * Fix random selection of linkages so that it's actually random.

You can download link-grammar from
http://www.abisource.com/downloads/link-grammar/current/

The website is here:
https://www.abisource.com/projects/link-grammar/

WHAT IS LINK GRAMMER?
The Link Grammar Parser is a syntactic parser of English (and other
languages as well), based on Link Grammar, an original theory of English
syntax. Given a sentence, the system assigns to it a syntactic structure,
which consists of a set of labelled links connecting pairs of words.


=================================================================
=================================================================
=================================================================

[ANNOUNCE] Link-Grammar Version 5.4.4 is now available.

I'm pleased to announce that version 5.4.4 is now available. I don't
normally announce minor versions, but this one was almost named 5.5.0.
Which suggests that there were some important changes. Dictionary
loading is now thread safe. Security vulnerabilities are fixed. Parsing
of Russian is now 2x faster than before. Connectors can be individually
given length limits - handy for morphology and phonetic agreement - and
the root reason for the Russian speedup.  An assortment of fixes to the
English dictionary, including a reversal of some back-sliding in the
test corpus.

You can download link-grammar from
http://www.abisource.com/downloads/link-grammar/current/

The website is here:
https://www.abisource.com/projects/link-grammar/

WHAT IS LINK GRAMMER?
The Link Grammar Parser is a syntactic parser of English (and other
languages as well), based on Link Grammar, an original theory of English
syntax. Given a sentence, the system assigns to it a syntactic structure,
which consists of a set of labelled links connecting pairs of words.


=================================================================
=================================================================
=================================================================

[ANNOUNCE] Link-Grammar Version 5.4.0 is now available.

I'm pleased to announce that version 5.4.0 is now available. Besides
including various bug fixes, this release is notable for completely
restructuring the organization of the source code, grouping files into
directories according to the processing stage that they implement.  See
below for the full ChangeLog.

You can download link-grammar from
http://www.abisource.com/downloads/link-grammar/current/

The website is here:
https://www.abisource.com/projects/link-grammar/

WHAT IS LINK GRAMMER?
The Link Grammar Parser is a syntactic parser of English (and other
languages as well), based on link grammar, an original theory of English
syntax. Given a sentence, the system assigns to it a syntactic
structure, which consists of a set of labelled links connecting pairs of
words. The parser also produces a "constituent" (Penn tree-bank style
phrase tree) representation of a sentence (showing noun phrases, verb
phrases, etc.).

diffstat:

 textproc/link-grammar/Makefile                |  10 +++++-----
 textproc/link-grammar/PLIST                   |  24 +++++++++++++++++++++---
 textproc/link-grammar/distinfo                |  12 ++++++------
 textproc/link-grammar/patches/patch-configure |  23 ++++++++++++++++-------
 4 files changed, 48 insertions(+), 21 deletions(-)

diffs (160 lines):

diff -r adc33f76779b -r f1379d1144ce textproc/link-grammar/Makefile
--- a/textproc/link-grammar/Makefile    Sun Oct 07 23:12:49 2018 +0000
+++ b/textproc/link-grammar/Makefile    Sun Oct 07 23:21:26 2018 +0000
@@ -1,17 +1,17 @@
-# $NetBSD: Makefile,v 1.8 2018/09/14 08:43:02 fhajny Exp $
+# $NetBSD: Makefile,v 1.9 2018/10/07 23:21:26 ryoon Exp $
 
-DISTNAME=      link-grammar-5.3.7
+DISTNAME=      link-grammar-5.5.1
 CATEGORIES=    textproc
-MASTER_SITES=  http://www.abisource.com/downloads/link-grammar/${PKGVERSION_NOREV}/
+MASTER_SITES=  https://www.abisource.com/downloads/link-grammar/${PKGVERSION_NOREV}/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.abisource.com/projects/link-grammar/
 COMMENT=       Syntactic parsing library
 LICENSE=       modified-bsd AND gnu-lgpl-v2.1
 
-USE_LANGUAGES= c c99 c++
+USE_LANGUAGES= c99 c++
 USE_LIBTOOL=   yes
-USE_TOOLS+=    pkg-config
+USE_TOOLS+=    gmake pkg-config
 GNU_CONFIGURE= yes
 
 CONFIGURE_ARGS+=       --disable-java-bindings
diff -r adc33f76779b -r f1379d1144ce textproc/link-grammar/PLIST
--- a/textproc/link-grammar/PLIST       Sun Oct 07 23:12:49 2018 +0000
+++ b/textproc/link-grammar/PLIST       Sun Oct 07 23:21:26 2018 +0000
@@ -1,12 +1,17 @@
-@comment $NetBSD: PLIST,v 1.6 2016/09/12 14:06:08 mef Exp $
+@comment $NetBSD: PLIST,v 1.7 2018/10/07 23:21:26 ryoon Exp $
 bin/link-parser
 include/link-grammar/dict-api.h
 include/link-grammar/dict-structures.h
 include/link-grammar/link-features.h
 include/link-grammar/link-includes.h
 lib/liblink-grammar.la
-lib/libminisat.la
 lib/pkgconfig/link-grammar.pc
+man/man1/link-parser.1
+share/link-grammar/ady/4.0.affix
+share/link-grammar/ady/4.0.constituent-knowledge
+share/link-grammar/ady/4.0.dict
+share/link-grammar/ady/4.0.knowledge
+share/link-grammar/ady/4.0.regex
 share/link-grammar/amy/4.0.affix
 share/link-grammar/amy/4.0.constituent-knowledge
 share/link-grammar/amy/4.0.dict
@@ -17,6 +22,8 @@
 share/link-grammar/any/4.0.dict
 share/link-grammar/any/4.0.knowledge
 share/link-grammar/any/4.0.regex
+share/link-grammar/any/README.md
+share/link-grammar/any/affix-punc
 share/link-grammar/ar/4.0.affix
 share/link-grammar/ar/4.0.constituent-knowledge
 share/link-grammar/ar/4.0.dict
@@ -51,11 +58,17 @@
 share/link-grammar/ar/words/words.numbers
 share/link-grammar/ar/words/words.prep
 share/link-grammar/ar/words/words.years
+share/link-grammar/command-help-en.txt
 share/link-grammar/de/4.0.affix
 share/link-grammar/de/4.0.constituent-knowledge
 share/link-grammar/de/4.0.dict
 share/link-grammar/de/4.0.knowledge
 share/link-grammar/de/4.0.regex
+share/link-grammar/demo-sql/4.0.affix
+share/link-grammar/demo-sql/4.0.constituent-knowledge
+share/link-grammar/demo-sql/4.0.knowledge
+share/link-grammar/demo-sql/4.0.regex
+share/link-grammar/demo-sql/dict.db
 share/link-grammar/en/4.0.affix
 share/link-grammar/en/4.0.constituent-knowledge
 share/link-grammar/en/4.0.dict
@@ -82,6 +95,7 @@
 share/link-grammar/en/words/units.4.dot
 share/link-grammar/en/words/units.5
 share/link-grammar/en/words/units.6
+share/link-grammar/en/words/units.a
 share/link-grammar/en/words/words-medical.adv.1
 share/link-grammar/en/words/words-medical.prep.1
 share/link-grammar/en/words/words-medical.v.4.1
@@ -95,8 +109,11 @@
 share/link-grammar/en/words/words.adj.3
 share/link-grammar/en/words/words.adv.1
 share/link-grammar/en/words/words.adv.2
-share/link-grammar/en/words/words.adv.3
+share/link-grammar/en/words/words.adv.3-const
+share/link-grammar/en/words/words.adv.3-vowel
 share/link-grammar/en/words/words.adv.4
+share/link-grammar/en/words/words.lang.3-const
+share/link-grammar/en/words/words.lang.3-vowel
 share/link-grammar/en/words/words.n.1-const
 share/link-grammar/en/words/words.n.1-vowel
 share/link-grammar/en/words/words.n.1.gerund
@@ -162,6 +179,7 @@
 share/link-grammar/he/4.0.affix
 share/link-grammar/he/4.0.constituent-knowledge
 share/link-grammar/he/4.0.dict
+share/link-grammar/he/4.0.dict.m4
 share/link-grammar/he/4.0.knowledge
 share/link-grammar/he/4.0.regex
 share/link-grammar/id/4.0.affix
diff -r adc33f76779b -r f1379d1144ce textproc/link-grammar/distinfo
--- a/textproc/link-grammar/distinfo    Sun Oct 07 23:12:49 2018 +0000
+++ b/textproc/link-grammar/distinfo    Sun Oct 07 23:21:26 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2016/07/15 11:36:43 mef Exp $
+$NetBSD: distinfo,v 1.6 2018/10/07 23:21:26 ryoon Exp $
 
-SHA1 (link-grammar-5.3.7.tar.gz) = 38d8bb26b853ab9406bc5a312b37b436ec00d066
-RMD160 (link-grammar-5.3.7.tar.gz) = 0b2b4d867944a9a8362162938709f546b187897e
-SHA512 (link-grammar-5.3.7.tar.gz) = f1a1e03841f847d427acb24cfb7a7a552ade6731253cf5f2ce6fcb82be387426d7cb5b47a82523f01fc56771c0667881ae663380dbc644e775694029c7fef740
-Size (link-grammar-5.3.7.tar.gz) = 3555475 bytes
+SHA1 (link-grammar-5.5.1.tar.gz) = 4931553a334ffce2d322b74bfe4f7c7e98b86b82
+RMD160 (link-grammar-5.5.1.tar.gz) = 33152b913dcf672297cf5271780e835f45c718b6
+SHA512 (link-grammar-5.5.1.tar.gz) = 503e964af9d9f050ecd9b91a4b287c0e5993d69bbc2c5efae420cafce2061b20ee6f055e2f8eaa394b6bf7615fc2b51ab31f2ff6305c1cd7356dac8f7d296a0f
+Size (link-grammar-5.5.1.tar.gz) = 3760337 bytes
 SHA1 (patch-aa) = 3be918c26b639442b56efab2e9416974f31969c5
-SHA1 (patch-configure) = 158d0b2270453c3df92abdecd8c03889425e76f3
+SHA1 (patch-configure) = d11a08e5a2c2d79bd71ca75958c3547376104c4e
diff -r adc33f76779b -r f1379d1144ce textproc/link-grammar/patches/patch-configure
--- a/textproc/link-grammar/patches/patch-configure     Sun Oct 07 23:12:49 2018 +0000
+++ b/textproc/link-grammar/patches/patch-configure     Sun Oct 07 23:21:26 2018 +0000
@@ -1,17 +1,26 @@
-$NetBSD: patch-configure,v 1.2 2016/07/15 11:36:43 mef Exp $
+$NetBSD: patch-configure,v 1.3 2018/10/07 23:21:27 ryoon Exp $
 
 Remove bash(1)ism(?).
 
---- configure.orig     2016-05-08 11:49:36.000000000 +0900
-+++ configure  2016-07-15 20:28:13.000000000 +0900
-@@ -16667,8 +16667,8 @@ then
+--- configure.orig     2018-07-27 17:32:48.000000000 +0000
++++ configure
+@@ -17635,7 +17635,7 @@ else
+ fi
+ 
+ 
+-if test "x$enable_TLS" == xyes
++if test "x$enable_TLS" = xyes
+ then
+ 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
+@@ -17710,8 +17710,8 @@ then
        # But not the NetBSD sh, so use sed instead.
        # CFLAGS="${CFLAGS//-O[[2-9]]} -g"
        # CXXFLAGS="${CXXFLAGS//-O[[2-9]]} -g"
--      CFLAGS=`echo ${CFLAGS} -g |sed "s/-O[2-9]//g"`
--      CXXFLAGS=`echo ${CXXFLAGS} -g |sed "s/-O[2-9]//g"`
+-      CFLAGS=`echo -g ${CFLAGS} |sed "s/-O[2-9]//g"`
+-      CXXFLAGS=`echo -g ${CXXFLAGS} |sed "s/-O[2-9]//g"`
 +      CFLAGS="${CFLAGS} -g"
 +      CXXFLAGS="${CXXFLAGS} -g"
-       LDFLAGS="${LDFLAGS} -g"
+       LDFLAGS="-g ${LDFLAGS}"
        $as_echo "#define DEBUG 1" >>confdefs.h
  



Home | Main Index | Thread Index | Old Index