bjzhangyang / ZYPinYinSearch

iOS汉字拼音搜索
MIT License
144 stars 28 forks source link

多音字怎么办啊 #1

Closed wheretakenlu closed 7 years ago

wheretakenlu commented 8 years ago

长沙,长春这些都分到Z了,估计是成了zhang,怎么办呢?

bjzhangyang commented 7 years ago

[ZYPinYinSearch setupReplacement:^NSDictionary *{ return @{@"长春":@"changchun",@"重庆":@"chongqing"};//长春默认是"zhangchun",所以这里可以特殊设置成"changchun" }];