Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

祖的多音字判断返回是否有误 #67

Open
SilvesSun opened this issue Sep 26, 2024 · 0 comments
Open

祖的多音字判断返回是否有误 #67

SilvesSun opened this issue Sep 26, 2024 · 0 comments

Comments

@SilvesSun
Copy link

package main

import (
	"fmt"
	"github.com/mozillazg/go-pinyin"
)

func main() {
	// TIP Press <shortcut actionId="ShowIntentionActions"/> when your caret is at the underlined or highlighted text
	// to see how GoLand suggests fixing it.
	ph := pinyin.NewArgs()
	ph.Heteronym = true
	pinyinList := pinyin.Pinyin("祖", ph)
	fmt.Println(pinyinList)
}

打印结果为

[[zu jie]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant