57 comments

  • yunusabd11 hours ago
    Super nice, thanks for sharing!<p>There&#x27;s one thing that gave me pause: In the phrase 我想学中文 it identified &quot;wén&quot; as &quot;guó&quot;. While my pronunciation isn&#x27;t perfect, there&#x27;s no way that what I said is closer to &quot;guó&quot; than to &quot;wén&quot;.<p>This indicates to me that the model learned word structures instead of tones here. &quot;Zhōng guó&quot; probably appears in the training data a lot, so the model has a bias towards recognizing that.<p>- Edit -<p>From the blog post:<p>&gt; If my tone is wrong, I don’t want the model to guess what I meant. I want it to tell me what I actually said.<p>Your architecture <i>also</i> doesn&#x27;t tell you what you actually said. It just <i>maps</i> what you said to the likeliest of the 1254 syllables that you allow. For example, it couldn&#x27;t tell you that you said &quot;wi&quot; or &quot;wr&quot; instead of &quot;wo&quot;, because those syllables don&#x27;t exist in your setup.
    • vjerancrnjak10 hours ago
      I tried just repeating guó for as many times as symbols and repetition was not recognized.<p>Although I like the active aspect of the approach. Language apps where sound is the main form of learning should have a great advantage, as any written text just confuses as every country has its own spin on orthography. Even pinyin, despite making sense, for a beginner, has so many conflicting symbols.
      • yunusabd9 hours ago
        &gt; I tried just repeating guó for as many times as symbols and repetition was not recognized.<p>Can you elaborate? I&#x27;m not sure I understand.
  • namelosw10 hours ago
    Impressive work! The idea and the UI is very intuitive.<p>Though, as a guy who speaks perfect mandarin from Beijing, I’m struggle even to pass the easy ones… So it can definitely used some improvements. The example 你好吃饭了吗 returns hào → hǎo, fān → fàn, le → liǎo. The first two are the model listen my tone mistakenly, and the last one should be le instead of liǎo in this context.<p>Also I see in the comment section people are worry about tones. I can guarantee tones are not particularly useful and you can communicate with native speakers with all the tones messed up and that’s perfectly fine. Because as soon as you leave Beijing, you’ll find all the tones are shuffled because of every region has their own dialect and accents, which doesn’t stop people from communicate at all. So don’t let tone stuff slow your learning process down.
    • tianqi9 hours ago
      Please allow me to share some of my views. I&#x27;m a native Mandarin speaker.<p>&gt; I can guarantee that tones are not particularly useful and that you can communicate with native speakers with all the tones messed up, and that&#x27;s perfectly fine.<p>Not at all. Tones are extremely important. If you have all the tones messed up, you can hardly communicate in Mandarin. It&#x27;s true, as you said, that different regions of China have different dialects, and you&#x27;ll find that people can communicate normally because: 1) The tonal differences in nearby regions are not too significant, and people can still try to understand based on context. And 2) In many cases, people switch to regular Mandarin when their dialects cannot communicate with each other. This is why Mandarin exists. It is an officially regulated dialect that all Chinese people learn, to solve the dialect problem among different regions. Chinese people may speak their own dialects at hometown, but when two Chinese people meet and find that their dialects cannot communicate, they immediately switch to Mandarin. Therefore, the tones in Mandarin are very important. To a considerable extent, Mandarin exists because of tones. You cannot communicate in it with messed up tones.
    • samiv9 hours ago
      As a person who lived in Taiwan and reached C1 in Chinese, I can also say that the tones are indeed less important than one might thing <i>once</i> one can say more and communicate more context. In the beginning when you&#x27;re very limited in your expressive capacity and only can say simple sentences there&#x27;s less context and getting the tones wrong does produce confusion.<p>&quot;Because as soon as you leave Beijing, you’ll find all the tones are shuffled because of every region has their own dialect and accents, which doesn’t stop people from communicate at all. &quot;<p>Isn&#x27;t this in fact one of the reasons why China relies heavily on the written language because the different regions lose vocal communication ability as the changes in tones and pronounciations render the language understandable to people from other regions?
      • zelphirkalt9 hours ago
        The point about being a beginner and having limited capacity to express oneself is an important point. When you can say more, you will also have learned more about the language&#x27;s tendency to use words of 2 syllables, rather than 1 syllable words. Using 2 syllables instead of 1 already removes a lot of ambiguity, and people will understand you better.
    • samus5 hours ago
      &gt; Also I see in the comment section people are worry about tones. I can guarantee tones are not particularly useful and you can communicate with native speakers with all the tones messed up and that’s perfectly fine.<p>That might be true between native speakers of similar enough dialects who otherwise speak &quot;properly&quot; with each other: proper grammar, idiomatic expressions, predictable accents (also regarding tones, which are <i>not</i> random, just different patterns from the standard). Language learners make errors in all these categories and there providing more motivation to neglect the tones is harmful. If tones were completely irrelevant regarding understandably then they would have disappeared long ago.
    • zelphirkalt9 hours ago
      About the tones not being as useful ... I think there are cases, in which they matter. Take for example 熊猫 and 胸毛: &quot;有 xiongmao 吗?&quot; &quot;Are there Pandas? &quot; or &quot;Do you have chest hair?&quot;. Another one: 时间 and 事件. Sometimes it gets comical, but natives can and some will be confused, when your tones are off by too much, and the conversation just started, so that the context is not as narrowed down. Context is key in the language. You can notice that, when you are trying to join a conversation between natives. Until you understand a phrase or most of a phrase, that gives you a hint for the topic they are talking about, you will usually have a hard time understanding anything.<p>I just tried the tool and it couldn&#x27;t properly recognize a very clearly pronounced &quot;吃&quot; and instead heard some shi2. I think it needs more training data or something. Or one needs a good mic.
    • mijoharas9 hours ago
      I feel like there is a commonly mentioned idea that &quot;speaking a foreign language is easier after having a drink or two&quot;.<p>I&#x27;ve found that especially true with Mandarin because (I think) a beginner speaker is more likely to speak a little more quickly which allows the listener to essentially ignore the occasional incorrect or slightly mispronounced tone and understand the what theyî&#x27;re trying to say.<p>(This is anecdotal, but with n&gt;1. Discussed and observed with other Mandarin language learners)
  • dapangzi16 hours ago
    Longtime lurker, made an account specifically to give feedback here as an intermediate speaker. :)<p>This is a great initiative and I hope to see more come out of this; I am not criticizing, but just want to provide my user experience here so you have data points.<p>In short, my experience lines up with your native speakers.<p>I found that it loses track of the phonemes when speaking quickly, and tones don&#x27;t seem to line up when speaking at normal conversational speed.<p>For example, if I say 他是我的朋友 at normal conversational speed, it will assign `de` to 我, sometimes it interprets that I didn&#x27;t have the retroflexive in `shi` and renders it `si`. Listened back to make sure I said everything, the phonemes are there in the recording, but the UI displays the wrong phonemes and tones.<p>By contrast, if I speak slowly and really push each tone, the phonemes and tones all register correctly.<p>Also, is this taking into account tone transformation? Example, third tones (bottom out tone) tend to smoosh into a second tone (rising) when multiple third tones are spoken in a row. Sometimes the first tone influences the next tone slightly, etc.<p>Again, great initiative, but I think it needs a way to deal with speech that is conversationally spoken and maybe even slurred a bit due to the nature of conversational level speech.
    • mercanlIl14 hours ago
      The tool definitely needs to address tone transformations, it’s a big part of how the language is spoken. Otherwise it’s mostly useful for a first year student speaking in isolation.<p>Hoping to see improvements in this area
    • sqs15 hours ago
      I don&#x27;t think it takes care of tone transformation (eg 他是 ni3shi4 -&gt; ni2shi4). Or if it does, my tones are just off. But it&#x27;s a really cool idea!
      • carlmr11 hours ago
        他是 is tāshì which doesn&#x27;t transform I think. Did you mean to write 你是 nǐshì? I think that transforms differently though. With the half 3rd tone only dropping.<p>The classical example is 4&#x2F;4 不是. Which goes bùshì -&gt; búshì.<p>Or 3&#x2F;3 that becomes 2&#x2F;3. E.g. 你好 nǐhǎo becoming níhǎo.<p>The 1&#x2F;4 -&gt; 2&#x2F;4 transformation I think is specific to one. 一个 yīgè becomes yígè.
      • jhanschoo13 hours ago
        The tone sandhi example you just gave looks incorrect to me
        • jimz11 hours ago
          Well, OP wrote &quot;he is&quot; but then wrote &quot;you are&quot; in pinyin for one, and that&#x27;s a bit hard to reconcile.
    • tifan15 hours ago
      I had the same issue! Perhaps being another dapangzi is the problem here lol
      • et-al14 hours ago
        I&#x27;m not familiar with this slang: what&#x27;s a big plate?
        • allan_s12 hours ago
          It&#x27;s a slang for somebody fat. 子 does not carry a specific meaning it is more a character with grammatical function to nominative
        • dirteater_13 hours ago
          the commenter&#x27;s username (i&#x27;m guessing they mean 大胖子, feel free to google translate)
          • dapangzi4 hours ago
            This is the correct.<p>I was first called this by a Chinese classmate from Beijing with a biting sense of humor, when I was at university in Tokyo.<p>We got on really well, to be clear. :)<p>Hanging out with him was actually how I got started with Mandarin, probably why I chose this username.
            • rahimnathwani2 hours ago
              I remember when first learning Mandarin coming across a phrase &#x27;你发福了&#x27; which literally compliments someone on blessings (i.e. having become more wealthy) but idiomatically means you gained weight.
  • ecshafer16 hours ago
    Anyone that is a native European language speaker that hasn&#x27;t tried to learn Chinese or some other tonal language, its really hard to understand how hard it is. The tones can really be very subtle, and your ear is not fine tuned to them. So you <i>think</i> you are saying it right, but native speakers have no idea what you are saying.
    • vjvjvjvjghv15 hours ago
      Agree. It’s really hard. It also explains why a lot of people born in China tend to make serious pronunciation errors when speaking English or German. They are used to focus on different things than us westerners.<p>It took me very long time to really understand how impersonating tone is in Chinese.
      • DiogenesKynikos10 hours ago
        The reason why Chinese people have difficulty pronouncing Indo-European languages is that Chinese has a very limited set of syllables, and they always follow the pattern (consonant) + vowel + (nasal&#x2F;rhotic consonant), with possibly one of the consonants being dropped.<p>Chinese does not have clusters of consonants like &quot;rst&quot; in &quot;first.&quot; The closest thing in Chinese phonology to &quot;first&quot; would be something like &quot;fi-re-se-te.&quot; If you grow up never pronouncing consonant clusters, they are incredibly difficult to learn.<p>This is all related to the existence of tones, but tones are not the direct reason why Chinese people have difficulty pronouncing words like &quot;first.&quot; Tone provides one additional way of differentiating syllables, so Chinese can get away with having far fewer syllables than non-tonal languages. You essentially get 4-5 different versions of every syllable.
        • samus5 hours ago
          &gt; This is all related to the existence of tones, but tones are not the direct reason why Chinese people have difficulty pronouncing words like &quot;first.&quot;<p>Actually they kind of are. The tonal system of modern Chinese dialects developed from voiced initial constants of syllables. Old Chinese (Han dynasty and older) might not have been a tonal language altogether. Many linguists think that they developed from final consonants that have since disappeared, and before that happened, yes, Chinese would have had (some) consonant clusters. But still nothing like essentially free-form syllables like other language families.
          • DiogenesKynikos4 hours ago
            I said that the tones are not the direct reason.<p>They&#x27;re indirectly related to the difficulty Chinese native speakers have with learning to pronounce Indo-European languages, in that the tones developed as Chinese syllables became more simple and restricted.
    • laurieg16 hours ago
      For someone who hasn&#x27;t grown up speaking an language with tones or pitches, the process of learning them can be maddening. I applaud anyone who makes tools like this to try to make the process easier.<p>My experience in learning Japanese pitch accent was eye-opening. At the start, I couldn&#x27;t hear any difference. On quizzes I essentially scored the same as random guessing.<p>The first thing that helped me a lot was noticing how there were things in my native language (English) that used pitch information. For example, &quot;uh-oh&quot; has a high-low pitch. If you say it wrong it sounds very strange. &quot;Uh-huh&quot; to show understanding goes low-high. Again, if you reverse it it sounds unusual.<p>The next part was just doing lots of practice with minimal pairs. Each time I would listen and try my best to work out where the pitch changed. This took quite a lot of time. I feel like massed practice (many hours in a day) helped me more than trying to do 10 minutes regularly. Try to hear them correctly, but don&#x27;t try too hard. I didn&#x27;t have any luck with trying harder to &#x27;understand&#x27; what was going on. I liken it to trying to learn to see a new color. There isn&#x27;t much conscious thought.<p>The final piece of the puzzle was learning phrases, not individual words, that had pitch changes. For example: &quot;yudetamago&quot; could be boiled egg or boiled grandchildren. Somehow my brain just had a much easier time latching on to multi-word phrases instead of single words. Listening to kaki (persimmon) vs kaki (oyster) again and again seemed much harder.<p>Of course, your mileage may vary with these techniques. I already spoke decent Japanese when I started doing this.
      • ronyeh13 hours ago
        &gt; For example, &quot;uh-oh&quot; has a high-low pitch. If you say it wrong it sounds very strange. &quot;Uh-huh&quot; to show understanding goes low-high. Again, if you reverse it it sounds unusual.<p>Wow… Thanks for making it clear that English also has tones! I hadn’t thought of it this way before. “Uh-huh” sounds similar to Mandarin tones 3 &amp; 2. “Uh-oh” is similar to Cantonese tones 1 &amp; 3.<p>I’m wondering if we can find good examples to teach the Mandarin tones. I think two or three syllable words are best because it illustrates the contour of the tones.
    • danparsonson15 hours ago
      Wholeheartedly (or maybe downheartedly?) agree with this - sometimes I try to say the simplest things and people just stare at me like I&#x27;m speaking Martian. Which I suppose I might as well be! One of my big problems is implicit use of tones for things like expressing uncertainty; that&#x27;s a very difficult habit to get out of.
      • bunderbunder14 hours ago
        Another one that I wish I had realized sooner is that, contrary to the impression teachers tend to convey, tones aren’t just a pitch contour thing. There are also intensity and cadence elements. Native speakers can fairly accurately recognize tones in recordings that have had all the pitch contour autotuned out.
    • DiogenesKynikos11 hours ago
      The tones are really not as difficult as people make them out to be.<p>90% of the effort in learning any language is just learning massive amounts of vocabulary.<p>Things like tone and grammar are the very basics that you learn right at the beginning.‡ Beginners complain about them, but after a few months of studying Chinese, you should be fairly comfortable with the tones. Then, you spend years learning vocabulary.<p>The two things that make Chinese difficult are:<p>1. The lack of shared vocabulary with Indo-European languages (this obviously doesn&#x27;t apply if your native language is something with more shared vocabulary with Chinese).<p>2. The writing system, which because it&#x27;s not phonetic requires essentially the same level of effort as learning an entirely new language (beyond spoken Chinese).<p>‡. The same goes for grammar issues (like declension and conjugation) that people always complain about when learning Indo-European languages. These are the very basics that you learn early on. Most of the real effort is in learning vocab.
      • snicky9 hours ago
        &gt; 2. The writing system, which because it&#x27;s not phonetic requires essentially the same level of effort as learning an entirely new language (beyond spoken Chinese).<p>This is an interesting observation. Another one that I sometimes mention to my friends who didn&#x27;t have an occasion to learn Chinese before is that in this language speaking, reading and writing are actually 3 separate components. You can read characters without knowing how to write them properly or even remembering them entirely. Lots of my Taiwanese acquaintances forget how to write certain characters, because nowadays most of the text they write is in bopomofo on their phones. Bopomofo represents sounds, so basically knowing how an expression sounds and being able to read the character (pick it from a set of given characters for the chosen sound) is enough to &quot;write&quot; it.
    • cyberax16 hours ago
      I&#x27;m a native Russian speaker, and I decided to learn Mandarin, because it&#x27;s linguistically almost the opposite of Russian.<p>I had no problems with tone pronunciation, but tone recognition was indeed much trickier. I still often get lost when listening to fast speech although I can follow formal speech (news) usually without problems.
      • barrell13 hours ago
        I recently started learning a tonal language, and so far have not struggled too much wrt tones when everything is slow. There was an original strangeness and refusal for my vocal cords to want to work that way, but probably only for the first month or so.<p>At least, this is the case for slow text. Once the text is sped up it’s amazing how my brain just stops processing that information. Both listening and speaking.<p>I’m sure this will come with practice and time but for now I find it fascinating
      • thenthenthen10 hours ago
        Euro speaker here, no problem with recognising tones but speaking them…:&#x2F;
    • dionian16 hours ago
      its critical because without proper tonal enunciation the words can be ambiguous.
  • tifan15 hours ago
    Well, it would work only when I speak word by word, not as a sentence or in a normal speed for daily conversations. The model thinks I was making mistakes when I speak casually (as a native Chinese speaker, I had Mandarin 2A certification, which is required for teachers or other occupations that requires a very high degree of Mandarin accuracy). You wouldn’t really notice it but language pronunciations is very different between causal and formal speech…
  • vunderba17 hours ago
    When I was living in Taiwan, one of the ways I forced myself to remember to pronounce the tones distinctly was by waving my hand in front of me, tracing the arc of each character’s tone.<p>It helped a lot even if I did look like an insane expat conducting an invisible orchestra.<p>One more thing: there&#x27;s quite a bit of variation in how regional accents in the mainland can affect tonal pronunciation. It might be worth reaching to some native speakers to give you some baseline figures.
    • zdragnar17 hours ago
      In a university Mandarin class, one of the adult students (i.e. probably 40 or so) WAY over exaggerated his tones, to the point that the little old lady teaching us laughed out loud after one of his answers.<p>A few years later, he had the most clean and consistent pronunciation out of anyone I&#x27;d been in a class with, and easily switched between the Beijing and other accents depending on which teacher we had on any given day.<p>I rather regret not emulating him, even though I haven&#x27;t really used it for nearly 20 years and have forgotten most of it.
      • ecshafer16 hours ago
        From a language learning standpoint that does make sense. Over-exageration while you are learning to help cement the idea, and then when you are speaking more naturally you will fall back into a regular kind of tone.
        • mleonhard12 hours ago
          Over-exaggeration also works well when learning to play stringed instruments like cello.
      • luckydata16 hours ago
        that&#x27;s EXACTLY how I taught myself to speak with a Spanish accent from Madrid. I repeated the way tv celebrities and the speakers on the metro announced the stations, and it gave me a base for how to use my mouth and throat appropriately. After a while I was able to tone it down and my accent got so good that locals couldn&#x27;t tell I wasn&#x27;t spanish - I had this cool party trick pulling out my id and showing them I was truly a foreigner!
    • sowbug14 hours ago
      You&#x27;ll love Mike Laoshi: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;cna89A2KAU4?si=SQEZ_0ooO1z119_k" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;cna89A2KAU4?si=SQEZ_0ooO1z119_k</a>
    • simedw17 hours ago
      For accents, I’ve mostly tested with a few friends so far. I’m wondering whether region should be a parameter, because training on all dialects might make the system too lax.
      • vunderba11 hours ago
        Probably be a lot of work but it would be really interesting if you had sufficient data sets to train across accents.<p>Highly recommend taking a look at Phonemica for this:<p><a href="https:&#x2F;&#x2F;phonemica.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;phonemica.net&#x2F;</a>
    • devin16 hours ago
      This sounds like how solfeg training works. You use a hand signal to indicate a specific tone: do re mi fa so la ti
    • cyberax16 hours ago
      Hand motions help! Especially when you want to memorize new words, because initially you need to treat tone as something additional to remember.<p>I used simple index finger motions to mark tones.
  • ctkhn1 hour ago
    This is fantastic. Been looking for a way to get feedback on my pronunciation since I came back from Shanghai and haven&#x27;t been seeing native speakers every day. Is there any plan to make this a download for desktop or mobile? Would be using it weekly to get back up to par on Mandarin
  • alixwang6 hours ago
    As a native speaker of Mandarin the demo it&#x27;s not work for me. It can&#x27;t check the pronounce of my voice. I don&#x27;t know what&#x27;s wrong of it, may be it&#x27;s too sensitive(my daughter watch carton on my side).
    • simedw5 hours ago
      It’s fairly sensitive to background noise at the moment. I’m planning to train an improved version with stronger data augmentation, including background noise.
  • asyncadventure3 hours ago
    This is exactly the kind of personalized, immediate feedback that makes AI powerful for language learning. The fact that it runs entirely in-browser at 11MB is impressive engineering - imagine having this quality of pronunciation coaching available offline anywhere. The approach of training on specific phonological challenges (like tone distinction) rather than general translation feels like the right direction for practical language tools.
  • bunderbunder14 hours ago
    This is very cool, but from one Mandarin learner to another I’d caution against relying too heavily on any external feedback mechanism for improving your pronunciation.<p>If you can’t easily hear your pronunciation mistakes so clearly it hurts, consider putting more energy into training your ear. Adult language learners usually have brains that have become resistant to, but not incapable of, changing the parts of the brain responsible for phoneme recognition. The neuroplasticity is still there but it needs some nudging with focused exercises that make it clear to your brain exactly what the problem is. Minimal pair recognition drills, for example, are a great place to start.<p>It’s not the most fun task, but it’s worth it. You will tighten the pronunciation practice feedback loop much more than is possible with external feedback, so a better accent is the most obvious benefit. But beyond that, it will make a night and day difference for your listening comprehension. And that will get you access to more interesting learning materials sooner. Which hopefully increases your enjoyment and hence your time on task. Plus, more accurate and automatic phoneme recognition leaves more neurological resources free for processing other aspects of your input materials. So it may even help speed things like vocabulary and grammar acquisition.
    • barrell12 hours ago
      I’m building a language learning app [<a href="https:&#x2F;&#x2F;phrasing.app" rel="nofollow">https:&#x2F;&#x2F;phrasing.app</a>] and this is really good advice. I’ve not had any interest in SST for the application, and have no plans to integrate it. In my experience, I’ve never seen them be truly beneficial in the language learning process.<p>What has been extremely beneficial has been having the text and audio forced aligned and highlighted, kareoke-style, every time I hear the audio. It has improved my phoneme recognition remarkably well with remarkably little content. Several users also report the same thing - that even native speech feels a lot more like separate words than just a slew of sounds. I attribute this in large part just due to this kareoke style audio. It works better for phonetic scripts, so I would recommend using this with pinyin&#x2F;jyutping&#x2F;furigana for character based languages.<p>For production, when I was at Regina Coeli (world-class language institute) their main thing was just 1. you hear a short passage in Dutch, 10-40 words 2. you record yourself reading the same passage and 3. you play back the two audio tracks on top of one another and listen for the difference. Optional step 4. Re-record and replay until it’s close enough.<p>There was no grading, no teacher checking recordings, no right or wrong; just hundreds of random sentences and a simple app to layer them. You needed to learn to hear the differences yourself and experiment until you no longer could. (fwiw this is not present in phrasing, I just found it relevant. One day soon I hope to add it!)
    • zdc114 hours ago
      I completely agree with this. There&#x27;s a certain confidence you get when you can hear a word you don&#x27;t know, but can still comprehend it well enough to know what pinyin to type into your dictionary app. Mandarin Blueprint has a nice pinyin pronunciation video on YouTube that I worked through a while ago, and then followed with a few weeks of immersion in Taiwan, I was able to really pick out what people were saying.<p>I feel like listening is the key to speaking. You don&#x27;t necessarily need to rote learn the tones for each word. You just need say words as you hear them spoken by others.
  • memalign15 hours ago
    I wish this had a pinyin mode…! I am learning to speak Mandarin but I am not learning to read&#x2F;write.<p>( I’m learning using a flashcards web app I made and continue to update with vocab I encounter or need: <a href="https:&#x2F;&#x2F;memalign.github.io&#x2F;m&#x2F;mandarin&#x2F;cards&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;memalign.github.io&#x2F;m&#x2F;mandarin&#x2F;cards&#x2F;index.html</a> )
    • data_ders15 hours ago
      same! but if you get it inevitably wrong the first time it gives you the pinyin. but i struggled to get it to transcribe the consonants I was making let alone the tones. i&#x27;m pretty sure i&#x27;m not as bad as that!
    • siwatanejo10 hours ago
      +1 for pinyin
  • zelphirkalt9 hours ago
    I think this is a good time for a shameless plug. The last 2 month or so I am working on my own project [1] for learning more characters. I have made a tool with powerful search function, training mode, and other useful features, such as displaying plots that show you your progress and whether you are reaching your daily training goal, and the ability to save searches, a la Thunderbird saved filters. It is written in Python and oldschool tkinter with custom widgets for a somewhat more modern and capable feel. It is very configurable. Though currently configuring it means touching a JSON file, as I have not yet bothered writing GUI for that.<p>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 &#x2F;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).<p>[1]: <a href="https:&#x2F;&#x2F;codeberg.org&#x2F;ZelphirKaltstahl&#x2F;xiaolong-dictionary" rel="nofollow">https:&#x2F;&#x2F;codeberg.org&#x2F;ZelphirKaltstahl&#x2F;xiaolong-dictionary</a>
    • peterburkimsher9 hours ago
      Good to see that there are others learning and creating! Another shameless plug for my translator site: <a href="https:&#x2F;&#x2F;pingtype.github.io" rel="nofollow">https:&#x2F;&#x2F;pingtype.github.io</a><p>It takes text, adds colours for tones, pinyin, literal, and parallel translations.<p>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.<p>The YouTube channel has some song lyrics, movie subtitles, and audio Bible that might help with learning.
      • zelphirkalt6 hours ago
        Also I just read some of your blog about learning Chinese :) Haha, I can totally relate to some of it. What I noticed is, that when I speak Mandarin with locals (on vacation, because I am not living there), they are always super happy, that I speak their language and they make an effort to speak it with me. This might be dependent on the region one is in. From your writing I would guess you might be in Taiwan or HK, and while I have been in HK, I have never been in Taiwan and I don&#x27;t know how people handle it there. I have mostly been in southern China and it&#x27;s always been great and an overwhelming amount of people were very friendly and welcoming. Of course living there and traveling there for a while are 2 different things and experience might differ. If you happen to visit Berlin, feel welcome to visit our Chinese language meetup (<a href="https:&#x2F;&#x2F;dragon-descendants.de&#x2F;en&#x2F;" rel="nofollow">https:&#x2F;&#x2F;dragon-descendants.de&#x2F;en&#x2F;</a>) and if you want you can ask for me, 小龙.
      • zelphirkalt6 hours ago
        Wow, the tool for decomposing characters is very cool! I assume you are talking about the thing that appears, when I click &quot;Matrix&quot;? I think it would be good to have &quot;decompose characters&quot; somewhere. But I might actually use this to get the component characters. In my app in my vocabulary file I also have tags for words, which are like &quot;component:&lt;component here&gt;&quot;, so that if one knows how parts of a character, one could also search for it, without knowing its pinyin, by searching for &quot;tags contain component1 and contain component2 and ...&quot;. I might add more component tags using your tool.<p>What I noticed though is, that some of the components don&#x27;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 &quot;二&quot;. 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: <a href="https:&#x2F;&#x2F;www.mdbg.net&#x2F;chinese&#x2F;dictionary?page=worddict&amp;wdrst=0&amp;wdqb=%E8%A1%A3%E6%9C%8D" rel="nofollow">https:&#x2F;&#x2F;www.mdbg.net&#x2F;chinese&#x2F;dictionary?page=worddict&amp;wdrst=...</a> (hover over 3 dots of character and click the button with the 字 and scissors to see decomposition) says:<p><pre><code> 服 = 月 + 𠬝 𠬝 = 卩 + 又 </code></pre> If you go further, wouldn&#x27;t you also have to decompose &quot;二&quot; into &quot;一&quot; and &quot;一&quot;?<p>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 &quot;二&quot; as well. I don&#x27;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: <a href="https:&#x2F;&#x2F;codeberg.org&#x2F;ZelphirKaltstahl&#x2F;language-learning&#x2F;src&#x2F;branch&#x2F;main&#x2F;chinese&#x2F;language-school.org#headline-11" rel="nofollow">https:&#x2F;&#x2F;codeberg.org&#x2F;ZelphirKaltstahl&#x2F;language-learning&#x2F;src&#x2F;...</a> &quot;All radicals from their website&quot;. Also useful for memorizing the characters, if one can derive a mnemonic for a character from its components and their meaning.<p>The advanced UI looks very complex, but I don&#x27;t mind that. In fact it is quite cool! Just has some stuff I don&#x27;t even know what it is about. I noticed, that once one toggles the advanced UI, I didn&#x27;t find a way to toggle it back to simple again.<p>Bookmarked!
  • rahimnathwani17 hours ago
    This is incredible. When I was first learning Chinese (casually, ~20 years ago), my teacher used some Windows software that drew a diagram of the shape of my pronunciation, so she could illustrate what I was getting wrong in some objective way.<p>The thing you&#x27;ve built is so good, and I would have loved to have it when I was learning Mandarin.<p>I tried it with a couple of sentences and it did a good job of identifying which tones were off.
    • yunusabd11 hours ago
      You&#x27;re probably thinking of Praat, which is still around. Even has the same UI as 20 years ago.
  • sgt4 hours ago
    How do you actually go about training specialized speech models? Let&#x27;s say you have a language dialect you want to specialize on, or a pidgin English from West Africa, or a regular language but with highly specialized terminologies being used.<p>Just curious - would you need insane HW infrastructure to begin with, or hosted&#x2F;managed. And what tooling is preferred by the industry for the &quot;training&quot;?
  • alexandermorgan3 hours ago
    I wish this were available for more languages! It would also be neat to estimate the native language of the speaker, given their pronunciation of the target language, and propose a prioritization of the pronunciation mistakes the language learner should work on first.
  • erdemo3 hours ago
    This thread is like a diamond to me because I have been thinking about building almost the same thing for English tones. I need a model like this.<p>I&#x27;m sure there are a bunch of apps out there that claim they do the same thing, but they don&#x27;t, IMO. Even if they do, as you said, where is the fun in that?<p>Great post, thanks for it!
  • affogarty17 hours ago
    This is extremely cool, although I asked my wife (who is Chinese) to try it out and it said she made some mistakes.
    • hawflakes14 hours ago
      I tried it out and it has some issues with my native speech. I grew up with more Taiwan mandarin but I know the Beijing standard and the recognizer was flagging some of my utterances incorrectly.
  • while_true_3 hours ago
    Suggestion: in addition to the microphone input, allow the user to upload an audio file.
  • namr20003 hours ago
    Wow, I was going to make something almost exactly like this! Really cool work and thank you for sharing
  • frozennothing14 hours ago
    This is really cool. Thank you for sharing. Before now I had not sought to understand how this technology works under the hood, but seeing it done at this scale made me curious to see if I could do something similar.
  • ChadNauseam16 hours ago
    This is amazing. I&#x27;m also working on free language learning tech. (I have some SOTA NLP models on huggingface and a free app.) I have some SOTA NLP models on huggingface and a free app. My most recent research is a list of every phrase [0].<p>Pronunciation correction is an insanely underdeveloped field. Hit me up via email&#x2F;twitter&#x2F;discord (my bio) if you&#x27;re interested in collabing.<p>[0]: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;anchpop&#x2F;acbfb6599ce8c273cc89c7d1bb363e93" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;anchpop&#x2F;acbfb6599ce8c273cc89c7d1bb36...</a>
  • stuxnet7915 hours ago
    How difficult would it be to adapt this to Cantonese? It is a surprisingly difficult language to learn. It has more tones than Mandarin plus comparatively less access to learning resources (in my experience)
    • inkyoto12 hours ago
      Unlike Mandarin and other Chinese languages, Cantonese does not have tone sandhi and has changed tones instead.<p>Cantonese tones are also different from those of Mandarin, so no, it can&#x27;t be adopted for Cantonese and it would require a complete rework.<p>&gt; It is a surprisingly difficult language to learn.<p>I keep hearing this quite a bit, but I do not find Cantonese to be any more difficult than most languages[0]. Or at least we would need to define a metric based on which we could assess the difficulty. If it is the number of tones, their number (six – no, not nine) may look formidable at first, but they are, in fact, rather simple tones and broadly fall into three categories: flat, rising, and falling. As a random example, Cantonese does not even have a dipping tone.<p>In comparison, «fancy» tones of Vietnamese are significantly more challenging or even difficult – they can curl and unfurl (so to speak).<p>[0] That crown appears to belong to Archi, with honourable mentions going out to Inuit, Basque, Georgian, Navajo, Yimas and several other polysynthetic languages.
      • hnfong11 hours ago
        Cantonese is &quot;hard&quot; mainly for two reasons-<p>1. tones, and generally the gatekeeping of some Cantonese communities towards people who haven&#x27;t gotten the tones completely right<p>2. the lack of learning materials relative to the number of speakers, the confusion between written Chinese and written Cantonese (and also the general lack of the latter)<p>As they say, &quot;a language is a dialect with an army and navy&quot;... I&#x27;ll leave it at that.
  • tomaytotomato8 hours ago
    Can the implementation used here for tone and pronounciation apply for Music?<p>It would be cool if a model could tell you if you are singing or playing a piece of music with the right intonation and other ways.
  • rablackburn15 hours ago
    &gt; And if there’s one thing we’ve learned over the last decade, it’s the bitter lesson: when you have enough data and compute, learned representations usually beat carefully hand-tuned systems.<p>There are still holdouts!<p>Come back to me in a couple of decades when the trove of humanity&#x27;s data has been pored over and drifted further out of sync with (verifiable) reality.<p>Hand-tuning is the only way to make progress when you&#x27;ve hit a domain&#x27;s limits. Go deep and have fun.
  • cocoa1914 hours ago
    Have you tried the Azure Speech Studio? I wonder how your custom model compares to this solution.<p>I played around with python scripts for the same purpose. The AI gives feedback that can be transformed to a percentage of correctness. One annoyance is that for Mandarin, the percentage is calculated at the character level, whereas with English, it gives you a more granular score at the phoneme level.
    • dirteater_13 hours ago
      IMO the SotA for this is <a href="https:&#x2F;&#x2F;www.speechsuper.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.speechsuper.com&#x2F;</a>. Amazon suffers for similar<p>&gt; One annoyance is that for Mandarin, the percentage is calculated at the character level, whereas with English, it gives you a more granular score at the phoneme level.<p>This is the case for most solutions you&#x27;d find for this task. Probably because of the 1 character -&gt; 1 syllable property. It&#x27;s pretty straightforward to split the detected pinyin into initial+final and build a score from that though.
  • redleader5510 hours ago
    This is a very cool to have! Thanks for putting the time to build it.<p>For me it doesn&#x27;t work very well. Even easy phrases like 他很忙 get transcribed completely random &quot;ma he yu&quot;. Is it maybe over-fitted to some type of voice?
  • arjie12 hours ago
    Very cool. As a super newbie who&#x27;s only made it to Pimsleur 15 and only for the speaking, it would be cool to have a pinyin text entry and so on. In the end, I just type into ChatGPT what I want and paste it in your box so it&#x27;s not a big deal.
  • kris_builds7 hours ago
    Super interesting project. Curious about the data collection - did you record yourself, use existing datasets, or both? I&#x27;ve been thinking about building something similar for Hebrew vowels (which are often omitted in writing). Would love to hear what the hardest part of the pipeline was.
  • SequoiaHope16 hours ago
    Amazingly I just did the same thing! Only with AISHELL. It needs work. I used the encoder from the Meta MMS model.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;sequoia-hope&#x2F;mandarin-practice" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sequoia-hope&#x2F;mandarin-practice</a>
  • JCharante11 hours ago
    Cool! I&#x27;m not great at Chinese but I have to speak slowly for it to recognize the tones&#x2F;words. I wonder how fast the training data is.
  • sim04ful11 hours ago
    I&#x27;m also working on a Chinese learning app (heyzima.com) and my &quot;solution&quot; to this was to use the TTS token&#x2F;word log probabilities.
  • olalonde13 hours ago
    It might be a mic issue but my wife, who is a native speaker, seems to get most characters wrong. I will try again later in a quieter place to see if that helps.
  • victorbjorklund7 hours ago
    Cool. Would love a write up about how you did it if you have time
    • kris_builds7 hours ago
      +1 on wanting a writeup. The model architecture choices alone would be interesting - did they use a transformer, CNN, or something hybrid? And how they handled the tone pair ambiguities... Would read that blog post for sure.
  • maximedupre6 hours ago
    This is sick... you can just do things :D
  • byb16 hours ago
    Neat. A personal tone trainer. Seriously, shut up and take my money now. Of course, it needs a vocabulary trainer, and zhuyin&#x2F;traditional character support.
  • eudamoniac2 hours ago
    How do you know that what it tells you is correct if you can&#x27;t hear it yourself?
  • baby15 hours ago
    For people trying to say the &quot;j&quot; sound correctly, as in &quot;jiu&quot; (old), just say &quot;dz&quot;, so in that example &quot;dziu&quot;
  • jrockway16 hours ago
    Interesting application! A friend of mine built a model like this to help her make her voice more feminine, and it is neat to see a similar use case here.
  • bytesandbits16 hours ago
    great work! I am going to try it out. Currently about to learn some Mandarin to be able to talk with hawker stand owners for a trip I am doing soon. I am trilingual and can speak a few languages on top of that, but none of them tonal. I am new to tonal languages and I find myself struggling with this... a lot!
    • anonzzzies16 hours ago
      goof luck! I speak 6 languages fluent but none of them tonal and I find mandarin very challenging; it does not help that people in places where you might need it are not very forgiving; asking for green fork in a tea shop has people very bewildered.
  • mentalgear11 hours ago
    Very cool ! Will you make the source available as well?
  • martianlantern12 hours ago
    Nice! I need something similar for english now
  • felixbecker12 hours ago
    What a brilliant project!
  • jellojello17 hours ago
    This is amazing, if you feel like opening an entire language to being learned more easily.. Farsi is a VERY overlooked language, my wife&#x2F;her family speak it but it&#x27;s so difficult finding great language lessons (it&#x27;s also called Persian&#x2F;Dari)
    • simedw17 hours ago
      Thank you.<p>I had a quick look at Farsi datasets, and there seem to be a few options. That said, written Farsi doesn’t include short vowels… so can you derive pronunciation from the text using rules?
      • kranner17 hours ago
        &gt; written Farsi doesn’t include short vowels… so can you derive pronunciation from the text using rules?<p>You can&#x27;t, but Farsi dictionaries list the missing short vowels&#x2F;diacritics&#x2F;&quot;eraab&quot; for every word.<p>For instance, see this entry: <a href="https:&#x2F;&#x2F;vajehyab.com&#x2F;dehkhoda&#x2F;%D8%AD%D8%B3%D8%A7%D8%A8?q=%D8%AD%D8%B3%D8%A7%D8%A8" rel="nofollow">https:&#x2F;&#x2F;vajehyab.com&#x2F;dehkhoda&#x2F;%D8%AD%D8%B3%D8%A7%D8%A8?q=%D8...</a><p>With the short vowel on the first letter it would be written حِساب (normally written as just حساب)<p>The dictionary entry linked shows that there is a ِ on the first letter ح<p>But you would have to disambiguate between homographs that differ only in the eraab.
    • peterburkimsher9 hours ago
      I made a parallel literal translator for Farsi:<p><a href="https:&#x2F;&#x2F;pingtype.github.io&#x2F;farsi.html" rel="nofollow">https:&#x2F;&#x2F;pingtype.github.io&#x2F;farsi.html</a><p>Paste in some parallel text (e.g. Bible verses, movie subtitles, song lyrics) and read what Farsi you can on the first line, looking to the lower lines for clues if you get stuck.<p>The core version of Pingtype is for traditional Chinese, but it supports a few other languages too.
  • nirvanatikku16 hours ago
    talk about 30 seconds to wow. great app, UX and demo. would love to use this. kudos.
  • contingencies8 hours ago
    Man, get a girlfriend.
  • cmuguythrow16 hours ago
    Awesome idea!
  • wenjian12 hours ago
    Chinese here, some of the tune is wrong, maybe the env here has some noise, good luck on learning mandarin ;)
  • dionian16 hours ago
    it heard wu2 but i heard wo2 from you fine. and it should sound like wo2 not wo3 if spoken quickly. not a native speaker though so i could be wrong
  • drekipus17 hours ago
    instantly awesome.<p>I suck at chinese but I want to get better and I&#x27;m too embarassed to try and talk with real people and practise.<p>This is a great compromise. even just practising for a few minutes I already feel way more confident based on its feedback, and I feel like I know more about the details of pronunciation.<p>I&#x27;m worried this might get too big and start sucking like everything else.
  • btrlsnqtn17 hours ago
    The article mentions the bitter lesson. I&#x27;m confused about the status of Sutton&#x27;s opinion of the bitter lesson. On the one hand, he invented the concept. On the other hand, he appears to be saying that LLMs are not the correct approach to artificial intelligence, which to a naive outsider looks like a contradiction. What gives?
    • allan_s12 hours ago
      Maybe he means that LLM will hit a ceiling glass or that the &quot;right&quot; approach will give equivalent with less training&#x2F;less intensive compute requirements ?
  • iamanllm15 hours ago
    holy crap, I was literally imaging how I wanted something exactly like this yesterday! you are a hero!
  • maximgeorge11 hours ago
    [dead]
  • genie3io4 hours ago
    [dead]
  • funkyfiddler36917 hours ago
    [flagged]