-
-
27 Oct 2007 19:35:43 UTC
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (5)
- Testers (105 / 27 / 9)
- Kwalitee
Bus factor: 0- License: perl_5
- Activity
24 month- Tools
- Download (222.15KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Marvin Humphrey <marvin at rectangular dot com>
- Dependencies
- Compress::Zlib
- Lingua::Stem::Snowball
- Lingua::StopWords
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
KinoSearch::Analysis::Analyzer - base class for analyzers
SYNOPSIS
# abstract base class -- you probably want PolyAnalyzer, not this.
DESCRIPTION
In KinoSearch, an Analyzer is a filter which processes text, transforming it from one form into another. For instance, an analyzer might break up a long text into smaller pieces (Tokenizer), or it might convert text to lowercase (LCNormalizer).
METHODS
analyze (EXPERIMENTAL)
$token_batch = $analyzer->analyze($token_batch);
All Analyzer subclasses provide an
analyze
method.analyze()
takes a single TokenBatch as input, and it returns a TokenBatch, either the same one (probably transformed in some way), or a new one.COPYRIGHT
Copyright 2005-2007 Marvin Humphrey
LICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch version 0.162.
Module Install Instructions
To install KinoSearch, copy and paste the appropriate command in to your terminal.
cpanm KinoSearch
perl -MCPAN -e shell install KinoSearch
For more information on module installation, please visit the detailed CPAN module installation guide.