Show HN: I trained a 9M speech model to fix my Mandarin tones (opens in a new tab)simedw.com
469 pointsBuilt this because tones are killing my spoken Mandarin and I can't reliably hear my own mistakes.
It's a 9M Conformer-CTC model trained on ~300h (AISHELL + Primewords), quantized to INT8 (11 MB), runs 100% in-browser via ONNX Runtime Web.
Grades per-syllable pronunciation + tones with Viterbi forced alignment.
Try it here: https://simedw.com/projects/ear/
Comments (153) 66 threads
Show all comments
Showing thread 13 of 66
I am mostly developing this for myself, to have the perfect tool for me, but I dare say, that I have not seen anything comparable and that I let my 10y+ experience in learning Chinese influence my design decisions. Oh, and it is free /libre software of course (AGPL). It comes with an ever improving vocabulary file that has tons of metadata about words, their usage, how to memorize them, etc. under ODbL (open database license).
[1]: https://codeberg.org/ZelphirKaltstahl/xiaolong-dictionary
It takes text, adds colours for tones, pinyin, literal, and parallel translations.
There’s also a character decomposition tool at the bottom of the page which can be helpful if you’re able to recognise half a character but can’t remember the pronunciation for typing it.
The YouTube channel has some song lyrics, movie subtitles, and audio Bible that might help with learning.
What I noticed though is, that some of the components don't seem to be like what I would expect to be shown as components. For example I tried the word 衣服 and 服 is shown to have the component "二". I guess one could see it that way, but some other dictionaries stop at 月 which itself is a component with set meaning (moon) and usage as radical (often for body parts). My favorite online normal dictionary for example: https://www.mdbg.net/chinese/dictionary?page=worddict&wdrst=... (hover over 3 dots of character and click the button with the 字 and scissors to see decomposition) says:
If you go further, wouldn't you also have to decompose "二" into "一" and "一"?A Chinese teacher told me there are various approaches for decomposition, so this might not be a science or that rigorous, but I think consistency would then dictate, that you decompose "二" as well. I don't always agree fully with their decomposition either and usually I stop at any component, that still has meaning by itself, which can be pretty low level 1 or 2 strokes components already. For determining that, I also use information from a language school, which I copied into a repo: https://codeberg.org/ZelphirKaltstahl/language-learning/src/... "All radicals from their website". Also useful for memorizing the characters, if one can derive a mnemonic for a character from its components and their meaning.
The advanced UI looks very complex, but I don't mind that. In fact it is quite cool! Just has some stuff I don't even know what it is about. I noticed, that once one toggles the advanced UI, I didn't find a way to toggle it back to simple again.
Bookmarked!
Matrix is just a visualisation tool, I never actually found a practical use for it other than looking cool.
The decomposition feature is at the bottom of the page below the generated HTML. It's the text box with "隹" and a Search button. Clicking Search will show the 2 parts of the character, and all characters that contain that radical (䧶, 䳡, etc), and all multi-character words containing that character.
Clicking any of the related characters (or numeric codes for radicals that don't have a Unicode representation) will then show the genealogy for that character.
See "copying from images" in http://localhost/pingtype/docs/docs.html
If I ever come to Berlin then your meetup sounds fun! I'm pretty far away though; I live in New Zealand now.
All the best with your learning, I hope you keep making progress!