Interface for a parameterized instance of summarization.
More...
#include <summarizerFunctionInstanceInterface.hpp>
Interface for a parameterized instance of summarization.
virtual strus::SummarizerFunctionInstanceInterface::~SummarizerFunctionInstanceInterface |
( |
| ) |
|
|
inlinevirtual |
virtual void strus::SummarizerFunctionInstanceInterface::addNumericParameter |
( |
const std::string & |
name, |
|
|
const NumericVariant & |
value |
|
) |
| |
|
pure virtual |
Add a named numeric value parameter.
- Parameters
-
[in] | name | parameter name |
[in] | value | parameter value |
virtual void strus::SummarizerFunctionInstanceInterface::addStringParameter |
( |
const std::string & |
name, |
|
|
const std::string & |
value |
|
) |
| |
|
pure virtual |
Add a named string value parameter.
- Parameters
-
[in] | name | parameter name |
[in] | value | parameter value |
Create an execution context for this summarization function instance.
- Parameters
-
[in] | storage_ | storage interface for getting information for summarization (like for example document attributes) |
[in] | metadata_ | metadata interface for inspecting document meta data (like for example the document insertion date) |
[in] | stats | global statistics for weighting |
- Returns
- the execution context, the summarization function instance with its execution context (ownership to caller)
virtual void strus::SummarizerFunctionInstanceInterface::defineResultName |
( |
const std::string & |
resultname, |
|
|
const std::string & |
itemname |
|
) |
| |
|
pure virtual |
Rename a specific result item with a hardcoded name to another name.
- Parameters
-
[in] | resultname | the name assigned to it in the result |
[in] | itemname | the internal hardcoded name of the item |
virtual std::vector<std::string> strus::SummarizerFunctionInstanceInterface::getVariables |
( |
| ) |
const |
|
pure virtual |
virtual std::string strus::SummarizerFunctionInstanceInterface::tostring |
( |
| ) |
const |
|
pure virtual |
Get a comma ',' separated list of the function parameters as assignments (e.g. name=value)
- Returns
- the parameter list as string
The documentation for this class was generated from the following file: