TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Math expressions and graph traversals of the Chinese language

3 pointsby mreichhoff2 months ago
I&#x27;ve been working on a free Chinese language learning tool for awhile now. The main insight is that Chinese characters are used together to form words, and that this allows for a way of quickly getting information about related words and characters. By learning words and characters in a chain in this way, I&#x27;ve found it easier not to get lost in the long list of characters.<p>In addition, I&#x27;ve found it helpful to break down characters into their components to find pronunciation clues, which can sometimes be hidden in components of components.<p>The math feature uses a similar tree traversal mechanism to allow expressions like 酒-氵+各 = 酪 or 亻+寸+广+仌+⺆ = 腐.<p>As it&#x27;s 2025, it also has some AI features. Notably: * allowlisted users can get Chinese or English text explanations that span more than just a word, but that integrate with the other features, like flashcard creation and in-browser text-to-speech. * files and images (using the browser&#x27;s `capture` mechanism to operate cameras) can also be processed similarly. * example sentences were generated and cached using AI<p>The site is a PWA built with vanilla JS (because I like pain), with Cytoscape and D3 for various rendering tasks.<p>The backend was built with Firebase, with Genkit + Gemini 2.0 providing the AI integration.<p>Feel free to check it out: <a href="https:&#x2F;&#x2F;hanzigraph.com" rel="nofollow">https:&#x2F;&#x2F;hanzigraph.com</a>

no comments

no comments