Import p5-Lingua-EN-Sentence from Chris Bennett, needed by

p5-Locale-Maketext-Lexicon upcoming update.

The Lingua::EN::Sentence module contains the function get_sentences,
which splits text into its constituent sentences, based on a regular
expression and a list of abbreviations (built in and given).
Certain well know exceptions, such as abreviations, may cause
incorrect segmentations.

ok sthen@
This commit is contained in:
landry 2012-03-04 20:04:54 +00:00
parent 2c1f4ac115
commit 8c7bd284e2
4 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,15 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/03/04 20:04:54 landry Exp $
COMMENT= module to split text into sentences
MODULES= cpan
DISTNAME= Lingua-EN-Sentence-0.25
CATEGORIES= textproc
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (Lingua-EN-Sentence-0.25.tar.gz) = SoRqz8tu7dHBVX/H958DTQ==
RMD160 (Lingua-EN-Sentence-0.25.tar.gz) = j5Pp+pbTV7JmWfhgDE/wJ+XO+kg=
SHA1 (Lingua-EN-Sentence-0.25.tar.gz) = wd6D04451yWGGil3Pk9N8OjSRus=
SHA256 (Lingua-EN-Sentence-0.25.tar.gz) = +Ibj6eLdqymfgP2fJS60iTCwv04cvR6FGT2FZXJ+Fx0=
SIZE (Lingua-EN-Sentence-0.25.tar.gz) = 6994

View File

@ -0,0 +1,5 @@
The Lingua::EN::Sentence module contains the function get_sentences,
which splits text into its constituent sentences, based on a regular
expression and a list of abbreviations (built in and given).
Certain well know exceptions, such as abreviations, may cause
incorrect segmentations.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/03/04 20:04:54 landry Exp $
${P5SITE}/Lingua/
${P5SITE}/Lingua/EN/
${P5SITE}/Lingua/EN/Sentence.pm
@man man/man3p/Lingua::EN::Sentence.3p