/usr/include/CLucene/analysis/standard/StandardFilter.h is in libclucene-dev 2.3.3.4+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | /*------------------------------------------------------------------------------
* Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team
*
* Distributable under the terms of either the Apache License (Version 2.0) or
* the GNU Lesser General Public License, as specified in the COPYING file.
------------------------------------------------------------------------------*/
#ifndef _lucene_analysis_standard_StandardFilter
#define _lucene_analysis_standard_StandardFilter
#include "CLucene/analysis/AnalysisHeader.h"
//#include "../Analyzers.h"
//#include "StandardTokenizerConstants.h"
CL_CLASS_DEF(util,StringBuffer)
CL_NS_DEF2(analysis,standard)
/** Normalizes tokens extracted with {@link lucene::analysis::standard::StandardTokenizer}. */
class CLUCENE_EXPORT StandardFilter: public TokenFilter{
public:
// Construct filtering <i>in</i>.
StandardFilter(TokenStream* in, bool deleteTokenStream);
virtual ~StandardFilter();
/** Returns the next token in the stream, or NULL at EOS.
* <p>Removes <tt>'s</tt> from the end of words.
* <p>Removes dots from acronyms.
*/
Token* next(Token* token);
};
CL_NS_END2
#endif
|