tsroten / dragonmapper

Identification and conversion functions for Chinese text processing
MIT License
54 stars 18 forks source link

AttributeError: 'module' object has no attribute 'hanzi' #20

Closed astromme closed 7 years ago

astromme commented 7 years ago

Hey! I'm trying to use dragonmapper and I'm getting a confusing error. I installed it on Ubuntu 16.04 with the following command:

pip install dragonmapper --user

Then tried to use it:

import dragonmapper
dragonmapper.hanzi.is_simplified(u'你好')

but get the following error: AttributeError: 'module' object has no attribute 'hanzi'

python --version outputs: Python 2.7.12

What's up?