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>
This commit is contained in:
parent
823e492c81
commit
7ccc57c547
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97204
@ -217,6 +217,7 @@
|
||||
SUBDIR += p5-Lingua-EN-Squeeze
|
||||
SUBDIR += p5-Lingua-EN-Summarize
|
||||
SUBDIR += p5-Lingua-EN-Syllable
|
||||
SUBDIR += p5-Lingua-EN-Tagger
|
||||
SUBDIR += p5-Lingua-Ident
|
||||
SUBDIR += p5-Lingua-Ispell
|
||||
SUBDIR += p5-Lingua-Preferred
|
||||
|
34
textproc/p5-Lingua-EN-Tagger/Makefile
Normal file
34
textproc/p5-Lingua-EN-Tagger/Makefile
Normal file
@ -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>
|
1
textproc/p5-Lingua-EN-Tagger/distinfo
Normal file
1
textproc/p5-Lingua-EN-Tagger/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Lingua-EN-Tagger-0.05.tar.gz) = 4817e1974f98f1a6a485cfb472b50e89
|
14
textproc/p5-Lingua-EN-Tagger/pkg-descr
Normal file
14
textproc/p5-Lingua-EN-Tagger/pkg-descr
Normal file
@ -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>
|
12
textproc/p5-Lingua-EN-Tagger/pkg-plist
Normal file
12
textproc/p5-Lingua-EN-Tagger/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user