textproc/p5-Search-VectorSpace 0.02_15
Very basic vector-space search engine perl module
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- textproc, perl5
Description
This module takes a list of documents (in English) and builds a simple in-memory search engine using a vector space model. Documents are stored as PDL objects, and after the initial indexing phase, the search should be very fast. This implementation applies a rudimentary stop list to filter out very common words, and uses a cosine measure to calculate document similarity. All documents above a user-configurable similarity threshold are returned.
Install
As a binary package — by origin, or by package name:
pkg install textproc/p5-Search-VectorSpace
pkg install p5-Search-VectorSpace
From the ports tree:
cd /usr/ports/textproc/p5-Search-VectorSpace/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Search-VectorSpace>0:textproc/p5-Search-VectorSpace
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 0.02_15 | - | 0.02_15 | - |
| FreeBSD:14:quarterly | - | 0.02_15 | n/a | 0.02_15 | - |
| FreeBSD:15:latest | - | 0.02_15 | n/a | 0.02_15 | - |
| FreeBSD:15:quarterly | - | 0.02_15 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 0.02_15 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Lingua-Stem>=0: textproc/p5-Lingua-Stemp5-PDL>=0: math/p5-PDL
Runtime 2
p5-Lingua-Stem>=0: textproc/p5-Lingua-Stemp5-PDL>=0: math/p5-PDL
The full lists below include those, and their dependencies in turn.
All build dependencies 37
- archivers/liblz4
- archivers/zstd
- astro/p5-Astro-FITS-Header
- devel/binutils
- devel/p5-Data-OptList
- devel/p5-File-Map
- devel/p5-Inline
- devel/p5-Inline-C
- devel/p5-Params-Util
- devel/p5-Parse-RecDescent
- devel/p5-Pegex
- devel/p5-PerlIO-Layers
- devel/p5-Sub-Exporter
- devel/p5-Sub-Exporter-Progressive
- devel/p5-Sub-Install
- devel/p5-Sys-SigAction
- devel/p5-Term-ReadKey
- devel/p5-Term-ReadLine-Perl
- devel/p5-XXX
- lang/gcc14
- lang/perl5.42
- math/fftw
- math/gmp
- math/mpc
- math/mpfr
- math/p5-PDL
- print/indexinfo
- textproc/p5-Lingua-PT-Stemmer
- textproc/p5-Lingua-Stem
- textproc/p5-Lingua-Stem-Fr
- textproc/p5-Lingua-Stem-It
- textproc/p5-Lingua-Stem-Ru
- textproc/p5-Lingua-Stem-Snowball-Da
- textproc/p5-Lingua-Stem-Snowball-No
- textproc/p5-Lingua-Stem-Snowball-Se
- textproc/p5-Text-German
- textproc/p5-YAML-PP
All run dependencies 37
- archivers/liblz4
- archivers/zstd
- astro/p5-Astro-FITS-Header
- devel/binutils
- devel/p5-Data-OptList
- devel/p5-File-Map
- devel/p5-Inline
- devel/p5-Inline-C
- devel/p5-Params-Util
- devel/p5-Parse-RecDescent
- devel/p5-Pegex
- devel/p5-PerlIO-Layers
- devel/p5-Sub-Exporter
- devel/p5-Sub-Exporter-Progressive
- devel/p5-Sub-Install
- devel/p5-Sys-SigAction
- devel/p5-Term-ReadKey
- devel/p5-Term-ReadLine-Perl
- devel/p5-XXX
- lang/gcc14
- lang/perl5.42
- math/fftw
- math/gmp
- math/mpc
- math/mpfr
- math/p5-PDL
- print/indexinfo
- textproc/p5-Lingua-PT-Stemmer
- textproc/p5-Lingua-Stem
- textproc/p5-Lingua-Stem-Fr
- textproc/p5-Lingua-Stem-It
- textproc/p5-Lingua-Stem-Ru
- textproc/p5-Lingua-Stem-Snowball-Da
- textproc/p5-Lingua-Stem-Snowball-No
- textproc/p5-Lingua-Stem-Snowball-Se
- textproc/p5-Text-German
- textproc/p5-YAML-PP
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Search::VectorSpace.3.gz
- %%SITE_PERL%%/Search/VectorSpace.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Search-VectorSpace-0.02.tar.gz | 4251 | 75b2f72f0e246b7e5484e3d2f49d28054b4cc595a43a63ea9ac87c5ada2e012f |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.