Live data from Hacker News

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

kanjivg.tagaini.net

21–30 of 72 posts

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

#21

This looks very much like Make Me A Hanzi (MMAH), which is exactly the same (Chinese) characters. It's just that Japanese knows those as Kanji. https://github.com/skishore/makemeahanzi

(Caveat: there are a handful of cases where the Chinese and Japanese stroke orders differ, so take care treating these as equivalent.)

This. Traditional Chinese and Japanese are two seemingly similar but distinctly different things (the latter is forked from the former).

Simplified Chinese is a whole different beast of corruption that is a fork of Traditional Chinese but otherwise not similar to either.

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

#22

This looks very much like Make Me A Hanzi (MMAH), which is exactly the same (Chinese) characters. It's just that Japanese knows those as Kanji. https://github.com/skishore/makemeahanzi

Definitely not exactly the same. Kanji and Hanzi are two different character sets - they overlap a lot, but each has common everyday characters that aren't in the other, and sometimes the "same" character is in both sets but written differently in various languages (e.g. 骨).

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

#23
post #3

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

Given a large enough corpus of spoken lines, could you do some ML magic to get the pitch accents (maybe even just FFT and a simple classifier would do)? I'm aware that the "base" pitch accent does change in context so it's not quite trivial, but it seems like you could get pretty close? Edit: Found https://mizoru.github.io/blog/2021/12/25/Japanese-pitch.html

It predates modern ML, but that's what Suzuki-kun does:

https://www.gavo.t.u-tokyo.ac.jp/ojad/

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

#24

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 seems like most people use the NHK pitch accent dictionary (there are TSVs of it online). I don't feel like it's particularly "pirated" though, can you really pirate the way people actually pronounce words?

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

#25
post #23
post #3

Earlier quoted context omitted.

Given a large enough corpus of spoken lines, could you do some ML magic to get the pitch accents (maybe even just FFT and a simple classifier would do)? I'm aware that the "base" pitch accent does change in context so it's not quite trivial, but it seems like you could get pretty close? Edit: Found https://mizoru.github.io/blog/2021/12/25/Japanese-pitch.html

It predates modern ML, but that's what Suzuki-kun does: https://www.gavo.t.u-tokyo.ac.jp/ojad/

I don't think Suzuki-kun was trained on voice data, they trained a classifier on an annotated text corpus. And getting access to such a corpus is probably much harder than finding voice samples.

https://research.ibm.com/publications/accent-sandhi-estimati...

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

#27

Why does stroke order matter? Is it to handle animating them and if each stroke isn’t the same colour? Sorry but I don’t know much about these kinds of characters.

Because when you handwriting, the stroke order is very important.

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

#28

I used this in my Anki deck for John Heisig's Remembering the Kanji. The stroke ordering was helpful and it was animated with CSS. It's been a while, so I can't remember who to give credit to for the RTK deck or the CSS animations. I also built a little tool that would expand out the Kanji character into its constituent radicals and Heisig primitives so I could at them to my study code. At that time, I was reading NH…

I also used this with anki, but i wanted some interactivity and practice actually physically writing stuff out combined with spaced rep.

Resulted in some pretty gnarly code using kanjivg, pygame and ankiconnect: https://github.com/eshrh/anki-kunren

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

#30

Why does stroke order matter? Is it to handle animating them and if each stroke isn’t the same colour? Sorry but I don’t know much about these kinds of characters.

Because when you handwriting, the stroke order is very important.

Very important due to, tradition?
Post reply on HN