ports/58527: New port: devel/p5-Algorithm-NaiveBayes
Cheng-Lung Sung
clsung at dragon2.net
Sat Oct 25 16:30:21 UTC 2003
>Number: 58527
>Category: ports
>Synopsis: New port: devel/p5-Algorithm-NaiveBayes
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 25 09:30:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Cheng-Lung Sung
>Release: FreeBSD 4.8-RELEASE-p13 i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD sungsung.csie.nctu.edu.tw 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #3: Wed Oct 8 07:32:16 CST 2003 root at sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386
>Description:
New port, for people who concern about Naive-Bayes Algorithm.
Note: source name:Algorithm-NaiveBayes-0.02_01.tar.gz
That's why I put 0.02_01 in PORTVERSION Sec.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Algorithm-NaiveBayes
# p5-Algorithm-NaiveBayes/Makefile
# p5-Algorithm-NaiveBayes/distinfo
# p5-Algorithm-NaiveBayes/pkg-descr
# p5-Algorithm-NaiveBayes/pkg-plist
#
echo c - p5-Algorithm-NaiveBayes
mkdir -p p5-Algorithm-NaiveBayes > /dev/null 2>&1
echo x - p5-Algorithm-NaiveBayes/Makefile
sed 's/^X//' >p5-Algorithm-NaiveBayes/Makefile << 'END-of-p5-Algorithm-NaiveBayes/Makefile'
X# New ports collection makefile for: Algorithm::NaiveBayes
X# Date created: Oct 25 2003
X# Whom: clsung at dragon2.net
X#
X# $FreeBSD$
X#
X
XPORTNAME= Algorithm-NaiveBayes
XPORTVERSION= 0.02_01
XPORTREVISION= 0
XCATEGORIES= devel perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= Algorithm
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= clsung at dragon2.net
XCOMMENT= Perl class performing Bayesian prediction of categories
X
XPERL_CONFIGURE= yes
X
XMAN3= Algorithm::NaiveBayes.3
X
X.include <bsd.port.mk>
END-of-p5-Algorithm-NaiveBayes/Makefile
echo x - p5-Algorithm-NaiveBayes/distinfo
sed 's/^X//' >p5-Algorithm-NaiveBayes/distinfo << 'END-of-p5-Algorithm-NaiveBayes/distinfo'
XMD5 (Algorithm-NaiveBayes-0.02_01.tar.gz) = b0d09696095467a3815ac6a7afb53a94
END-of-p5-Algorithm-NaiveBayes/distinfo
echo x - p5-Algorithm-NaiveBayes/pkg-descr
sed 's/^X//' >p5-Algorithm-NaiveBayes/pkg-descr << 'END-of-p5-Algorithm-NaiveBayes/pkg-descr'
XThis module implements the classic "Naive Bayes" machine learning algorithm.
XIt is a well-studied probabilistic algorithm often used in automatic text
Xcategorization. Compared to other algorithms (kNN, SVM, Decision Trees),
Xit's pretty fast and reasonably competitive in the quality of its results.
X
XA paper by Fabrizio Sebastiani provides a really good introduction to
Xtext categorization:
Xhttp://faure.iei.pi.cnr.it/~fabrizio/Publications/ACMCS02.pdf
X
XWWW: http://search.cpan.org/dist/Algorithm-NaiveBayes/
X
XAuthor: Ken Williams <ken at mathforum.org>
END-of-p5-Algorithm-NaiveBayes/pkg-descr
echo x - p5-Algorithm-NaiveBayes/pkg-plist
sed 's/^X//' >p5-Algorithm-NaiveBayes/pkg-plist << 'END-of-p5-Algorithm-NaiveBayes/pkg-plist'
X%%SITE_PERL%%/Algorithm/NaiveBayes.pm
X%%SITE_PERL%%/Algorithm/NaiveBayes/Model/Discrete.pm
X%%SITE_PERL%%/Algorithm/NaiveBayes/Model/Frequency.pm
X%%SITE_PERL%%/Algorithm/NaiveBayes/Model/Gaussian.pm
X%%SITE_PERL%%/Algorithm/NaiveBayes/Util.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/NaiveBayes/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/NaiveBayes
X at dirrm %%SITE_PERL%%/Algorithm/NaiveBayes/Model
X at dirrm %%SITE_PERL%%/Algorithm/NaiveBayes
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/Algorithm/Util 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/Algorithm 2>/dev/null || true
END-of-p5-Algorithm-NaiveBayes/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list