Open source Simple Transform library OPENCC support Node.js
Source: Internet
Author: User
KeywordsOpen source nbsp;http user interface
Open source Simple Transform library OPENCC support Http://www.aliyun.com/zixun/aggregation/13375.html ">node.js published 16 hours ago | Times Read | SOURCE cnode.js| 0 Reviews | Author Byvoid open-source Node.jsapi open Platform OPENCC Summary: Open Chinese Convert (OPENCC) is an open source Chinese Simplified conversion thesaurus, also provides function library (LIBOPENCC), command line simple conversion tools, manual proofing Tools, Dictionary generation program, online conversion service and circular user interface.
Open Chinese Convert (OPENCC) is an open source Chinese Simplified conversion thesaurus, also provides function library (LIBOPENCC), command line conversion tool, manual proofing tool, Dictionary generation program, online conversion service and circular user interface.
var OPENCC = require (' OPENCC ');/Load The default simplified to traditional Configvar = new OPENCC (' OPENCC '); Set conversion Modeopencc.setconversionmode (opencc.conversion_fast);//Sync Apivar converted = Opencc.convertSync ("Kanji "); Console.log (converted);//Async Apiopencc.convert (" Kanji ", function (err, converted) {console.log (converted);});
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.