From d032a639889af70ce978e3d1ffef41b73c244785 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Thu, 22 Apr 2021 18:16:21 +1000 Subject: [PATCH] templates: cyphar: minor readme updates Some of the configuration bits were not fully explained (or were wrong in the case of JaPitch). Signed-off-by: Aleksa Sarai --- .../README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/templates/Japanese Mined Sentences (cyphar)/README.md b/templates/Japanese Mined Sentences (cyphar)/README.md index 42ed526..1c23392 100644 --- a/templates/Japanese Mined Sentences (cyphar)/README.md +++ b/templates/Japanese Mined Sentences (cyphar)/README.md @@ -73,6 +73,13 @@ can add to it manually in the browser. ![yomichan settings](yomichan_settings.webp) +By using `{cloze-prefix}{cloze-body}{cloze-suffix}` for `SentKanji`, the +targeted word will be automatically highligted. If you prefer to do the +highlighting yourself (or don't want to highlight the target word on the card +front), use `{sentence}` instead. Note that Yomichan can be a bit peculiar when +deciding how much of a conjugated verb counts as "part" of the verb, so double +check that you're happy with the automatic highlighting. + ## Japanese Support settings If you use the [Japanese Support add-on][anki-jpn], make sure to modify @@ -118,7 +125,14 @@ word "Japanese" in its name, please add the note type name to `"noteTypes"`. As with the Japanese Support add-on, you need to add the right field to `srcFields`. However, because the JaPitch add-on writes to `VocabPitchPattern` you don't need to modify `dstFields`. And instead of adding `SentFurigana`, you -want to add `VocabFurigana`. +want to add `VocabKanji`. I also would set `regenerateReadings` to true because +JaPitch provides more information than Yomichan. + +Note that this can lead to extra readings being generated, and you cannot +currently force it to only use the correct reading by setting the source field +to `VocabFurigana` (doing so will lead to an entirely wrong reading to be +generated because it treats the furigana as a separate word, breaking up the +expression into multple parts). Your final config should look something like this: @@ -137,7 +151,7 @@ Your final config should look something like this: "srcFields": [ "Expression", "Kanji", - "VocabFurigana" + "VocabKanji" ], "styles": { "ꜜ": "ꜜ",