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

使用Pinyin::appends添加词库后,其他字符为何都不转换了呢? #39

Closed
ricefox opened this issue Apr 5, 2016 · 0 comments

Comments

@ricefox
Copy link

ricefox commented Apr 5, 2016

$name='剅河';
        $depends=[
            '剅'=>'lou'
        ];
        Pinyin::appends($depends);
        Pinyin::set('accent',false);
        echo Pinyin::trans($name),PHP_EOL;
        $name='好的';
        echo Pinyin::trans($name),PHP_EOL;

输出如下:

lou 河
好的

请问这是怎么回事啊?

overtrue added a commit that referenced this issue Apr 5, 2016
@overtrue overtrue closed this as completed Apr 5, 2016
overtrue added a commit that referenced this issue Nov 16, 2016
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

2 participants