aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Language-Guess
Commit message (Collapse)AuthorAgeFilesLines
* - Take advantage of CPAN macro from bsd.sites.mk, change ↵Marcelo Araujo2008-04-171-1/+1
| | | | | | | | | | | | ${MASTER_SITE_PERL_CPAN} to CPAN. PR: ports/122674 Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com> Reworked by: araujo (myself) Approved by: portmgr (pav) Notes: svn path=/head/; revision=211450
* Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.Mark Linimon2007-09-081-7/+1
| | | | | | | | | | | Drop support for antique perl. Work done by: gabor Sponsored by: Google Summer of Code 2007 Hat: portmgr Notes: svn path=/head/; revision=199069
* Text::Language::Guess guesses a document's language. Its implementationMartin Wilke2006-09-244-0/+60
is simple: Using "Text::ExtractWords" and "Lingua::StopWords" from CPAN, it determines how many of the known stopwords the document contains for each language supported by "Lingua::StopWords". Each word in the document recognized as stopword of a particular language scores one point for this language. The "language_guess()" function takes a document as a parameter and returns the abbreviation of the language that it is most likely written in. Author: Mike Schilli <cpan@perlmeister.com> WWW: http://search.cpan.org/~mschilli/Text-Language-Guess-0.02/ PR: ports/103571 Submitted by: Masahiro Teramoto <markun@onohara.to> Notes: svn path=/head/; revision=173737