wildjcrt: 通常是先建 n-gram model 然後用 homophone dictionary (音似,但也可以形似)。後者可以用詞典,但前者最好是有平衡語料。 LibreOffice 的實作見 <https://github.com/languagetool-org/languagetool/tree/master/languagetool-standalone>