aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Lingua-EN-Tagger
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2004-01-03 09:23:20 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2004-01-03 09:23:20 +0000
commit7ccc57c547bf61d414b215bfa46def0b8d837242 (patch)
treedc0f2c271073daca6d3e04d2df18281e8400fd8b /textproc/p5-Lingua-EN-Tagger
parent823e492c81ab86543c57ebf5eae7a35ea25163f5 (diff)
downloadports-7ccc57c547bf61d414b215bfa46def0b8d837242.tar.gz
ports-7ccc57c547bf61d414b215bfa46def0b8d837242.zip
Add p5-Lingua-EN-Tagger 0.05,
part-of-speech tagger for English natural language processing. PR: 60723 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
Notes
Notes: svn path=/head/; revision=97204
Diffstat (limited to 'textproc/p5-Lingua-EN-Tagger')
-rw-r--r--textproc/p5-Lingua-EN-Tagger/Makefile34
-rw-r--r--textproc/p5-Lingua-EN-Tagger/distinfo1
-rw-r--r--textproc/p5-Lingua-EN-Tagger/pkg-descr14
-rw-r--r--textproc/p5-Lingua-EN-Tagger/pkg-plist12
4 files changed, 61 insertions, 0 deletions
diff --git a/textproc/p5-Lingua-EN-Tagger/Makefile b/textproc/p5-Lingua-EN-Tagger/Makefile
new file mode 100644
index 000000000000..62c62a0c835b
--- /dev/null
+++ b/textproc/p5-Lingua-EN-Tagger/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: p5-Lingua-EN-Tagger
+# Date created: Tue Dec 30 16:56:56 CST 2003
+# Whom: Cheng-Lung Sung <clsung@dragon2.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-EN-Tagger
+PORTVERSION= 0.05
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= clsung@dragon2.net
+COMMENT= Part-of-speech tagger for English natural language processing
+
+BUILD_DEPENDS= ${SITE_PERL}/Lingua/Stem/En.pm:${PORTSDIR}/textproc/p5-Lingua-Stem \
+ ${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
+ ${SITE_PERL}/Memoize.pm:${PORTSDIR}/devel/p5-Memoize \
+ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::EN::Tagger.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>
diff --git a/textproc/p5-Lingua-EN-Tagger/distinfo b/textproc/p5-Lingua-EN-Tagger/distinfo
new file mode 100644
index 000000000000..4e0c235211b6
--- /dev/null
+++ b/textproc/p5-Lingua-EN-Tagger/distinfo
@@ -0,0 +1 @@
+MD5 (Lingua-EN-Tagger-0.05.tar.gz) = 4817e1974f98f1a6a485cfb472b50e89
diff --git a/textproc/p5-Lingua-EN-Tagger/pkg-descr b/textproc/p5-Lingua-EN-Tagger/pkg-descr
new file mode 100644
index 000000000000..3a2690217809
--- /dev/null
+++ b/textproc/p5-Lingua-EN-Tagger/pkg-descr
@@ -0,0 +1,14 @@
+The module is a probability based, corpus-trained tagger that assigns
+POS tags to English text based on a lookup dictionary and probability
+values. The tagger determines appropriate tags based on conditional
+probabilities - it looks at the preceding tag to figure out what the
+appropriate tag is for the current word. Unknown words will be classified
+according to word morphology or can be set to be treated as nouns or
+other parts of speech.
+
+The tagger also recursively extracts as many nouns and noun phrases as
+it can, using a set of regular expressions.
+
+WWW: http://search.cpan.org/dist/Lingua-EN-Tagger
+
+Author: Aaron Coburn <acoburn@middlebury.edu>
diff --git a/textproc/p5-Lingua-EN-Tagger/pkg-plist b/textproc/p5-Lingua-EN-Tagger/pkg-plist
new file mode 100644
index 000000000000..07ba62b176bb
--- /dev/null
+++ b/textproc/p5-Lingua-EN-Tagger/pkg-plist
@@ -0,0 +1,12 @@
+%%SITE_PERL%%/Lingua/EN/Tagger.pm
+%%SITE_PERL%%/Lingua/EN/Tagger/tags.yml
+%%SITE_PERL%%/Lingua/EN/Tagger/pos_words.hash
+%%SITE_PERL%%/Lingua/EN/Tagger/pos_tags.hash
+%%SITE_PERL%%/Lingua/EN/Tagger/unknown.yml
+%%SITE_PERL%%/Lingua/EN/Tagger/words.yml
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Tagger/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Tagger
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Lingua/EN 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Lingua 2>/dev/null || true