Live data from Hacker News

KanjiVG – SVGs of Kanji character strokes including order, shape and direction

kanjivg.tagaini.net

61–70 of 72 posts

Re: KanjiVG – SVGs of Kanji character strokes including order, shape and direction

#61

Earlier quoted context omitted.

Kanji were also simplified but not necessarily the same way as simplified Chinese. Simplified Chinese also sometimes uses 'old' characters. So sometimes modern Japanese is actually similar to simplified Chinese, sometimes it is similar to traditional Chinese, and sometimes it is unique. There is no simple 'fork'. For instance, 円 (yen) is simplified Japanese and uniquely Japanese. It used to be same as traditional Chi…

To further complicate things, there are the 'kokuji" - characters that were invented in Japan, used only in Japan, and only have Japanese pronunciations - yet are still considered kanji ("Chinese characters)". Examples: 働 "work" 峠 "mountain pass" https://en.wikipedia.org/wiki/Kanji#Kokuji

働 exists in Chinese too, meaning "labor" 峠 does not exist in Chinese although many Chinese dictionaries (most notably the CC-CEDICT) include it

Re: KanjiVG – SVGs of Kanji character strokes including order, shape and direction

#62

Earlier quoted context omitted.

Kanji were also simplified but not necessarily the same way as simplified Chinese. Simplified Chinese also sometimes uses 'old' characters. So sometimes modern Japanese is actually similar to simplified Chinese, sometimes it is similar to traditional Chinese, and sometimes it is unique. There is no simple 'fork'. For instance, 円 (yen) is simplified Japanese and uniquely Japanese. It used to be same as traditional Chi…

To further complicate things, there are the 'kokuji" - characters that were invented in Japan, used only in Japan, and only have Japanese pronunciations - yet are still considered kanji ("Chinese characters)". Examples: 働 "work" 峠 "mountain pass" https://en.wikipedia.org/wiki/Kanji#Kokuji

I think 'kanji' should be interpreted at large. This is the Chinese writing system and inventing new characters (which happens everywhere this writing system is used) add to the whole corpus of kanji/hanzi even if some are invented or used in specific countries.

峠 has a mandarin pronunciation apparently: https://baike.baidu.com/item/%E5%B3%A0/4336929

Re: KanjiVG – SVGs of Kanji character strokes including order, shape and direction

#63
post #60

Earlier quoted context omitted.

To further complicate things, there are the 'kokuji" - characters that were invented in Japan, used only in Japan, and only have Japanese pronunciations - yet are still considered kanji ("Chinese characters)". Examples: 働 "work" 峠 "mountain pass" https://en.wikipedia.org/wiki/Kanji#Kokuji

>峠 "mountain pass" Incidentially, the backstory behind that kanji is hilarious. The kanji is composed of the kanjis for "mountain" on the left side, and "up" and "down" on the upper right and lower right sides respectively. You know what a mountain pass does? Go up and down a mountain.

This is how a lot of kanji are formed. For example 町 (town) is 田 (rice paddy) + 丁 (street). I guess at some point in language formation a lot of towns were primarily collections of rice paddies.

Re: KanjiVG – SVGs of Kanji character strokes including order, shape and direction

#65

I looked around and couldn't find any examples or demo of the SVGs on the website. This is the epitome of a project that would benefit from a visual representation.

[dead]

To ameliorate this problem, I've moved the "Viewer" link to immediately underneath the "Home" on the left side menu on the latest version of the website.

Re: KanjiVG – SVGs of Kanji character strokes including order, shape and direction

#66

KanjiVG is awesome. I used it for a free kanji app I made for iOS and Android. Figuring out how to write an SVG parser + renderer wasn't as tricky as I thought when I set out to do it. https://www.bjmalicoat.com/projects/kanjibook

Very nice. I might even get a sticker :) One thing that IMO is missing is the audio playback option for readings. This would've greatly facilitated remembering readings. AWS Polly is very easy to integrate with and it costs next to nothing. /nudge /nudge.

Great suggestion. I couldn't find an audio source I liked. I'll take a look, thanks.

Re: KanjiVG – SVGs of Kanji character strokes including order, shape and direction

#67

KanjiVG is awesome. I used it for a free kanji app I made for iOS and Android. Figuring out how to write an SVG parser + renderer wasn't as tricky as I thought when I set out to do it. https://www.bjmalicoat.com/projects/kanjibook

[dead]

Done! Thanks for letting me know, I totally missed that section.

Re: KanjiVG – SVGs of Kanji character strokes including order, shape and direction

#68

Earlier quoted context omitted.

Unicode had a builtin language tagging system to resolve glyph variants. Han unification was implemented with this in mind. Then the tagging got deprecated in a later version.

The more I learn about unicode, the more it looks like Bad Ideas: The Standard to me. The only good part of it is the UTF-8 encoding and that was just Thompson and Pike sitting down and thinking about the problem for an hour.

UTF-8 is just a simplified improvement on another variable encoding. They didn't conjure it from nothing.

Re: KanjiVG – SVGs of Kanji character strokes including order, shape and direction

#69

Earlier quoted context omitted.

Very nice. I might even get a sticker :) One thing that IMO is missing is the audio playback option for readings. This would've greatly facilitated remembering readings. AWS Polly is very easy to integrate with and it costs next to nothing. /nudge /nudge.

Great suggestion. I couldn't find an audio source I liked. I'll take a look, thanks.

On Polly "Takumi/neural" voice is the best option.

Re: KanjiVG – SVGs of Kanji character strokes including order, shape and direction

#70

It’s too bad the pitch data out there for Japanese is either proprietary or pirated without attribution Another resource: https://github.com/CaptainDario/DaKanji-Single-Kanji-Recogni... someone made an interesting kanji recognition lib that hasn’t gotten attention

> It’s too bad the pitch data out there for Japanese is either proprietary or pirated without attribution I have serious doubts whether this kind of data is even copyrightable, as long as you're not redistributing it verbatim. A specific selection of words with pitch data (e.g. the NKH pitch dictionary) might be copyrightable as there was creative expression involved in picking which exact words to put into the dicti…

I see apps pay to license data from https://www.cjk.org for pitch accent data. I don't know what their data looks like though. Maybe you're right and their business case for this data is essentially a scam, or there is non-factual copyrightable data, or the law is different in Japan, I don't know.
Post reply on HN