7 * This source file is subject to the new BSD license that is bundled
8 * with this package in the file LICENSE.txt.
9 * It is also available through the world-wide-web at this URL:
10 * http://framework.zend.com/license/new-bsd
11 * If you did not receive a copy of the license and are unable to
12 * obtain it through the world-wide-web, please send an email
13 * to license@zend.com so we can send you a copy immediately.
16 * @package Zend_Search_Lucene
17 * @subpackage Analysis
18 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
19 * @license http://framework.zend.com/license/new-bsd New BSD License
20 * @version $Id: TokenFilter.php 16541 2009-07-07 06:59:03Z bkarwin $
24 /** Zend_Search_Lucene_Analysis_Token */
25 require_once 'Zend/Search/Lucene/Analysis/Token.php';
29 * Token filter converts (normalizes) Token ore removes it from a token stream.
32 * @package Zend_Search_Lucene
33 * @subpackage Analysis
34 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
35 * @license http://framework.zend.com/license/new-bsd New BSD License
38 abstract class Zend_Search_Lucene_Analysis_TokenFilter
41 * Normalize Token or remove it (if null is returned)
43 * @param Zend_Search_Lucene_Analysis_Token $srcToken
44 * @return Zend_Search_Lucene_Analysis_Token
46 abstract public function normalize(Zend_Search_Lucene_Analysis_Token $srcToken);