is_cjk_char#
- scikitplot.corpus.is_cjk_char(ch)[source]#
Return
Trueif ch is a CJK / Japanese / Korean character.- Parameters:
- chstr
Single character.
- Returns:
- bool
Truefor CJK ideographs, hiragana, katakana, hangul.
- Parameters:
ch (str)
- Return type:
Examples
>>> is_cjk_char("字") True >>> is_cjk_char("A") False >>> is_cjk_char("あ") True