# Path: pypinyin/pinyin_dict.py

# 
# Path: pypinyin/compat.py
# SUPPORT_UCS4 = len('\U00020000') == 1


import os
import re
from enum import IntEnum, unique
from pypinyin import pinyin_dict
from pypinyin.compat import SUPPORT_UCS4
    from pypinyin import phrases_dict
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import unicode_literals




# 词语拼音库
if os.environ.get('PYPINYIN_NO_PHRASES'):
    PHRASES_DICT = {}
else:
    PHRASES_DICT = phrases_dict.phrases_dict

# 单字拼音库
PINYIN_DICT = pinyin_dict.pinyin_dict

# 利用环境变量控制不做copy操作(无自定义拼音库的情况), 以减少内存使用
if not os.environ.get('PYPINYIN_NO_DICT_COPY'):
    PINYIN_DICT = PINYIN_DICT.copy()
    PHRASES_DICT = PHRASES_DICT.copy()

# 匹配使用数字标识声调的字符的正则表达式
RE_TONE2 = re.compile(r'([aeoiuvnm])([1-4])$')

# 有拼音的汉字

# Path: pypinyin/pinyin_dict.py

# 
# Path: pypinyin/compat.py
# SUPPORT_UCS4 = len('\U00020000') == 1


# Path: pypinyin/constants.py
import os
import re
from enum import IntEnum, unique
from pypinyin import pinyin_dict
from pypinyin.compat import SUPPORT_UCS4
    from pypinyin import phrases_dict

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import unicode_literals




# 词语拼音库
if os.environ.get('PYPINYIN_NO_PHRASES'):
    PHRASES_DICT = {}
else:
    PHRASES_DICT = phrases_dict.phrases_dict

# 单字拼音库
PINYIN_DICT = pinyin_dict.pinyin_dict

# 利用环境变量控制不做copy操作(无自定义拼音库的情况), 以减少内存使用
if not os.environ.get('PYPINYIN_NO_DICT_COPY'):
    PINYIN_DICT = PINYIN_DICT.copy()
    PHRASES_DICT = PHRASES_DICT.copy()

# 匹配使用数字标识声调的字符的正则表达式
RE_TONE2 = re.compile(r'([aeoiuvnm])([1-4])$')

# 有拼音的汉字

if SUPPORT_UCS4: