Input method framework with extension support
