\Zend_Search_Lucene_Analysis_Analyzer_Common_Text
- Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Search_Lucene_Analysis_Analyzer_Common_Text
extends Zend_Search_Lucene_Analysis_Analyzer_Common
{
- // members
- private $_position;
- // Inherited members from Zend_Search_Lucene_Analysis_Analyzer
- protected $_input;
- protected string $_encoding;
- // Inherited methods from Zend_Search_Lucene_Analysis_Analyzer_Common
- public void addFilter()
- public Zend_Search_Lucene_Analysis_Token normalize()
- // Inherited methods from Zend_Search_Lucene_Analysis_Analyzer
- public array tokenize()
- public void setInput()
- public abstract void reset()
- public abstract Zend_Search_Lucene_Analysis_Token|null nextToken()
- public static void setDefault()
- public static Zend_Search_Lucene_Analysis_Analyzer getDefault()
Hierarchy
Members
private
- $_position
—
integer
Current position in a stream
protected
- $_encoding
—
string
Input string encoding - $_input
—
string
Input string
Methods
public
- nextToken() — Tokenization stream API Get next token Returns null at the end of stream
- reset() — Reset token stream
Inherited from Zend_Search_Lucene_Analysis_Analyzer_Common
public
- addFilter() — Add Token filter to the Analyzer
- normalize() — Apply filters to the token. Can return null when the token was removed.
Inherited from Zend_Search_Lucene_Analysis_Analyzer
public
- getDefault() — Return the default Analyzer implementation used by indexing code.
- nextToken() — Tokenization stream API Get next token Returns null at the end of stream
- reset() — Reset token stream
- setDefault() — Set the default Analyzer implementation used by indexing code.
- setInput() — Tokenization stream API Set input
- tokenize() — Tokenize text to a terms Returns array of Zend_Search_Lucene_Analysis_Token objects