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

fix broken syntax errors in phrases-dict.js and dict-ci.js #32

Closed
kaizhu256 opened this issue Jan 21, 2015 · 0 comments
Closed

fix broken syntax errors in phrases-dict.js and dict-ci.js #32

kaizhu256 opened this issue Jan 21, 2015 · 0 comments
Labels

Comments

@kaizhu256
Copy link

> pinyin = require('pinyin');
{ [Function: pinyin]
  STYLE_NORMAL: 0,
  STYLE_TONE: 1,
  STYLE_TONE2: 2,
  STYLE_INITIALS: 3,
  STYLE_FIRST_LETTER: 4 }
> pinyin('经济'); // prints invalid pinyin below
[ [ 'jīngjì' ] ]
>


## here's a grep of invalid pinyin lookups
Darwin 2 kaizhu@kais-MacBook-Air:/tmp/node_modules/pinyin $ shGrep grave
./src/phrases-dict.js:7196:"节烈": [["jiéliè"]],
./src/phrases-dict.js:7517:"经济": [["jīngjì"]],
./src/phrases-dict.js:10697:"强韧": [["qiángrèn"]],
./src/phrases-dict.js:12421:"说话": [["shuōhuà"]],
./src/phrases-dict.js:15890:"怨毒": [["yuàndú"]],
./src/phrases-dict.js:17052:"撰著": [["zhuànzhù"]],
./tools/dict/dict-ci.js:8648:"额定": ["édìng"],
./tools/dict/dict-ci.js:17387:"节烈": ["jiéliè"],
./tools/dict/dict-ci.js:18056:"经济": ["jīngjì"],
./tools/dict/dict-ci.js:18652:"跼促": ["júcù"],
./tools/dict/dict-ci.js:21645:"凌驾": ["língjià"],
./tools/dict/dict-ci.js:24657:"涅槃": ["nièpán"],
./tools/dict/dict-ci.js:25698:"嘌呤": ["piàolíng"],
./tools/dict/dict-ci.js:27018:"强韧": ["qiángrèn"],
./tools/dict/dict-ci.js:28866:"三废": ["sān-fèi"],
./tools/dict/dict-ci.js:32093:"说话": ["shuōhuà"],
./tools/dict/dict-ci.js:35466:"未定": ["wèidìng"],
./tools/dict/dict-ci.js:42335:"怨毒": ["yuàndú"],
./tools/dict/dict-ci.js:44660:"众望": ["zhòngwàng"],
./tools/dict/dict-ci.js:45315:"撰著": ["zhuànzhù"],
./tools/dict/dict-ci.js:47525:"报话机": ["bàohuàjī"],
./tools/dict/dict-ci.js:62077:"警惕性": ["jǐngtìxìng"],
Darwin 2 kaizhu@kais-MacBook-Air:/tmp/node_modules/pinyin $ 
@hotoo hotoo added the BUG label Jan 21, 2015
@hotoo hotoo closed this as completed in deacaca Jan 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants