GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - WinDerek/chinese-ime-design: A basic example of the architecture design of the core algorithms of a Chinese IME.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitattributes
.gitattributes
 
 
README.md
README.md
 
 
README_zh.md
README_zh.md
 
 
chinese_ime_architecture.drawio
chinese_ime_architecture.drawio
 
 
chinese_ime_architecture.png
chinese_ime_architecture.png
 
 

Repository files navigation

Chinese IME Design

中文版 README

This repository demonstrates a basic example of the architecture design of the core algorithms of a Chinese IME (Input Method Editor).

1. Overview

Architectural Diagram

2. Pinyin Splitting

2.1 Definition

zhongwen to zhong'wen

2.2 Related Technologies

  • TrieTree - Wikipedia

3. Chinese Word Query

3.1 Definition

zhong'wen to [ "中文", "仲文" ]

3.2 Related Technologies

  • Chinese Pinyin dictionary

4. Next-word Prediction

4.1 Definition

Next-word prediction refers to predicting the most probable next-words (candidates) according to the user input context.

4.2 Related Technologies

  • N-gram: Peter F Brown, Vincent J Della Pietra, Peter V Desouza, Jennifer C Lai, and Robert L Mercer. 1992. Class-based n-gram models of natural language. Computational Linguistics 18, 4 (1992), 467–480.
  • Transformers: pretrained models, a GitHub repo
  • 清源 CPM
  • jieba
  • sego

5. Emoji Prediction

5.1 Definition

Emoji prediction refers to predicting the most probable emojis (candidates) associated with the user input context.

5.2 Related Technologies

  • W. Ma, R. Liu, L. Wang, and S. Vosoughi, Emoji prediction: Extensions and benchmarking, in Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2020.
  • S. Ramaswamy, R. Mathews, K. Rao, and F. Beaufays, Federated learning for emoji prediction in a mobile keyboard, arXiv preprint arXiv:1906.04329, 2019.

About

A basic example of the architecture design of the core algorithms of a Chinese IME.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.