diff options
author | Foxfair Hu <foxfair@FreeBSD.org> | 2003-10-28 15:16:42 +0000 |
---|---|---|
committer | Foxfair Hu <foxfair@FreeBSD.org> | 2003-10-28 15:16:42 +0000 |
commit | 7fffd2b1338944aa6727008736908529ca684cff (patch) | |
tree | 6e6afeda46ecd8d4419e14bfcc616478ec1e3d00 /textproc/p5-WordNet-Similarity | |
parent | Submitted by: Marcus Henschel <mh@myfreebsd.org> (diff) |
PR: 58552
Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
Update port from 0.05 to 0.06, and add BUILD_DEPENDS of BerkeleyDB.pm,
Assign maintainership to the submitter.
Notes
Notes:
svn path=/head/; revision=92454
Diffstat (limited to 'textproc/p5-WordNet-Similarity')
-rw-r--r-- | textproc/p5-WordNet-Similarity/Makefile | 13 | ||||
-rw-r--r-- | textproc/p5-WordNet-Similarity/distinfo | 2 | ||||
-rw-r--r-- | textproc/p5-WordNet-Similarity/pkg-descr | 40 | ||||
-rw-r--r-- | textproc/p5-WordNet-Similarity/pkg-plist | 2 |
4 files changed, 29 insertions, 28 deletions
diff --git a/textproc/p5-WordNet-Similarity/Makefile b/textproc/p5-WordNet-Similarity/Makefile index 5871394389d4..43e0bf746b18 100644 --- a/textproc/p5-WordNet-Similarity/Makefile +++ b/textproc/p5-WordNet-Similarity/Makefile @@ -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@FreeBSD.org -COMMENT= Modules and a CLI to determine semantic relatedness using the WordNet database +MAINTAINER= clsung@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 @@ MAN3= WordNet::Similarity.3 WordNet::Similarity::jcn.3 \ 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 --git a/textproc/p5-WordNet-Similarity/distinfo b/textproc/p5-WordNet-Similarity/distinfo index 781e352920f6..6b130b5c28dd 100644 --- a/textproc/p5-WordNet-Similarity/distinfo +++ b/textproc/p5-WordNet-Similarity/distinfo @@ -1 +1 @@ -MD5 (WordNet-Similarity-0.05.tar.gz) = dc82c6c971a480f3a082f6d9f1233d4a +MD5 (WordNet-Similarity-0.06.tar.gz) = fffa8d18a5fe9e361825beca852fbbcd diff --git a/textproc/p5-WordNet-Similarity/pkg-descr b/textproc/p5-WordNet-Similarity/pkg-descr index f58ec498b7c7..aa4c688195df 100644 --- a/textproc/p5-WordNet-Similarity/pkg-descr +++ b/textproc/p5-WordNet-Similarity/pkg-descr @@ -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 --git a/textproc/p5-WordNet-Similarity/pkg-plist b/textproc/p5-WordNet-Similarity/pkg-plist index 75e38e32d7a0..7778b0e41537 100644 --- a/textproc/p5-WordNet-Similarity/pkg-plist +++ b/textproc/p5-WordNet-Similarity/pkg-plist @@ -7,6 +7,7 @@ bin/similarity.pl 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 @@ bin/compounds.pl %%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 |