Code Monkey home page Code Monkey logo

chinese-ime's Introduction

Chinese Input Method Editor (IME)

A JavaScript jQuery plugin for building Chinese keyboard input capabilities natively into a website.

Introduction

This Chinese IME is a JavaScript jQuery plugin that allows you to easily build the ability to type in Chinese characters into your website. The target users here are probably not native Chinese speakers who are very familiar with Chinese input methods, but rather those learning Chinese as a second language. Someone new to the language might not yet have installed an IME onto their OS, or might not yet know how to use it. If that sounds like your main audience, this is for you. This plugin is easy and intuitive to use for beginners and experts alike, and doesn't interfere with built-in OS input methods.

Features

  • Written in JavaScript as a jQuery plugin
  • Can be added to any textarea or input
  • Supports both simplified and traditional input methods
  • Smaller than 20kB, super fast
  • Completely stylable through CSS
  • Designed to be as unobtrusive as possible
  • Doesn't interfere with OS-builtin input methods
  • A range of different settings that can be passed as parameters
  • Licensed under the Lesser General Public Licence (LGPL), which means you can use it in any sort of project, commercial or otherwise, redistribute it and change it any way you want, as long as you retain the original copyright notice and keep that part of the code under the same LGPL license (so you can link to it from a commercial closed-source project, no problem)
  • Backend suggestions can be powered either by Google Translate or your own custom service, it's up to you. Google doesn't have an official API for this, so at least attribution would be advised if you go that route. However, I am not a lawyer. If you want to be 100% safe, write your own backend or hound me until I do.
  • Caches answers from the backend, increasing efficiency and reducing calls.

Demo

For a live demo of the plugin, go check out ChineseIME.com. There is also a demo included in this package in the demo folder.

Tested in

I've so far tested this in Chrome (Chromium v.18) and Firefox 13+, where all works as expected. I don't really have a test suite available right now, so if anyone could contribute further test results, that would be great!

Authors

  • Herman Schaaf (herman [ at ] ironzebra [ ใ€‚] com)

chinese-ime's People

Contributors

armelpingault avatar hermanschaaf avatar tsroten avatar

Watchers

 avatar  avatar

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.