Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def denormalize_text(input_text):
# type: (text_type)->text_type
"""* What you can do
- It converts text into standard japanese writing way
* Note
- hankaku-katakana is to zenkaku-katakana
- zenkaku-eisu is to hankaku-eisu
"""
if input_text in STRING_EXCEPTION:
return input_text
else:
return jaconv.z2h(input_text, kana=False, ascii=True, digit=True)