Home

Awesome

Neural Pinyin-to-Chinese Character Converter—can you do better than SwiftKey™ Keyboard?

In this project, we examine how well neural networks can convert Pinyin, the official romanization system for Chinese, into Chinese characters.

Requirements

Background

<img src="images/swiftkey_ten.gif" width="200" align="right"> <img src="images/swiftkey_qwerty.gif" width="200" align="right">

Problem Formulation

I frame the problem as a labelling task. In other words, every pinyin character is associated with a Chinese character or _ which means a blank.

Inputs: woaini。<br> Outputs: 我_爱_你_。

Data

Model Architecture

<img src="images/cbhg.png" align="middle">

Training

Evaluation

Results

<img src="images/loss.png" align="middle"> <p> * The accuracy changes like this: <p> <img src="images/acc.png" align="middle">
Layout# ProposedSwiftKey 6.4.8.57
QWERTY1203/10437=0.12717/10437=0.07
NINE2104/10437=0.21775/10437=0.17