diff --git a/src/HawDict/Input/PukuiElbertInputDict.cs b/src/HawDict/Input/PukuiElbertInputDict.cs index caf56b5..62cad72 100644 --- a/src/HawDict/Input/PukuiElbertInputDict.cs +++ b/src/HawDict/Input/PukuiElbertInputDict.cs @@ -35,6 +35,8 @@ public PukuiElbertInputDict(TranslationType translationType, LogLine logLine) : protected override string CleanSourceHtml(string s) { + // Remove header comments + s = Regex.Replace(s, "

In causative/simulative forms beginning with.*\n", ""); return s .Replace("

 

\n
", "") .Replace("

 

\n

 

\n
", "") @@ -90,6 +92,60 @@ protected override string CleanSourceHtml(string s) .Replace("ʻʻaʻole", "ʻaʻole") .Replace("kólomoku", "kolomoku") .Replace("(Spanish, españnol.)", "(Spanish, español.)") + .Replace("kuʻhikeʻe", "kuhikeʻe") + .Replace(">ʻWai-piʻo is drowsy", ">Wai-piʻo is drowsy") + .Replace(">ʻElimʻa keneka", ">ʻElima keneka") + .Replace(">lāʻau ʻpili", ">lāʻau pili") + .Replace(">ʻhio", ">hio") + .Replace("(splitting);", "(splitting); ") + .Replace("hʻolimalima", "hoʻolimalima") + .Replace("hors dʻoeuvre", "hors d'oeuvre") + .Replace(">laho ʻpōkaʻokaʻo", ">laho pōkaʻokaʻo") + .Replace(">ʻwai lohia", ">wai lohia") + .Replace("jack-oʻ-lantern", "jack-o'-lantern") + .Replace(">koʻokoʻoʻ", ">koʻokoʻo") + .Replace(">ʻhaliʻa", ">haliʻa") + .Replace(">kāʻiʻ_", ">kāʻiʻī") + .Replace(">kʻu (of sweet potato)", ">kiʻu (of sweet potato)") + .Replace(">ʻAutedʻe", ">ʻAuheʻe") + .Replace(">ʻkūkini", ">kūkini") + .Replace(">koloau; hoʻhelei", ">koloau; hoʻohelei") + .Replace(">kīʻoʻki;", ">kīʻoki;") + .Replace(">hēʻiʻ_", ">hēʻiī") + .Replace(">Noho pokakakʻa", ">Noho pokakaʻa") + .Replace(">ʻāʻkena kā.lepa kaʻa.hele ", ">ʻā.kena kā.lepa kaʻa.hele ") + .Replace(">haʻaʻwina hoʻo.hano.hano ", ">haʻa.wina hoʻo.hano.hano ") + .Replace(">hao hoʻ.paʻa lima ", ">hao hoʻo.paʻa lima ") + .Replace(">hō.ʻali,ʻali ", ">hō.ʻali.ʻali ") + .Replace(">Niʻhau", ">Niʻihau") + .Replace(">ʻiu,ʻiu ", ">ʻiu.ʻiu ") + .Replace(">ʻiwa,ʻiwa ", ">ʻiwa.ʻiwa ") + .Replace("kahi puʻuʻ pele", "kahi puʻu pele") + .Replace(">hʻo.kakale", ">hoʻo.kakale") + .Replace(">hoʻFo.kana.haʻu", ">hoʻo.kana.haʻu") + .Replace(">kukua,ʻau ", ">kukua.ʻau ") + .Replace(">pūaʻ_ pipi", ">pūʻā pipi") + .Replace(">ʻUlu-pala-kua, ʻMaui", ">ʻUlu-pala-kua, Maui") + .Replace(">ʻKa lau luhea", ">Ka lau luhea") + .Replace(">hoʻ.mā.hū", ">hoʻo.mā.hū") + .Replace(">ma._ʻī.ʻī ", ">mā.ʻī.ʻī ") + .Replace(">ʻiʻwi haole", ">ʻiʻiwi haole") + .Replace(">ʻhoʻo.mā.ʻona", ">hoʻo.mā.ʻona") + .Replace(">Puʻuʻ ka nuku", ">Puʻu ka nuku") + .Replace(">ʻoama,ʻowama ", ">ʻoama, ʻowama ") + .Replace(">kāʻhili", ">kāhili") + .Replace(">ʻō,ʻū-holo-wai ", ">ʻō.ʻū-holo-wai ") + .Replace("PPN paʻaʻ", "PPN paʻa") + .Replace(">pā,ʻihi.ʻihi ", ">pā.ʻihi.ʻihi ") + .Replace(">paʻuʻpaʻu ", ">paʻu.paʻu ") + .Replace(">pāʻ.wehe pū.pū ", ">pā.wehe pū.pū ") + .Replace(">bʻrith", ">b'rith") + .Replace(">nani Waiʻ-aleʻale", ">nani Wai-ʻaleʻale") + .Replace(">Ua ʻpoʻipū", ">Ua poʻipū") + .Replace(">Pōlena pʻaa", ">Pōlena paʻa") + .Replace(">puaʻkiʻo", ">puʻa kiʻo") + .Replace(">puʻuʻ.puʻu lā.ʻau ", ">puʻu.puʻu lā.ʻau ") + .Replace(">uē (uwē)ʻala.lā ", ">uē (uwē) ʻala.lā ") // Missing definition number fixes .Replace("

n. Name of a large valley on", "

1. n. Name of a large valley on") ;