35 std::string
name()
const override {
return "LanguageDetector"; }
71 std::string
name()
const override {
return "GraphemeToPhoneme"; }
85 std::string convert_to_phoneme(
const Rune& rune)
const;
Represents a single textual unit with Unicode and linguistic properties.
RuneSequence operator()(const RuneSequence &input) const override
Apply the spell transformation.
rune_caster::language::Code target_language() const noexcept
Get the target language of this converter.
GraphemeToPhoneme(rune_caster::language::Code language)
Construct a G2P converter for a specific language.
std::string name() const override
Get the spell's name.
std::string description() const override
Get the spell's description.
Language detection spell using C++20 concepts.
std::string name() const override
Get the spell's name.
std::string description() const override
Get the spell's description.
RuneSequence operator()(const RuneSequence &input) const override
Apply language detection to the input sequence.
Language identification and localization support.
Code
Enumeration of supported language codes.
RuneString RuneSequence
Backward compatibility alias for RuneString.
spell_base< RuneSequence > sequence_spell
Most common spell type: RuneSequence -> RuneSequence.