Rune Caster 1.0.0
Modern C++ Text Processing Framework
|
Language detection and identification functionality. More...
Classes | |
struct | DetectionResult |
Language detection result with confidence metrics. More... |
Enumerations | |
enum class | Code : uint16_t { Unknown = 0 , Korean , English , Japanese , Chinese , Arabic , Russian , Spanish , French , German , Italian , Portuguese , Dutch , Swedish , Norwegian , Danish , Finnish , Polish , Czech , Hungarian , Turkish , Hebrew , Thai , Vietnamese , Indonesian , Malay , Hindi , Bengali , Tamil , Telugu , Gujarati , Marathi , Punjabi , Urdu , Persian , Pashto , Kurdish , Max } |
Enumeration of supported language codes. More... |
Functions | |
constexpr std::string_view | to_string (Code code) noexcept |
Convert language code to ISO 639-1 string representation. | |
constexpr std::string_view | get_name (Code code) noexcept |
Get the human-readable name of a language. |
Language detection and identification functionality.
This namespace contains language codes, detection algorithms, and utilities for working with multilingual text.
|
strong |
Enumeration of supported language codes.
Represents the languages supported by the Rune Caster framework. Each language is mapped to a unique identifier that can be used for language-specific processing and detection.
The enumeration follows ISO 639-1 language codes where applicable.
Definition at line 43 of file language.hpp.
|
constexprnoexcept |
Get the human-readable name of a language.
code | Language code to get the name for |
Definition at line 181 of file language.hpp.
|
constexprnoexcept |
Convert language code to ISO 639-1 string representation.
code | Language code to convert |
Definition at line 127 of file language.hpp.