Install JUMAN++
pip install pyknp
is_halfwidth
is_halfwidth(text)
text
Determine whether the text consists entirely of halfwidth characters. :param text: Input text string :return: True if all characters are halfwidth, otherwise False
halfwidth_to_fullwidth
halfwidth_to_fullwidth(text)
annotate
annotate(text)
pip install beautifulsoup4 pip install lxml
annotate_html
annotate_html(content, interactive=False)
content
interactive
False