ynadji / feiji Goto Github PK
View Code? Open in Web Editor NEWChinese IRC bot for language learners
Chinese IRC bot for language learners
feiji (飞机) is a bot that helps you learn Chinese! feiji listens to a handful of commands, and responds with answers. QUERY messages to feiji are replied in directly to the user, while NOTICEs are sent to the channel. Commands: .h/.help: Sends this message to the user .tr: Translate between Chinese and English using CEDICT/Google Translate .so: Retrieve stroke order animation from nciku .p: Print a pinyin reading of characters. .#: Print the number of strokes for characters. Examples: <yacin> .tr 聪明 <feiji> 聪明 (聰明): /acute (of sight and hearing)/clever/intelligent/bright/smart/ <feiji> cōng míng <yacin> .tr dinosaur <feiji> 恐龙 (恐龍): /dinosaur/CL:頭|头[tou2]/ <yacin> .tr 我爱飞机 <feiji> google: I love airplanes <feiji> wǒ ài fēi jī <yacin> .so 舞 <feiji> http://images.nciku.com/stroke_order/44853.swf <yacin> .p 我的朋友 <feiji> wǒ de péng yǒu <yacin> .# 太多汉字 <feiji> 4, 6, 5, 6 Options: If performing a dictionary lookup (a word or common phrase), .tr can take wildcard arguments '_', for a single character wildcard, or '%', for an arbitrary length wildcard, e.g.: < yacin> .tr _日_乐 < feiji> yacin, 生日快乐 (生日快樂): /Happy birthday/ < yacin> .tr %快乐 < feiji> yacin, 圣诞快乐 (聖誕快樂): /Merry Christmas/; 快乐 (快樂): /happy/merry/; 生日快乐 (生日快樂): /Happy birthday/; 新年快乐 (新年快樂): /Happy New Year!/; 愚人节快乐 (愚人節快樂): /April Fool!/ For bug reports and feature requests: https://github.com/ynadji/feiji/issues
.tr or 。to perform queries maybe?
你好 obviously has only one reading. check out the pinyin toolkit to see how it generates the proper one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.