-
-
04 Aug 2013 16:12:58 UTC
- Distribution: Lucy
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (1555 / 29 / 0)
- Kwalitee
Bus factor: 1- License: apache_2_0
- Perl: v5.8.3
- Activity
24 month- Tools
- Download (1.26MB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- The Apache Lucy Project <dev at lucy dot apache dot org>
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Lucy::Index::LexiconReader - Read Lexicon data.
SYNOPSIS
my $lex_reader = $seg_reader->obtain("Lucy::Index::LexiconReader"); my $lexicon = $lex_reader->lexicon( field => 'title' );
DESCRIPTION
LexiconReader reads term dictionary information.
ABSTRACT METHODS
lexicon( [labeled params] )
Return a new Lexicon for the given
field
. Will return undef if either the field is not indexed, or if no documents contain a value for the field.field - Field name.
term - Pre-locate the Lexicon to this term.
doc_freq( [labeled params] )
Return the number of documents where the specified term is present.
INHERITANCE
Lucy::Index::LexiconReader isa Lucy::Index::DataReader isa Lucy::Object::Obj.
Module Install Instructions
To install Lucy::Simple, copy and paste the appropriate command in to your terminal.
cpanm Lucy::Simple
perl -MCPAN -e shell install Lucy::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.