Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/**
3
 * Zend Framework
4
 *
5
 * LICENSE
6
 *
7
 * This source file is subject to version 1.0 of the Zend Framework
8
 * license, that is bundled with this package in the file LICENSE, and
9
 * is available through the world-wide-web at the following URL:
10
 * http://www.zend.com/license/framework/1_0.txt. If you did not receive
11
 * a copy of the Zend Framework license and are unable to obtain it
12
 * through the world-wide-web, please send a note to license@zend.com
13
 * so we can mail you a copy immediately.
14
 *
15
 * @package    Zend_Search_Lucene
16
 * @subpackage Analysis
17
 * @copyright  Copyright (c) 2005-2006 Zend Technologies USA Inc. (http://www.zend.com)
18
 * @license    http://www.zend.com/license/framework/1_0.txt Zend Framework License version 1.0
19
 */
20
 
21
 
22
/** Zend_Search_Lucene_Analysis_Token */
23
require_once 'Zend/Search/Lucene/Analysis/Token.php';
24
 
25
 
26
/**
27
 * Token filter converts (normalizes) Token ore removes it from a token stream.
28
 *
29
 * @package    Zend_Search_Lucene
30
 * @subpackage Analysis
31
 * @copyright  Copyright (c) 2005-2006 Zend Technologies USA Inc. (http://www.zend.com)
32
 * @license    http://www.zend.com/license/framework/1_0.txt Zend Framework License version 1.0
33
 */
34
 
35
abstract class Zend_Search_Lucene_Analysis_TokenFilter
36
{
37
    /**
38
     * Normalize Token or remove it (if null is returned)
39
     *
40
     * @param Zend_Search_Lucene_Analysis_Token $srcToken
41
     * @return Zend_Search_Lucene_Analysis_Token
42
     */
43
    abstract public function normalize(Zend_Search_Lucene_Analysis_Token $srcToken);
44
}
45