strusAnalyzer
0.17
Main Page
Namespaces
Classes
Files
File List
include
strus
normalizerFunctionInterface.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2014 Patrick P. Frey
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
10
#ifndef _STRUS_ANALYZER_NORMALIZER_FUNCTION_INTERFACE_HPP_INCLUDED
11
#define _STRUS_ANALYZER_NORMALIZER_FUNCTION_INTERFACE_HPP_INCLUDED
12
#include <vector>
13
#include <string>
14
16
namespace
strus
17
{
18
20
class
TextProcessorInterface;
22
class
NormalizerFunctionInstanceInterface;
23
26
class
NormalizerFunctionInterface
27
{
28
public
:
30
virtual
~NormalizerFunctionInterface
(){}
31
36
virtual
NormalizerFunctionInstanceInterface
*
createInstance
(
37
const
std::vector<std::string>& args,
38
const
TextProcessorInterface
* tp)
const
=0;
39
42
virtual
const
char
*
getDescription
()
const
=0;
43
};
44
45
}
//namespace
46
#endif
47
strus::NormalizerFunctionInterface::~NormalizerFunctionInterface
virtual ~NormalizerFunctionInterface()
Destructor.
Definition:
normalizerFunctionInterface.hpp:30
strus::NormalizerFunctionInstanceInterface
Interface for a parameterized normalization function.
Definition:
normalizerFunctionInstanceInterface.hpp:21
strus::NormalizerFunctionInterface::getDescription
virtual const char * getDescription() const =0
Get a description of the function for user help.
strus::NormalizerFunctionInterface::createInstance
virtual NormalizerFunctionInstanceInterface * createInstance(const std::vector< std::string > &args, const TextProcessorInterface *tp) const =0
Create a parameterizable normalizer function instance.
strus::NormalizerFunctionInterface
Interface for the normalizer constructor.
Definition:
normalizerFunctionInterface.hpp:26
strus::TextProcessorInterface
Interface for the object providing tokenizers and normalizers used for creating terms from segments o...
Definition:
textProcessorInterface.hpp:49
Generated on Thu Jan 24 2019 11:55:45 for strusAnalyzer by
1.8.6