{"by":"dwilding","descendants":28,"id":39647164,"kids":[39649131,39648815,39601154,39675655,39653279,39651572,39649601,39650554,39649347,39650837,39649317],"score":74,"text":"Hi HN! In trying to improve my Chinese skills, I built this tool that lets me write a mix of Chinese and English, then recommends a proper Chinese expression. This is super helpful when I want to write something in Chinese but I don&#x27;t know all the vocab&#x2F;grammar - I can enter my best effort and use English for the parts I don&#x27;t know.<p>Really, the fundamental benefit of the tool is that it encourages me to exercise the writing muscle, rather than defaulting to translating from English.<p>My goal was to build something that is fast, relatively inexpensive, and not prone to misleading people. After some experimentation, I found that pairing GPT-3.5 with Microsoft machine translation works great! I&#x27;m using GPT-3.5 to generate an English version of the input, then Microsoft machine translation to translate the English version into Chinese. I&#x27;ve written a blog post about how I arrived at this approach: <a href=\"https:&#x2F;&#x2F;maybecoding.bearblog.dev&#x2F;my-attempt-at-an-ai-writing-assistant-for-chinese&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;maybecoding.bearblog.dev&#x2F;my-attempt-at-an-ai-writing...</a><p>The tool is pretty basic from a technical standpoint. There&#x27;s a PHP backend that handles the API calls to OpenAI and Microsoft. The frontend is plain HTML with a bit of JS for interactivity - but the whole thing works fine without JS.<p>Hopefully other folks find this useful too. I&#x27;m interested to know whether I could have approached this problem in a different&#x2F;better way. Thanks!","time":1709936110,"title":"Show HN: My AI writing assistant for Chinese","type":"story","url":"https://unscrambler.dpw.me/"}