notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
p5-Text-Language-Guess Trained module to guess a document's language
0.02_1 textproc on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.02_1Version of this port present on the latest quarterly branch.
Maintainer: markun@onohara.to search for ports maintained by this maintainer
Port Added: 2006-09-24 19:53:12
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: p5-MIME-Tools, p5-Class-DBI-DATA-Schema, p5-CGI-Untaint, newfile, OpenSP
Also Listed In: perl5
License: not specified in port
WWW:
https://metacpan.org/release/Text-Language-Guess
Description:
Text::Language::Guess guesses a document's language. Its implementation 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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (7 items)
Collapse this list.
  1. lib/perl5/site_perl/man/man3/Text::Language::Guess.3.gz
  2. bin/language-guess
  3. lib/perl5/site_perl/Text/Language/Guess.pm
  4. lib/perl5/site_perl/man/man1/language-guess.1.gz
  5. @owner
  6. @group
  7. @mode
Collapse this list.
Dependency lines:
  • p5-Text-Language-Guess>0:textproc/p5-Text-Language-Guess
To install the port:
cd /usr/ports/textproc/p5-Text-Language-Guess/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/p5-Text-Language-Guess
  • pkg install p5-Text-Language-Guess
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-Text-Language-Guess
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (Text-Language-Guess-0.02.tar.gz) = 12ef612c1de0451367d403db73723446b836e2e10adeec5e9386b7baa8ede12f SIZE (Text-Language-Guess-0.02.tar.gz) = 5377

Packages (timestamps in pop-ups are UTC):
p5-Text-Language-Guess
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.02_10.02_10.02_10.02_10.02_1-0.02_1-
FreeBSD:13:quarterly0.02_10.02_10.02_10.02_10.02_10.02_10.02_10.02_1
FreeBSD:14:latest0.02_10.02_10.02_10.02_10.02_10.02_1-0.02_1
FreeBSD:14:quarterly0.02_10.02_1-0.02_10.02_10.02_10.02_10.02_1
FreeBSD:15:latest0.02_10.02_1n/a0.02_1n/a0.02_10.02_10.02_1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. p5-Log-Log4perl>=1.0 : devel/p5-Log-Log4perl
  2. p5-Text-ExtractWords>=0 : textproc/p5-Text-ExtractWords
  3. p5-Lingua-StopWords>=0 : textproc/p5-Lingua-StopWords
  4. perl5>=5.32.r0<5.33 : lang/perl5.32
  5. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. p5-Log-Log4perl>=1.0 : devel/p5-Log-Log4perl
  2. p5-Text-ExtractWords>=0 : textproc/p5-Text-ExtractWords
  3. p5-Lingua-StopWords>=0 : textproc/p5-Lingua-StopWords
  4. perl5>=5.32.r0<5.33 : lang/perl5.32
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
textproc_p5-Text-Language-Guess
USES:
perl5
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (13 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/authors/id/M/MS/MSCHILLI/
  2. ftp://ftp.cpan.org/pub/CPAN/authors/id/M/MS/MSCHILLI/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Text/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/M/MS/MSCHILLI/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/authors/id/M/MS/MSCHILLI/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/authors/id/M/MS/MSCHILLI/
  7. http://backpan.perl.org/authors/id/M/MS/MSCHILLI/
  8. http://ftp.jaist.ac.jp/pub/CPAN/authors/id/M/MS/MSCHILLI/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/authors/id/M/MS/MSCHILLI/
  10. https://cpan.metacpan.org/authors/id/M/MS/MSCHILLI/
  11. https://cpan.metacpan.org/modules/by-module/Text/
  12. https://www.cpan.org/authors/id/M/MS/MSCHILLI/
Collapse this list.

Number of commits found: 20

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.02_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.02_1
20 Jul 2022 14:23:14
commit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9b files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
textproc: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Choe, Cheng-Dae" whitekid
  *  -
  *  <glewis@FreeBSD.org>
  *  <koshy@india.hp.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron Straup Cope
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Ache
  *  Adam Herzog <adam@herzogdesigns.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.02_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.02_1
06 Oct 2018 13:06:45
Revision:481365Original commit files touched by this commit
des search for other commits by this committer
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.

Approved by:	portmgr (adamw)
0.02_1
27 May 2018 20:15:20
Revision:470993Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW

search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
0.02_1
01 Apr 2016 14:25:18
Revision:412349Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
0.02_1
14 Sep 2015 12:19:50
Revision:396892Original commit files touched by this commit
mat search for other commits by this committer
Make it so that the default Perl is always called perl5.

- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
  Though you should note that only the default version can be used to
  install Perl modules, and the non default Perl versions cannot use the
  modules installed via ports if they contain .so as they are installed
  in a version specific directory.

Reviewed by:	bapt (the Mk bits)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3542
0.02_1
02 Mar 2015 23:51:50
Revision:380311Original commit files touched by this commit
bapt search for other commits by this committer
Remove Author from pkg-descr and white space fixes
0.02_1
26 Nov 2014 13:08:38
Revision:373448Original commit files touched by this commit
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.02
24 Jan 2014 14:59:10
Revision:340908Original commit files touched by this commit
mat search for other commits by this committer
- Convert to staging (as a user)
- Add license
- Pet portlint

Sponsored by:	Absolight
0.02
20 Sep 2013 23:17:32
Revision:327773Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
0.02
11 Sep 2013 05:29:55
Revision:326939Original commit files touched by this commit
az search for other commits by this committer
- convert to the new perl5 framework
- trim Makefile header

Approved by:	portmgr (bapt@, blanket)
0.02
21 Jan 2012 17:40:15
Original commit files touched by this commit
eadler search for other commits by this committer
At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.

Explicit duplication > := > = and this just moves ports one step to the left

Approved by:    portmgr
0.02
20 Jun 2011 09:03:27
Original commit files touched by this commit
az search for other commits by this committer
- Replace ../../authors in MASTER_SITE_SUBDIR with CPAN:CPANID macro.
  See http://wiki.freebsd.org/Perl for details.
- Change maintainership from ports@ to perl@ for ports in this changeset.
- Remove MD5 checksum
0.02
12 Feb 2011 09:30:23
Original commit files touched by this commit
az search for other commits by this committer
Fix WWW in pkg-descr to http://search.cpan.org/dist/<MODULE> for unification.

No functional changes.

Sponsored by:   p5 namespace
0.02
24 Sep 2010 02:03:44
Original commit files touched by this commit
pgollucci search for other commits by this committer
- only 13% of the p5- ports embed @comment $FreeBSD$:
  so standarize and remove it

With Hat:   perl@
0.02
17 Apr 2008 14:30:31
Original commit files touched by this commit
araujo search for other commits by this committer
- Take advantage of CPAN macro from bsd.sites.mk, change
${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)
0.02
08 Sep 2007 01:08:35
Original commit files touched by this commit
linimon search for other commits by this committer
Welcome bsd.perl.mk.  Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:   gabor
Sponsored by:   Google Summer of Code 2007
Hat:            portmgr
0.02
24 Sep 2006 19:51:59
Original commit files touched by this commit
miwi search for other commits by this committer
Text::Language::Guess guesses a document's language. Its implementation
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>

Number of commits found: 20