You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
let gotToGoogleSearch = (word) => {
|
|
|
|
|
word = word.replace(/\s/, "+");
|
|
|
|
|
return `https://www.google.com/search?q=how+to+pronounce+${word}`;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
let gotToYouDaoSearch = (word) => {
|
|
|
|
|
word = word.replace(/\s/, "+");
|
|
|
|
|
return `https://www.youdao.com/result?word=${word}&lang=en`;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
let goToBaiDuHanYu = () => {
|
|
|
|
|
// 一点飞上天,黄河两头弯;八字大张口,言字中间走;左一扭,右一扭,你一长,我一长,中间加个马大王;心字底,月字旁,一个小勾挂麻糖,坐个车子逛咸阳。
|
|
|
|
|
// 56个笔画的字 邉
|
|
|
|
|
// U+30EDE (简化版本 U+30EDD)
|
|
|
|
|
{
|
|
|
|
|
"汉".charCodeAt(0).toString(16);
|
|
|
|
|
String.fromCharCode("0x6c49");
|
|
|
|
|
}
|
|
|
|
|
//https://hanyu.baidu.com/s?wd=%E9%82%89
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export { goToBaiDuHanYu, gotToYouDaoSearch, gotToGoogleSearch };
|