Giter Site home page Giter Site logo

feiji's Introduction

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

feiji's People

Contributors

ynadji avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

feiji's Issues

intelligent reading

你好 obviously has only one reading. check out the pinyin toolkit to see how it generates the proper one.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.