diff --git a/pypinyin/phrases_dict.py b/pypinyin/phrases_dict.py index fedb7fd..c4bab7b 100644 --- a/pypinyin/phrases_dict.py +++ b/pypinyin/phrases_dict.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals +from codecs import open import json import os diff --git a/pypinyin/pinyin_dict.py b/pypinyin/pinyin_dict.py index 08434b5..9a8882f 100644 --- a/pypinyin/pinyin_dict.py +++ b/pypinyin/pinyin_dict.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals +from codecs import open import json import os