From: Michael B. <fi...@ak...> - 2018-03-04 04:22:28
|
Hiya I'm trying to help a Ju|'hoan literacy project with building a spell checker but we've run into a problem with the click symbols: ǀ ǁ ǂ ǃ Because these are not on any physical keyboard, people often use workarounds such as // for ǁ or = for ǂ. I'd asked Ruud about this some time ago and he suggested using OCONV as Hunspell for Dutch does. So in the .aff we've added (I've uploaded the test oxt here https://1drv.ms/u/s!As4CJ_WG25zTgSTh2Lz2y3nDRvj8 ) OCONV 7 OCONV ! ǃ OCONV = ǂ OCONV ≠ ǂ OCONV | ǀ OCONV / ǀ OCONV || ǁ OCONV // ǁ REP 7 REP ! ǃ REP = ǂ REP ≠ ǂ REP | ǀ REP / ǀ REP || ǁ REP // ǁ But the problem seem to be that the "workaround characters" are not seen as part of the word. So for instance, if I type !Aotcha using a normal exclamation mark, I get a red line (in LO) under Aotcha but not the !. It does manage to match this to ǃAotcha but if I select that, I end up with !ǃAotcha presumably because the exclamation mark is just "seen" as oddly placed punctuation and ignored by Hunspell. Is there something we're doing wrong or not doing or is this simply not possible with Hunspell? Cheers Michael |