Rune Caster 1.0.0
Modern C++ Text Processing Framework
Loading...
Searching...
No Matches
spell_factory.hpp File Reference
#include "spell_core.hpp"
#include "spell_filter.hpp"
#include "spell_composition.hpp"
#include "unicode.hpp"
#include "spell_token.hpp"
Include dependency graph for spell_factory.hpp:

Go to the source code of this file.

Namespaces

namespace  rune_caster
namespace  rune_caster::spell
namespace  rune_caster::spell::factory

Functions

auto rune_caster::spell::factory::whitespace ()
 Factory functions for creating commonly used spells.
auto rune_caster::spell::factory::whitespace (bool collapse_multiple, bool trim_edges=true)
 Create a customized whitespace normalizer.
auto rune_caster::spell::factory::lowercase ()
 Create a lowercase converter.
auto rune_caster::spell::factory::uppercase ()
 Create an uppercase converter.
auto rune_caster::spell::factory::titlecase ()
 Create a titlecase converter.
auto rune_caster::spell::factory::unicode_nfc ()
 Create an NFC (Canonical Decomposition followed by Canonical Composition) normalizer.
auto rune_caster::spell::factory::unicode_nfd ()
 Create an NFD (Canonical Decomposition) normalizer.
auto rune_caster::spell::factory::unicode_nfkc ()
 Create an NFKC (Compatibility Decomposition followed by Canonical Composition) normalizer.
auto rune_caster::spell::factory::unicode_nfkd ()
 Create an NFKD (Compatibility Decomposition) normalizer.
auto rune_caster::spell::factory::punctuation (bool remove=true)
 Create a punctuation filter.
template<typename CaseType = void>
auto rune_caster::spell::factory::text_normalizer (CaseType case_type={})
 Create a text normalizer that applies common normalizations.
auto rune_caster::spell::factory::search_preprocessor ()
 Create a search-optimized text preprocessor.
auto rune_caster::spell::factory::display_formatter ()
 Create a display-optimized text formatter.
template<bool RemovePunctuation = true>
auto rune_caster::spell::factory::text_normalizer_with_punctuation ()
 Text normalizer with optional punctuation removal.
auto rune_caster::spell::factory::trim ()
auto rune_caster::spell::factory::tokenizer_whitespace ()