-
Notifications
You must be signed in to change notification settings - Fork 842
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
45 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,10 @@ | ||
/** | ||
* @overview | ||
* | ||
* @author 闲耘™ (hotoo.cn[AT]gmail.com) | ||
* @version 2013/02/02 | ||
*/ | ||
|
||
var pinyin = require("../src/pinyin.js"); | ||
var S = require("simplebig") | ||
var pinyin = require("../src/pinyin"); | ||
|
||
var hans = [ | ||
"中心思想", | ||
"中弹受伤", | ||
"重心不稳", | ||
"影碟重重", | ||
"冒顿单于", | ||
"这个没有", | ||
"狗出没注意", | ||
"惊天地泣鬼神" | ||
"中国(china)", | ||
]; | ||
|
||
for(var i=0,l=hans.length; i<l; i++){ | ||
console.log(hans[i], pinyin(hans[i])); | ||
console.log(hans[i], pinyin(hans[i], {heteronym:true})); | ||
} | ||
|
||
console.log(S.t2s("乳臭未乾")); | ||
console.log(S.t2s("旁徵博引")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters