Add p5-Text-Ngrams 1.0, perl5 modules for Flexible Ngram analysis.

PR:		60607
Submitted by:	Cheng-Lung Sung <clsung@dragon2.net>
This commit is contained in:
Kirill Ponomarev 2003-12-28 00:12:31 +00:00
parent 3dc191f0ef
commit 0651c49f1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96715
5 changed files with 49 additions and 0 deletions

View File

@ -267,6 +267,7 @@
SUBDIR += p5-Text-MagicTemplate
SUBDIR += p5-Text-Metaphone
SUBDIR += p5-Text-Netstring
SUBDIR += p5-Text-Ngrams
SUBDIR += p5-Text-ParagraphDiff
SUBDIR += p5-Text-Query
SUBDIR += p5-Text-Quoted

View File

@ -0,0 +1,29 @@
# New ports collection makefile for: p5-Text-Ngrams
# Date created: Dec 27 2003
# Whom: Cheng-Lung Sung <clsung@dragon2.net>
#
# $FreeBSD$
#
PORTNAME= Text-Ngrams
PORTVERSION= 1.0
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
PKGNAMEPREFIX= p5-
MAINTAINER= clsung@dragon2.net
COMMENT= Perl5 modules for Flexible Ngram analysis
PERL_CONFIGURE= yes
MAN1= ngrams.pl.1
MAN3= Text::Ngrams.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
MD5 (Text-Ngrams-1.0.tar.gz) = 95e19fc6c1def9cf5e271036b4843010

View File

@ -0,0 +1,11 @@
Text::Ngrams - Flexible Ngram analysis (for characters, words, and more)
This module implement text n-gram analysis, supporting several types of
analysis, including character and word n-grams.
The module can be used from the command line through the script ngrams.pl
provided with the package.
WWW: http://search.cpan.org/dist/Text-Ngrams/
Author: Vlado Keselj <vlado@cpan.org>

View File

@ -0,0 +1,7 @@
bin/ngrams.pl
%%SITE_PERL%%/Text/Ngrams.pm
%%SITE_PERL%%/Text/ngrams.pl
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Ngrams/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Ngrams
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true