Rune Caster 1.0.0
Modern C++ Text Processing Framework
|
Go to the source code of this file.
Namespaces | |
namespace | rune_caster |
namespace | rune_caster::spells |
Pre-defined spells using the unified Spell interface. |
Functions | |
Spell | rune_caster::spells::whitespace (bool collapse_multiple=true, bool trim_edges=true) |
Create a custom whitespace normalizer. | |
Spell | rune_caster::spells::replace_char (char32_t from, char32_t to) |
Create a character replacement spell. | |
Spell | rune_caster::spells::replace_string (std::string_view from, std::string_view to) |
Create a string replacement spell. | |
template<typename Predicate> | |
Spell | rune_caster::spells::remove_if (Predicate &&predicate) |
Create a spell that removes characters matching a predicate. | |
template<typename Predicate> | |
Spell | rune_caster::spells::keep_if (Predicate &&predicate) |
Create a spell that keeps only characters matching a predicate. | |
template<typename Transform> | |
Spell | rune_caster::spells::transform_chars (Transform &&transform) |
Create a spell that transforms each character. | |
Spell | rune_caster::spells::detect_language () |
Create a language detection spell. | |
Spell | rune_caster::spells::filter_by_script (unicode::Script script, bool keep=true) |
Create a script filtering spell. | |
Spell | rune_caster::spells::filter_by_category (unicode::Category category, bool keep=true) |
Create a category filtering spell. |
Variables | |
const Spell | rune_caster::spells::whitespace_normalizer |
Normalize whitespace characters. | |
const Spell | rune_caster::spells::trim_whitespace |
Trim leading and trailing whitespace. | |
const Spell | rune_caster::spells::collapse_whitespace |
Collapse multiple whitespace into single spaces. | |
const Spell | rune_caster::spells::to_lowercase |
Convert text to lowercase. | |
const Spell | rune_caster::spells::to_uppercase |
Convert text to uppercase. | |
const Spell | rune_caster::spells::to_titlecase |
Convert text to title case. | |
const Spell | rune_caster::spells::unicode_nfc |
Apply Unicode NFC normalization. | |
const Spell | rune_caster::spells::unicode_nfd |
Apply Unicode NFD normalization. | |
const Spell | rune_caster::spells::unicode_nfkc |
Apply Unicode NFKC normalization. | |
const Spell | rune_caster::spells::unicode_nfkd |
Apply Unicode NFKD normalization. | |
const Spell | rune_caster::spells::remove_punctuation |
Remove punctuation characters. | |
const Spell | rune_caster::spells::alphanumeric_only |
Keep only letters and digits. | |
const Spell | rune_caster::spells::remove_digits |
Remove digits. | |
const Spell | rune_caster::spells::ascii_only |
Keep only ASCII characters. | |
const Spell | rune_caster::spells::text_cleanup |
Standard text cleanup (whitespace + NFC + lowercase) | |
const Spell | rune_caster::spells::search_preprocess |
Search-optimized preprocessing. | |
const Spell | rune_caster::spells::display_format |
Display-optimized formatting. |