-
Notifications
You must be signed in to change notification settings - Fork 570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: kanji support #132
Comments
It should be doable - there's a Japanese dataset using the same format in https://raw.githubusercontent.com/parsimonhi/animCJK/master/graphicsJa.txt, just need to process it and get it into a CDN |
I put a repo up with Japanese data from animCJK here: https://github.com/chanind/hanzi-writer-data-jp. You can use this in Hanzi Writer via a custom
This Japanese data is limited compared to the Chinese currently due to:
I'll work on tidying this up before making an official release in HanziWriter adding first-class support for this data. I also want to double-check with animCJK that using the data this way is alright. This is also discussed in chanind/hanzi-writer-data#2 |
You are amazing man :)
…On Tue, Aug 13, 2019 at 8:14 AM chanind ***@***.***> wrote:
I put a repo up with Japanese data from animCJK
<https://github.com/parsimonhi/animCJK> here:
https://github.com/chanind/hanzi-writer-data-jp. You can use this in
Hanzi Writer via a custom charDataLoader function, like below:
HanziWriter.create('target-div', '私', {
width: 400,
height: 400,
charDataLoader: (char, onLoad, onError) => {
***@***.***/${char}.json` ***@***.***/$%7Bchar%7D.json>)
.then(res => res.json())
.then(onLoad)
.catch(onError);
}
})
This Japanese data is limited compared to the Chinese currently due to:
- The data does not support radicals yet
- The data does not have capped strokes, so there are sharp edges
where strokes intersect
I'll work on tidying this up before making an official release in
HanziWriter adding first-class support for this data. I also want to
double-check with animCJK that using the data this way is alright.
This is also discussed in chanind/hanzi-writer-data#2
<chanind/hanzi-writer-data#2>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#132?email_source=notifications&email_token=AMNG7RT5O52PIXPQV235CQLQEHOE3A5CNFSM4IJEXRD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4D7LDA#issuecomment-520615308>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMNG7RWCUWHOJBK4DDEKDYTQEHOE3ANCNFSM4IJEXRDQ>
.
|
is there any update on this? I'd like to use it for the Anki cards for Japanese. For now we use the Hanzi, but every now and then the character is different. |
Is it possible that this will ever include Japanese characters?
The text was updated successfully, but these errors were encountered: