rampaa / JL

JL is a program for looking up Japanese words and expressions.
Apache License 2.0
198 stars 4 forks source link

Pitch Accent to Anki #72

Closed NeonGooRoo closed 8 months ago

NeonGooRoo commented 11 months ago

Am I missing something or is there no way to insert pitch accent into anki cards? Would be a very nice feature, the only thing that I miss from Yomichan

rampaa commented 11 months ago

What would you expect a possible Pitch Accent field to return for the following entry?

image

a) [3], [0], [1] b) おんな: [3], おみな: [0], おうな: [1] c) おんなꜜ, おみな, おꜜうな d) LHHꜜ, LHH, HꜜLL e) おんな: LHHꜜ, おみな: LHH, おうな: HꜜLL f) Some sort of SVG? g) Something else entirely?

NeonGooRoo commented 11 months ago

Personally, I find visual indications the most helpful, so something like an SVG is the best option. The default Yomichan option is very nice (I think that's what it is). The way it's made in JL already with the blue accent or on JPDB is also good. Numbers or Letters aren't very intuitive for most users, I think. (me included) I know some people prefer numbers so that would be a good option, but most people I think would enjoy visual information

rampaa commented 8 months ago

Done. The new Pitch Accent field creates an HTML like the following: image

NeonGooRoo commented 8 months ago

you are king