Rune Caster 1.0.0
Modern C++ Text Processing Framework
|
Search preprocessing: cleanup + remove punctuation + unicode NFC. More...
#include <spell.hpp>
Public Member Functions | |
SearchPreprocess () | |
Public Member Functions inherited from rune_caster::spell_extensible< Input, Output > | |
spell_extensible (std::string name, std::string desc) | |
output_type | operator() (const input_type &input) const override |
std::string | name () const override |
Get the spell's name. | |
std::string | description () const override |
Get the spell's description. | |
Public Member Functions inherited from rune_caster::spell_base< RuneSequence, RuneSequence > | |
virtual | ~spell_base ()=default |
virtual output_type | operator() (const input_type &input) const=0 |
Apply the spell transformation. |
Additional Inherited Members | |
Public Types inherited from rune_caster::spell_extensible< Input, Output > | |
using | input_type = Input |
using | output_type = Output |
Public Types inherited from rune_caster::spell_base< RuneSequence, RuneSequence > | |
using | input_type |
using | output_type |
Static Public Member Functions inherited from rune_caster::spell_base< RuneSequence, RuneSequence > | |
static constexpr bool | can_process () noexcept |
Check if this spell can be applied to the given input type (C++20 concepts) | |
static constexpr bool | produces () noexcept |
Check if this spell produces the expected output type (C++20 concepts) | |
static constexpr const char * | input_type_name () noexcept |
Get input type name as compile-time string (C++20) | |
static constexpr const char * | output_type_name () noexcept |
Get output type name as compile-time string (C++20) | |
Protected Member Functions inherited from rune_caster::spell_extensible< Input, Output > | |
virtual output_type | process (const input_type &input) const =0 |
Search preprocessing: cleanup + remove punctuation + unicode NFC.
|
inline |