Skip to content

Commit

Permalink
fix(jukebox): Updating furigana highlight dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
blueset authored Sep 4, 2024
1 parent 68cc5b3 commit 2aa4216
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ function furiganaHighlight(
(base === "方" && (ruby === "ほう" || ruby === "かた")) ||
(base === "止" && (ruby === "と" || ruby === "や")) ||
(base === "間" && (ruby === "あいだ" || ruby === "ま")) ||
(base === "被" && (ruby === "かぶ" || ruby === "こうむ")) ||
(base === "後" &&
(ruby === "あと" || ruby === "のち" || ruby === "ご")) ||
(base === "金" && ruby === "きん") ||
Expand Down Expand Up @@ -123,7 +124,11 @@ function furiganaHighlight(
["物", "もつ"],
]) ||
matchContexualFurigana(base, ruby, groupings, [
["一", "かず"],
["一", "ほう"],
["歩", "ほ"],
]) ||
matchContexualFurigana(base, ruby, groupings, [
["一", "いち"],
["人", "と"],
])
) {
Expand Down

0 comments on commit 2aa4216

Please sign in to comment.