Skip to content

Commit

Permalink
Fixed more contractions using okina
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthysell committed Jun 24, 2024
1 parent c673736 commit a5cea7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/HawDict/Input/MamakaKaiaoInputDict.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ protected override string CleanSourceHtml(string s)
.Replace(".<i>", ". <i>").Replace(",<i>", ", <i>")
.Replace("&tilde;.", "&tilde;. ").Replace(".&tilde;", ". &tilde;")
.Replace("....", "&hellip;.").Replace("..", ".").Replace(".</i>.", ".</i>")
.Replace("&#699;s", "'s").Replace("n&#699;t", "n't")
.Replace("&#699;s", "'s").Replace("n&#699;t", "n't").Replace("I&#699;m", "I'm")
.Replace("</span>. Abbreviation for", ".</span> Abbreviation for").Replace("</span>. Abbreviation for", ".</span> Abbreviation for").Replace("</span>. Abbreviation for", ".</span> Abbreviation for")
;

Expand Down
3 changes: 2 additions & 1 deletion src/HawDict/Input/PukuiElbertInputDict.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ protected override string CleanSourceHtml(string s)
.Replace("<span lang=\"HAW\">pahele<span>nvt.</span> </span>", "<span lang=\"HAW\">pahele</span>").Replace("<p><span>1.</span> A snare, noose, trap;", "<p><span>1.</span> <span>nvt.</span> A snare, noose, trap;")
.Replace("sunlight. (PPN <span lang=\"HAW\">&#699;la&#699;aa</span>.)", "sunlight. (PPN <span lang=\"HAW\">la&#699;aa</span>.)")
.Replace("<span lang=\"HAW\">ho&#699;o.li&#699;o&#699;li&#699;o</span>", "<span lang=\"HAW\">ho&#699;o.li&#699;o.li&#699;o</span>")
.Replace("&#699;s", "'s").Replace("n&#699;t", "n't")
.Replace("&ldquo;k&#257;nalua.rd;", "&ldquo;k&#257;nalua.&rdquo;").Replace("kona &#699;doia&#699;i&#699;o</span>", "kona &#699;oia&#699;i&#699;o</span>")
.Replace("&#699;s", "'s").Replace("n&#699;t", "n't").Replace("I&#699;m", "I'm").Replace("you&#699;d", "you'd")
.Replace("P.M. </span>", "P.M.</span>").Replace("O.K. </span>", "O.K.</span>").Replace(". </span>", " </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 a5cea7b

Please sign in to comment.