Function precis_core::context::rule_katakana_middle_dot

source ·
pub fn rule_katakana_middle_dot(
    s: &str,
    offset: usize,
) -> Result<bool, ContextRuleError>
Expand description

Appendix A.7. KATAKANA MIDDLE DOT
Note that the Script of Katakana Middle Dot is not any of Hiragana, Katakana, or Han. The effect of this rule is to require at least one character in the label to be in one of those scripts.

§Arguments

  • s: String value to check

§Returns

Return true if context permits KATAKANA MIDDLE DOT U+30FB.