>> If so, we will consider upgrading as the spell check functionality is
>> required for our custom editor.
>I don't understand. XXE always had a good spell-checker. Simply v5.4.1 now
>gives you the choice between two spell-checker engines: XMLmind Spell Checker
>and Hunspell.
Well what we've done is created the editor from scratch, embedding it in our
IDE without any spell checker functionality. In order to activate the
auto-spell checker, it creates a new private spell checker with empty
dictionaries in the dictionary manager. Since I can't see the source or
documentation for the spell checker, I'm having trouble getting this to work.
The error I get is:
AutoSpellChecker cannot be activated for
'file:/C:/work/testdoc/meta/books/aaa.bookmap': cannot create a SpellChecker:
no dictionaries at all?
The exception gets thrown at SpellCheckerFactory::doCreateSpellChecker()
DictionaryManagerItem[] items = spellChecker.listLanguages();
if (items.length == 0)
throw new SpellException("no dictionaries");
>> Is it possible to specify a dictionary located inside a JAR?
>You mean: inside a jar containing files other than dictionary files.
Yes. All supporting XXE files are packaged inside a JAR file. I'm hoping to put
the dictionary file in there as well but I can't see the source to know if this
is actually possible (or modify it).
-----Original Message-----
From: Hussein Shafie [mailto:[email protected]]
Sent: November-12-12 1:07 PM
To: Wasiq Shaikh
Cc: '[email protected]'
Subject: Re: [XXE] SpellCheck Source Code?
On 11/12/2012 06:21 PM, Wasiq Shaikh wrote:
> I see. Is version 5.4.1 source compatible with JDK 1.6?
Yes.
> If so, we will consider upgrading as the spell check functionality is
> required for our custom editor.
>
I don't understand. XXE always had a good spell-checker. Simply v5.4.1 now
gives you the choice between two spell-checker engines: XMLmind Spell Checker
and Hunspell.
We have added support for Hunspell in order to cope with:
1) Hard to spell languages (e.g. hu).
2) Missing XMLmind Spell Checker dictionaries (e.g. nl).
> On a related note:
>
> Is it possible to specify a dictionary located inside a JAR?
You mean: inside a jar containing files other than dictionary files.
* For Hunspell, the answer is: definitely no.
* For XMLmind Spell Checker, the answer is: in theory, yes. However, I've never
tested this. FYI, XMLmind Spell Checker dictionaries are .dar files. A .dar is
simply a Java Jar file with a .dar suffix. More information here:
http://www.xmlmind.com/dictbuilder.shtml
>
> -----Original Message-----
> From: Hussein Shafie [mailto:[email protected]]
> Sent: November-09-12 1:17 PM
> To: Wasiq Shaikh
> Cc: '[email protected]'
> Subject: Re: [XXE] SpellCheck Source Code?
>
> On 11/09/2012 07:02 PM, Wasiq Shaikh wrote:
>> Hi! I'm from NexJ Systems and we currently have the developer license.
>> I'm currently using 4.9.1 and would like to know where I can find the
>> source code to packages com.xmlmind.spellcheck.*?
>
> This package has been added to XXE v5.4.1 in order to support Hunspell in
> addition to XMLmind Spell Checker (i.e. we have abstracted the spell-checking
> service). Hence, package com.xmlmind.spellcheck is *not* found in any of the
> previous releases.
>
> More generally, the full source code of XXE, including the source code of all
> the add-ons written by XMLmind, may be obtained by requesting our online
> store to send you download instructions for the latest release.
>
> This is done using this form:
>
> http://www.xmlmind.com/store/download.php
>
> This form is generally accessed through this easy-to-spot page:
>
> Upgrade Professional Edition --
> http://www.xmlmind.com/xmleditor/upgrade.html
>
>
>
>>
>> Thank you!
>>
>> Wasiq
>>
>>
>>
>>
>> --
>> XMLmind XML Editor Support List
>> [email protected]
>> http://www.xmlmind.com/mailman/listinfo/xmleditor-support
>
>
> --
> XMLmind XML Editor Support List
> [email protected]
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support
>
>
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support