Re: No Hunspell add-on for the Mac M1

Hussein Shafie <[email protected]> Sun, 28 Nov 2021 10:24:28 +0100
Newsgroups gmane.editors.xxe.general
Message-ID <[email protected]>
Leif H S wrote:
> 
> For the XXE v10, the Hunspell add-on is unavailable, because the 
> release note says that Hunspell cannot be supported on the Apple M1 
> platform (I use such a Mac).
> 
> But despite the lacking Hunspell add-on, the information text for the 
> XMLmind Spell Checker recommends installing the Hunspell add-on, if the 
> XMLmind Spell Checker somehow doesn't do the job.

This statement is still correct.



> 
> Two comments: (1) Perhaps the XXE spell checker add-on should inform that 
> the Hunspell checker does not work on the M1 platform? 

This is already the case. Excerpts from XXE v10's 
"hunspell_spellchecker.xxe_addon":

---
Restrictions

Unlike XMLmind Spell Checker which is a 100% Java™ software component, 
the "Hunspell Spell Checker" add-on leverages native libraries (e.g. 
hunspell.dll).

In practice, this means that this add-on only runs on Windows Intel™ 
32-bit and 64-bit, macOS Intel™ 32-bit and 64-bit, Linux Intel™ 32-bit 
and 64-bit. In other words, you cannot use this add-on on any platform 
supporting Java™ 1.8+. Unfortunately, this limitation also applies to 
the recent macOS/ARM platform
---



Moreover, we made changes to the XXE add-on manager to make it take the 
macOS/ARM platform into account.

Unless we made a bug, the "Hunspell Spell Checker" will not be found in 
the list of available add-ons when you'll use "Options|Install Add-ons" 
on a Mac having an M1 processor.

This is possible because "hunspell_spellchecker.xxe_addon" contains:
---
   <a:platforms>
     <a:windows></a:windows>
     <a:macIntel></a:macIntel>
     <a:linux></a:linux>
   </a:platforms>
---




> (2) I really hope 
> it becomes simpler to create dictionaries for the XXE spell checker ...
> 

Creating dictionaries for the XMLmind Spell Checker is not deemed 
difficult once you have access to an extensive word list for a given 
language.

See http://www.xmlmind.com/xmleditor/_dictbuilder/doc/index.html

See Dictionary section in 
http://www.xmlmind.com/xmleditor/_usercontrib/index.shtml

XMLmind Spell Checker, a 100% Java class library,  suggestions are spot 
on for the English and French languages, the only languages I write in. 
Slightly better than Hunspell's in my opinion.

The problem with XMLmind Spell Checker is that, by design, its engine is 
not powerful enough to cope with languages like Hungarian, German, 
Turkish, etc. Hunspell, which was initially developed by László Németh, 
a talented Hungarian developer, has no such problem.

See https://en.wikipedia.org/wiki/Hunspell


--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support