Skip to content

Commit

Permalink
Fix non-macron accented characters
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthysell committed Jun 26, 2024
1 parent 13c7aaf commit 1496d92
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/HawDict/Input/MamakaKaiaoInputDict.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ protected override string CleanSourceHtml(string s)
.Replace("Pa&#699;i<i>(preceded by</i> ke)", "Pa&#699;i (<i>preceded by</i> ke)")
.Replace("iho.</i> Backslash ().", "iho.</i> Backslash (\\).")
.Replace("backslash</span> <i>In printing ().</i>", "backslash</span> <i>In printing (\\).</i>")
.Replace("&tilde; jar.</i> &#699;&#300;mole pepehi", "&tilde; jar.</i> &#699;&#332;mole pepehi")
.Replace("curriculum vitae, r&#233;sum&#233;</i>.Mo&#699;om&#333;&#699;ali.", "curriculum vitae, r&#233;sum&#233;</i>. Mo&#699;om&#333;&#699;ali.")
;

string[] split = s.Split('\n');
Expand Down
1 change: 1 addition & 0 deletions src/HawDict/Input/PlaceNamesInputDict.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ protected override string CleanSourceHtml(string s)
.Replace("Peak(2", "Peak (2")
.Replace("daintily(a poetic", "daintily (a poetic")
.Replace("Smith( 1802-1891)", "Smith (1802-1891)")
.Replace("McAll&#237;ster", "McAllister")
;

return s;
Expand Down
2 changes: 2 additions & 0 deletions src/HawDict/Input/PukuiElbertInputDict.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ protected override string CleanSourceHtml(string s)
.Replace("kani</span>(bell).", "kani</span> (bell).")
.Replace("ilo</span>(young)", "ilo</span> (young)")
.Replace("<span lang=\"HAW\">&#699;&#699;a&#699;ole", "<span lang=\"HAW\">&#699;a&#699;ole")
.Replace("<span lang=\"HAW\">k&#243;lomoku</span>", "<span lang=\"HAW\">kolomoku</span>")
.Replace("(Spanish, <span lang=\"SPA\">espa&ntilde;nol</span>.)", "(Spanish, <span lang=\"SPA\">espa&ntilde;ol</span>.)")
// Missing definition number fixes
.Replace("<p><span>n.</span> Name of a large valley on", "<p>1. <span>n.</span> Name of a large valley on")
;
Expand Down

0 comments on commit 1496d92

Please sign in to comment.