Text-Ngram
n-Gram analysis is a field in textual analysis which uses sliding
window character sequences in order to aid topic analysis, language
determination and so on. The n-gram spectrum of a document can be
used to compare and filter documents in multiple languages, prepare
word prediction networks, and perform spelling correction.
This module provides an efficient XS-based implementation of n-gram
spectrum analysis.
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)
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 )
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)
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 )
Remove all the bootstrap files (.bs) from the plists.
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.
PR: 190681
Submitted by: mat
Exp-Run by: antoine
Sponsored by: Absolight
- 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)
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
- update to 0.08
- fixed a bug (thanks to Greg) that had apparently been
lurking around since the beginning of times (bug would only
expose itself whenever the lowercase flag not set, which wouldn't
happen often, as it probably isn't common to search for case-sensitive
ngrams); digging deeper to understand the bug, by the way,
has unleashed a hell of confusion given that the documentation has a
couple of minor bugs that can become a major PITA in certain
situations... the module is safe to use if you don't want to
do major hacks with uppercased ngrams, but another version will
probably be available soon (for certain values of soon)
- added tests for behavior with lowercase flag not set
- add SHA256 checksums
PR: 88542
Submitted by: aaron
- perl extension, basis for n-gram analysis, which is
XS-based implementation of n-gram spectrum analysis.
- currently provide two function: ngram_counts add_to_counts.
Approved by: co-mentor (vanilla)