Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dictionary ¶
type Dictionary struct{}
拼音词典
func (*Dictionary) Convert ¶
func (p *Dictionary) Convert(s string, sep string) (result *ConvertResult)
中文转换为拼音, 不保留标点符号
func (*Dictionary) Name ¶
func (p *Dictionary) Name(s string, sep string) (result *ConvertResult)
转换人名
func (*Dictionary) Sentence ¶
func (p *Dictionary) Sentence(s string) (result *ConvertResult)
中文转换为拼音, 保留标点符号
Click to show internal directories.
Click to hide internal directories.