summaryrefslogtreecommitdiff
path: root/textproc/p5-WordNet-QueryData
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-07-08 00:31:30 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-07-08 00:31:30 +0000
commit3da0d2adadcf333281f01f8ee81cddf5230e8c93 (patch)
tree2ab9b42218a12124fdcaaf5c2bfb0cd8fa50665f /textproc/p5-WordNet-QueryData
parent-Respect CFLAGS (diff)
Add p5-WordNet-QueryData
WordNet::QueryData provides a direct interface to the WordNet database files. It requires the WordNet package. It allows the user direct access to the full WordNet semantic lexicon. All parts of speech are supported and access is generally very efficient because the index and morphical exclusion tables are loaded at initialization. This initialization step is slow (appx. 10-15 seconds), but queries are very fast thereafter---thousands of queries can be completed every second.
Diffstat (limited to 'textproc/p5-WordNet-QueryData')
-rw-r--r--textproc/p5-WordNet-QueryData/Makefile25
-rw-r--r--textproc/p5-WordNet-QueryData/distinfo1
-rw-r--r--textproc/p5-WordNet-QueryData/pkg-descr11
-rw-r--r--textproc/p5-WordNet-QueryData/pkg-plist4
4 files changed, 41 insertions, 0 deletions
diff --git a/textproc/p5-WordNet-QueryData/Makefile b/textproc/p5-WordNet-QueryData/Makefile
new file mode 100644
index 000000000000..d079a3b27631
--- /dev/null
+++ b/textproc/p5-WordNet-QueryData/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-WordNet-QueryData
+# Date created: 07 July 2003
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= WordNet-QueryData
+PORTVERSION= 1.28
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= WordNet
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Perl interface to the WordNet database files
+
+LIB_DEPENDS= wn1.7:${PORTSDIR}/textproc/wordnet
+
+PERL_CONFIGURE= yes
+CONFIGURE_ENV= WNHOME=${LOCALBASE}/share/WordNet-1.7.1
+
+MAN3= WordNet::QueryData.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-WordNet-QueryData/distinfo b/textproc/p5-WordNet-QueryData/distinfo
new file mode 100644
index 000000000000..b12631914d9b
--- /dev/null
+++ b/textproc/p5-WordNet-QueryData/distinfo
@@ -0,0 +1 @@
+MD5 (WordNet-QueryData-1.28.tar.gz) = 2e59b756371caa6a2dbb8b3f1770a19c
diff --git a/textproc/p5-WordNet-QueryData/pkg-descr b/textproc/p5-WordNet-QueryData/pkg-descr
new file mode 100644
index 000000000000..39f886398892
--- /dev/null
+++ b/textproc/p5-WordNet-QueryData/pkg-descr
@@ -0,0 +1,11 @@
+From the README:
+
+WordNet::QueryData provides a direct interface to the WordNet database files.
+It requires the WordNet package (http://www.cogsci.princeton.edu/~wn/). It
+allows the user direct access to the full WordNet semantic lexicon. All parts
+of speech are supported and access is generally very efficient because the
+index and morphical exclusion tables are loaded at initialization. This
+initialization step is slow (appx. 10-15 seconds), but queries are very fast
+thereafter---thousands of queries can be completed every second.
+
+WWW: http://www.ai.mit.edu/people/jrennie/WordNet/
diff --git a/textproc/p5-WordNet-QueryData/pkg-plist b/textproc/p5-WordNet-QueryData/pkg-plist
new file mode 100644
index 000000000000..b26cb5515696
--- /dev/null
+++ b/textproc/p5-WordNet-QueryData/pkg-plist
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/WordNet/QueryData.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/WordNet/QueryData/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WordNet 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/WordNet 2>/dev/null || true