GithubHelp home page GithubHelp logo

solderq35 / better-chinglish Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 670 KB

Transcription App for Chinese-Americans

Home Page: https://solderq35.github.io/better-chinglish/

License: GNU General Public License v3.0

HTML 25.15% JavaScript 73.69% CSS 1.16%

better-chinglish's Introduction

Better Chinglish

Transcription App for Chinese-Americans

Site URL (Try it Yourself!)

Video Demo

Usage Instructions / Screenshots

  • (Optional, only if it's too awkward to hold the menu etc)

    • Upload images to services like ImgBB or Imgur
    • Copy image URL and put it in the "Enter Image URL" link
  • Look at Chinese characters and carefully write it in the handwriting input qhanzi section

    • Shoutouts to Ben Burlock for great work on qhanzi!

    • You can stop in the middle of writing a Chinese character and come back, unlike with native iPhone Chinese handwriting input.

      Screenshot Example

    • If Chinese character candidates do not show up when using the qhanzi Iframe, there may be a caching issue, you may have to reload the page for it to work correctly

  • When you are all done writing the Chinese characters by hand, copy and paste the Chinese characters into the Bing Translate section

    • You will be able to see the Pinyin pronunciation and meaning Screenshot Example
    • If you still can't pronounce it, you can click the little speaker icon in the Bing Translate window to hear how it's pronounced Screenshot Example

Purpose

I have plans to expand this app's capabilities, but for now:

  • The local Chinese restaurants in Irvine, CA (I am here on an internship) often feature staff / waiters who do not speak English
    • Which is fine for me, since I am fluent from learning to speak (Mandarin) Chinese from my parents
    • However, I do have to order in Chinese, and I often cannot read the menu very well (having a much shakier Chinese literacy)
      • Thus, I need a way to accurately decipher Chinese characters on the menu if I don't already recognize them
  • There is native support for Chinese handwriting input on iPhone, but it's not very good / clearly targeted at fluent Chinese readers / writers
    • The moment you switch browser or app tabs on iPhone, the handwriting input resets, which is an issue for someone like me who forgot the stroke order of a character on the restaurant menu midway through it
  • Thus I am using Iframes with qhanzi, a website that has way better handwriting input and does not reset your input the moment you leave the page
  • Currently I have to open qhanzi, Google or Bing Translate, and maybe also a photo on my phone (since it's awkward to stand around holding the menu) to order
  • I need the Google or Bing Translate to:
    • Get the Pinyin transcription of the characters (the most important part, how to actually pronounce the characters so I can make my restaurant food order in Chinese)
    • Get the meaning of the characters (important in case there is some term I don't recognize, which does happen on occasion)
    • PS I am using Bing Translator in my version cause Google Translator blocks Iframes for security reasons or something

The Idea

  • I use Iframes to combine what were otherwise 3 separate services (image embed, handwriting input, translator) into one app so I don't have to tab in and out on my phone constantly, greatly improving my workflow
  • Had to modify Iframes to allow for sharing clipboard between Iframes

Site Setup

It probably doesn't matter, but just in case, I am on node version 16.20.0 (run node -v in terminal to check). You can change node versions easily with nvm for Unix or nvm for Windows

npm install

  • Installs dependencies

npm start

npm run prettier

  • Formats code

Githug Pages Deployment Tips

Sources / Credits

better-chinglish's People

Contributors

solderq35 avatar

Watchers

 avatar

better-chinglish's Issues

Writing Feature Roadmap

  • unlimited? number of iframes, dynamically inserted as needed
  • big text box for finished piece of writing; float to top?
  • writing feature on new page?

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.