code: def load_phrases_dict(phrases_dict, style='default'):
      
      if style == 'tone2':
          for k, value in phrases_dict.items():
              v = [
                  list(map(_replace_tone2_style_dict_to_default, pys))
                  for pys in value
              ]
              PHRASES_DICT[k] = v
      else:
          PHRASES_DICT.update(phrases_dict)
  
      mmseg.retrain(mmseg.seg)
docs: 载入用户自定义的词语拼音库
  
      :param phrases_dict: 词语拼音库。比如： ``{u"阿爸": [[u"ā"], [u"bà"]]}``
      :param style: phrases_dict 参数值的拼音库风格. 支持 'default', 'tone2'
      :type phrases_dict: dict