Skip to content
Matt BertiMatt BertiMatt BertiMatt Berti

Matt Berti

Chenglish Dictionary

A Chinese-English dictionary and flash cards app for Chinese language learners.

As any learner of Chinese soon discovers, there are a lot of characters to learn. A 2004 study conducted by Jun Da, a linguist at Middle Tennessee State University, found that there are an astounding 258,852,642 unique Chinese characters in use in classical and modern texts. Luckily for learners of the modern language, only about 8,000 are generally known by fluent speakers; Even better, Jun estimates only 3,500 characters are commonly used in modern texts like newspapers and novels.

Still, the path to literacy in Chinese is a daunting task. As I myself discovered, learning 3,500 characters is time-consuming and nerve-wracking, especially after your weary eyes have come across that same character a hundred times and you still can't seem to get it saved in your memory bank.

But the benefits of overcoming this hurdle and achieving bilingualism are huge, impacting life span and personal wealth. A landmark study published in the journal Neurology in 2013 found that bilingualism delays the onset of dementia. In 2014, The Economist used economic studies and the principle of compound interest to argue that learning a second language can potentially add $128,000 to your retirement account.

As I tell my students, to effectively learn anything requires consistent practice (a little every day), and an efficient way to repetitively expose the brain to new information in a curtailing frequency (in other words, see something less frequently as that information is more concretely retained to memory). In my classroom we do this using Cornell Notes and Quizlet. For my AP US History students, I created Quizlet study sets for every learning module in the course. Student feedback consistently rates these flash card sets as the most helpful tool available for learning (almost always above my painstakingly-prepared lectures).

So given what we know about effective learning, I was dismayed to discover that when I set out to learn those 3,500 Chinese characters, there wasn't much available for me to really learn efficiently. Thereafter I built this web app on top of the data that powers my favorite Chinese-English Dictionary, MDBG Chinese Dictionary.

I started by converting all 91,678 entries of the CC-CEDICT dictionary into MySQL data. I then built three PHP class objects to manage the data:

  1. A Zhongwen class to fetch the data
  2. A User class to manage the activity of guests and registered members
  3. A Vocab class to manage and render personal vocabulary lists compiled by users

The class objects are all covered by unit tests, which were written in conjunction with the classes themselves.

On the front end, I designed the app to be mobile-first since I mostly practice using my phone. The CSS is also designed to be fully responsive for users to use on any screen.

Up NextVideogam.in