1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add p5-Lingua-EN-Summarize 0.2, a simple tool for summarizing

bodies of English text.

PR:		33435
Submitted by:	Seamus Venasse <svenasse@polaris.ca>
This commit is contained in:
Pete Fritchman 2002-06-09 00:06:36 +00:00
parent 2d0c4dcb0a
commit f6f0620159
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60928
6 changed files with 49 additions and 0 deletions

View File

@ -138,6 +138,7 @@
SUBDIR += p5-Lingua-EN-Numbers-Ordinate
SUBDIR += p5-Lingua-EN-Sentence
SUBDIR += p5-Lingua-EN-Squeeze
SUBDIR += p5-Lingua-EN-Summarize
SUBDIR += p5-Lingua-Ispell
SUBDIR += p5-Lingua-Preferred
SUBDIR += p5-MARC

View File

@ -0,0 +1,27 @@
# New ports collection makefile for: Lingua::EN::Summarize
# Date created: 31 Dec 2001
# Whom: Seamus Venasse <svenasse@polaris.ca>
#
# $FreeBSD$
#
PORTNAME= Lingua-EN-Summarize
PORTVERSION= 0.2
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Lingua
PKGNAMEPREFIX= p5-
MAINTAINER= svenasse@polaris.ca
BUILD_DEPENDS= ${SITE_PERL}/HTML/Summary.pm:${PORTSDIR}/www/p5-HTML-Summary
RUN_DEPENDS= ${BUILD_DEPENDS}
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
PERL_CONFIGURE= yes
MAN3= Lingua::EN::Filters.3 \
Lingua::EN::Summarize.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Lingua-EN-Summarize-0.2.tar.gz) = 096a068627bd8b1efb58da40a7c5ea49

View File

@ -0,0 +1 @@
A simple tool for summarizing bodies of English text

View File

@ -0,0 +1,10 @@
This is a simple module which makes an unscientific effort at
summarizing English text. It recognizes simple patterns which look
like statements, abridges them, and concatenates them into something
vaguely resembling a summary. It needs more work on large bodies
of text, but it seems to have a decent effect on small inputs at
the moment.
WWW: http://search.cpan.org/search?dist=Lingua-EN-Summarize
Seamus Venasse <svenasse@polaris.ca>

View File

@ -0,0 +1,9 @@
lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN/Summarize.pm
lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN/Summarize/Filters.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN/Summarize/.packlist
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN/Summarize 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN/Summarize 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Lingua 2>/dev/null || true