mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
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.
This commit is contained in:
parent
cb27d133b9
commit
3da0d2adad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84418
5 changed files with 42 additions and 0 deletions
|
@ -252,6 +252,7 @@
|
|||
SUBDIR += p5-Tree-Nary
|
||||
SUBDIR += p5-URI-Find
|
||||
SUBDIR += p5-WDDX
|
||||
SUBDIR += p5-WordNet-QueryData
|
||||
SUBDIR += p5-XML-Catalog
|
||||
SUBDIR += p5-XML-DBMS
|
||||
SUBDIR += p5-XML-DOM
|
||||
|
|
25
textproc/p5-WordNet-QueryData/Makefile
Normal file
25
textproc/p5-WordNet-QueryData/Makefile
Normal file
|
@ -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>
|
1
textproc/p5-WordNet-QueryData/distinfo
Normal file
1
textproc/p5-WordNet-QueryData/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (WordNet-QueryData-1.28.tar.gz) = 2e59b756371caa6a2dbb8b3f1770a19c
|
11
textproc/p5-WordNet-QueryData/pkg-descr
Normal file
11
textproc/p5-WordNet-QueryData/pkg-descr
Normal file
|
@ -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/
|
4
textproc/p5-WordNet-QueryData/pkg-plist
Normal file
4
textproc/p5-WordNet-QueryData/pkg-plist
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue