As many have pointed here Mandarin, Thai, Cantonese and Vietnam are tonal languages and the meaning of words are depending on how you speak the syllables inside the words. Mandarin has four, Thai has five, Cantonese has six and Vitnamese has six tones. Overall about 20% or 1.5 billion of the world's population converse daily in tonal languages. It will be very helpful if someone come up with automatic tonal detection…
The annnoying part in written thai is thattherearenospacesbetweenwords.
Cantonese Font with Pronunciation
21–30 of 206 posts
Re: Cantonese Font with Pronunciation
#22As many have pointed here Mandarin, Thai, Cantonese and Vietnam are tonal languages and the meaning of words are depending on how you speak the syllables inside the words. Mandarin has four, Thai has five, Cantonese has six and Vitnamese has six tones. Overall about 20% or 1.5 billion of the world's population converse daily in tonal languages. It will be very helpful if someone come up with automatic tonal detection…
Isn't true that Cantonese has 9 tones?
So: some words end in a stop, which is sometimes counted as a different tone even though the pitch pattern isn't different. For example, consider fan versus fat.
Re: Cantonese Font with Pronunciation
#23As many have pointed here Mandarin, Thai, Cantonese and Vietnam are tonal languages and the meaning of words are depending on how you speak the syllables inside the words. Mandarin has four, Thai has five, Cantonese has six and Vitnamese has six tones. Overall about 20% or 1.5 billion of the world's population converse daily in tonal languages. It will be very helpful if someone come up with automatic tonal detection…
Isn't true that Cantonese has 9 tones?
I have an old Quora answer here that goes into more detail: https://qr.ae/pyNupi
Re: Cantonese Font with Pronunciation
#24As many have pointed here Mandarin, Thai, Cantonese and Vietnam are tonal languages and the meaning of words are depending on how you speak the syllables inside the words. Mandarin has four, Thai has five, Cantonese has six and Vitnamese has six tones. Overall about 20% or 1.5 billion of the world's population converse daily in tonal languages. It will be very helpful if someone come up with automatic tonal detection…
The annnoying part in written thai is thattherearenospacesbetweenwords.
Re: Cantonese Font with Pronunciation
#25Earlier quoted context omitted.
The annnoying part in written thai is thattherearenospacesbetweenwords.
Spaces between words is a relatively recent Irish invention (7th or 8th century) in western written language, so it’s not like it’s an obvious thing to have.
Re: Cantonese Font with Pronunciation
#26Earlier quoted context omitted.
Perhaps they use the same technology as ligatures? There could be a glyph for the standalone character, but also special glyphs for certain combos? The page says they do handle variations: Pronunciation in the Cantonese Font adapts to the context. Based on what comes before or after, the Jyutping romanization changes to the right one. The magic behind this is a careful curation from 100,000 contexts where the pronunc…
I've seen ligatures (or whatever the underlying feature is in font formats) used for some wild stuff, but this takes the cake. They're effectively encoding a small amount of natural language processing in a font. Setting aside for a minute the question of whether you _should_, I wonder how far you can take this? I.e. what limits are there on how much context you can take into account, etc.?
Re: Cantonese Font with Pronunciation
#27Earlier quoted context omitted.
Mandarin absolutely does: * 行: xíng or háng * 的: de or dì * 长: cháng or zhǎng (plus I'm sure many more that I can't think of just right now)
Did it get more numerous with the adoption of simplified characters?
Re: Cantonese Font with Pronunciation
#28A friend of mine noticed the website thumbnail image is FizzBuzz but in classical Chinese.
It was previously featured on HN here: https://news.ycombinator.com/item?id=22213406
[1] https://visual-fonts.com/#jp-carousel-1092 [2] https://wy-lang.org/
Re: Cantonese Font with Pronunciation
#29Something's not clear here to me, how does this handle words with multiple pronounciations using a font alone?
e.g., Hann-Tzong Wang's (王漢宗) free font collection[1] includes two typefaces with phonetic pronunciation guidance. These are wp{0..3}10-05.ttf and wp{0..3}10-08.ttf [2] As you can see from the filenames, there are actually four different font files for each of these two typefaces. The font files numbered {1..3} are for 「破音字」, characters with alternate pronunciation.
When a user types a word like 「給予」 (ㄐ一ˇㄩˇ/jǐ yǔ) for which there is an alternate, less-common pronunciation (ㄐ一ˇ/jǐ instead of ㄍㄟˇ/gěi for 給) they simply change the font for just the affected character to the variant with the correct pronunciation.
In the case of this Cantonese Font, the authors distribute a single .ttf (alongside a “phrasebook” .ttf whose purpose is not clear to me) and indicate in the Roadmap section of the website that ligature support must be enabled. If alternate pronunciations are common in Cantonese, then I suspect that they must use some ligature-based method. I would have to imagine there must be cases where this could be ambiguous, but I don't know how you would resolve those.
(In practice, just swapping the font on a single character works fairly well.)
[1] https://code.google.com/archive/p/wangfonts/
[2] https://dywang.csie.cyut.edu.tw/dywang/download/pdf/sample-o...
Re: Cantonese Font with Pronunciation
#30Earlier quoted context omitted.
The annnoying part in written thai is thattherearenospacesbetweenwords.
Same with Chinese language, thus lexing and parsing requires knowing many more words than in languages with spaces between words.
Since each character represents a syllable, rather than a specific sound, and the written language is essentially not phonetic, reading the characters is an entirely different experience.
OTOH, you have English and German and others that frequently use compound words, and the use of spaces becomes really important to understanding the writing.
I have zero experience with Thai.