ports/58552: Update port: textproc/p5-WordNet-Similarity
Cheng-Lung Sung
clsung at dragon2.net
Sun Oct 26 04:20:24 UTC 2003
>Number: 58552
>Category: ports
>Synopsis: Update port: textproc/p5-WordNet-Similarity
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 25 21:20:21 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Cheng-Lung Sung
>Release: FreeBSD 4.8-RELEASE-p13 i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD sungsung.csie.nctu.edu.tw 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #3: Wed Oct 8 07:32:16 CST 2003 root at sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386
>Description:
Update port from 0.05 to 0.06,
Add BUILD_DEPENDS of BerkeleyDB.pm,
grab maintainer
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/textproc/p5-WordNet-Similarity/Makefile ./p5-WordNet-Similarity/Makefile
--- /usr/ports/textproc/p5-WordNet-Similarity/Makefile Tue Jul 8 09:16:27 2003
+++ ./p5-WordNet-Similarity/Makefile Sun Oct 26 12:10:26 2003
@@ -6,16 +6,17 @@
#
PORTNAME= WordNet-Similarity
-PORTVERSION= 0.05
+PORTVERSION= 0.06
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= WordNet
PKGNAMEPREFIX= p5-
-MAINTAINER= ports at FreeBSD.org
-COMMENT= Modules and a CLI to determine semantic relatedness using the WordNet database
+MAINTAINER= clsung at dragon2.net
+COMMENT= Modules/CLI to determine semantic relatedness using the WordNet
-BUILD_DEPENDS= ${SITE_PERL}/WordNet/QueryData.pm:${PORTSDIR}/textproc/p5-WordNet-QueryData
+BUILD_DEPENDS= ${SITE_PERL}/WordNet/QueryData.pm:${PORTSDIR}/textproc/p5-WordNet-QueryData \
+ ${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB
RUN_DEPENDS= ${BUILD_DEPENDS}
WNHOME?= ${LOCALBASE}/share/WordNet-1.7.1
@@ -28,7 +29,9 @@
WordNet::Similarity::hso.3 WordNet::Similarity::vector.3 \
WordNet::Similarity::random.3 WordNet::Similarity::res.3 \
WordNet::Similarity::lesk.3 WordNet::Similarity::edge.3 \
- WordNet::Similarity::lin.3 WordNet::Similarity::lch.3
+ WordNet::Similarity::lin.3 WordNet::Similarity::lch.3 \
+ WordNet::Similarity::wup.3
+
post-patch:
@${REINPLACE_CMD} -e \
'/wnUnixPath/s|/usr/local/WordNet-1.7.1|${WNHOME}|; \
diff -ruN /usr/ports/textproc/p5-WordNet-Similarity/distinfo ./p5-WordNet-Similarity/distinfo
--- /usr/ports/textproc/p5-WordNet-Similarity/distinfo Tue Jul 8 09:16:27 2003
+++ ./p5-WordNet-Similarity/distinfo Sun Oct 26 11:39:57 2003
@@ -1 +1 @@
-MD5 (WordNet-Similarity-0.05.tar.gz) = dc82c6c971a480f3a082f6d9f1233d4a
+MD5 (WordNet-Similarity-0.06.tar.gz) = fffa8d18a5fe9e361825beca852fbbcd
diff -ruN /usr/ports/textproc/p5-WordNet-Similarity/pkg-descr ./p5-WordNet-Similarity/pkg-descr
--- /usr/ports/textproc/p5-WordNet-Similarity/pkg-descr Tue Jul 8 09:16:27 2003
+++ ./p5-WordNet-Similarity/pkg-descr Sun Oct 26 12:08:02 2003
@@ -1,27 +1,23 @@
-From the README:
-
-This package consists of Perl modules along with supporting Perl programs that
-implement the semantic relatedness measures described by Leacock Chodorow
-(1998), Jiang Conrath (1997), Resnik (1995), Lin (1998), Hirst St Onge (1998)
-and the adapted gloss overlap measure by Banerjee and Pedersen (2002). The Perl
-modules are designed as object classes with methods that take as input two word
-senses. The semantic relatedness of these word senses is returned by these
-methods. A quantitative measure of the degree to which two word senses are
-related has wide ranging applications in numerous areas, such as word sense
-disambiguation, information retrieval, etc. For example, in order to determine
-which sense of a given word is being used in a particular context, the sense
-having the highest relatedness with its context word senses is most likely to
-be the sense being used. Similarly, in information retrieval, retrieving
-documents containing highly related concepts are more likely to have higher
-precision and recall values.
+This package consists of Perl modules along with supporting Perl programs
+that implement the semantic relatedness measures described by Leacock
+Chodorow (1998), Jiang Conrath (1997), Resnik (1995), Lin (1998), Hirst St
+Onge (1998), Wu Palmer (1994), the adapted gloss overlap measure by
+Banerjee and Pedersen (2002), and a measure based on context vectors
+by Patwardhan (2003). The details of the Vector measure are described in the
+Master's thesis work done by Patwardhan (2003) at the University of Minnesota
+Duluth. The Perl modules are designed as objects with methods that take as
+input two word senses. The semantic relatedness of these word senses is
+returned by these methods. A quantitative measure of the degree to which two
+word senses are related has wide ranging applications in numerous areas, such
+as word sense disambiguation, information retrieval, etc. For example, in
+order to determine which sense of a given word is being used in a particular
+context, the sense having the highest relatedness with its context word
+senses is most likely to be the sense being used. Similarly, in information
+retrieval, retrieving documents containing highly related concepts are more
+likely to have higher precision and recall values.
A command line interface to these modules is also present in the package. The
simple, user-friendly interface returns the relatedness measure of two given
-words. A number of switches and options have been provided to modify the output
-and enhance it with trace information and other useful output. Details of the
-usage are provided in other sections of this README. Supporting utilities for
-generating information content files from various corpora are also available in
-the package. The information content files are required by three of the
-measures for computing the relatedness of concepts.
+words.
WWW: http://search.cpan.org/dist/WordNet-Similarity/
diff -ruN /usr/ports/textproc/p5-WordNet-Similarity/pkg-plist ./p5-WordNet-Similarity/pkg-plist
--- /usr/ports/textproc/p5-WordNet-Similarity/pkg-plist Tue Jul 8 09:16:27 2003
+++ ./p5-WordNet-Similarity/pkg-plist Sun Oct 26 12:12:12 2003
@@ -7,6 +7,7 @@
bin/wordVectors.pl
bin/treebankFreq.pl
bin/compounds.pl
+bin/readDB.pl
%%SITE_PERL%%/dbInterface.pm
%%SITE_PERL%%/get_wn_info.pm
%%SITE_PERL%%/stem.pm
@@ -22,6 +23,7 @@
%%SITE_PERL%%/WordNet/Similarity/jcn.pm
%%SITE_PERL%%/WordNet/Similarity/lch.pm
%%SITE_PERL%%/WordNet/Similarity/res.pm
+%%SITE_PERL%%/WordNet/Similarity/wup.pm
%%SITE_PERL%%/WordNet/Similarity/vector.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/WordNet/Similarity/.packlist
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WordNet/Similarity 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list