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:
parent
2c1f4ac115
commit
8c7bd284e2
15
textproc/p5-Lingua-EN-Sentence/Makefile
Normal file
15
textproc/p5-Lingua-EN-Sentence/Makefile
Normal 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>
|
5
textproc/p5-Lingua-EN-Sentence/distinfo
Normal file
5
textproc/p5-Lingua-EN-Sentence/distinfo
Normal 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
|
5
textproc/p5-Lingua-EN-Sentence/pkg/DESCR
Normal file
5
textproc/p5-Lingua-EN-Sentence/pkg/DESCR
Normal 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.
|
5
textproc/p5-Lingua-EN-Sentence/pkg/PLIST
Normal file
5
textproc/p5-Lingua-EN-Sentence/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user