我在 google colab 中使用 python 将数据音译为印度语言,但遇到错误: AttributeError: module 'emoji' has no attribute 'UNICODE_EMOJI'
错误发生在代码的第二行:
for word in line_list:
if word in emoji.UNICODE_EMOJI:
new_line_list.append(emoji.demojize(word))
Run Code Online (Sandbox Code Playgroud)
安装导入的表情包版本是2.0.0