Hello Sergey,
I am working with this spellchecker, but some behavior has attracts my attention.
First: It is very slow to load the dictionary and it is worthy to release the application.
I loaded 3 dictionaries and when I close my application, it takes more than 15 seconds to release it. Do you have any Ideia why?
Another thing:
I don't know if it is possible to do this with this component.
I have a fold with 3 dictionaries, English US, Spanish and Portuguese.
There is an option where you must inform the path where are the dictionaries, I noticed when I pass the path, all the dictionaries is loaded turning my application very slowly to be load.
I don't want to load all dictionary from my path, is there any option that allow me to choose the dictionary to be load?
Something like:
Dic.load = 'english'
thanks
Alex
Doubt Working with Hunspell
-
- Posts: 184
- Joined: Wed Jan 18, 2012 6:22 pm
-
- Posts: 184
- Joined: Wed Jan 18, 2012 6:22 pm
Sergey,
A friend of mine compiled the new version of DLL of hunspell, I tried to use it but the hunspell exemple of your didn't load it. Why?
Here you can download the lastet version
http://www.oaklea-software.com/misc_dow ... nspell.dll
http://www.oaklea-software.com/misc_dow ... nspell.lib
http://www.oaklea-software.com/misc_dow ... nspell.exp
A friend of mine compiled the new version of DLL of hunspell, I tried to use it but the hunspell exemple of your didn't load it. Why?
Here you can download the lastet version
http://www.oaklea-software.com/misc_dow ... nspell.dll
http://www.oaklea-software.com/misc_dow ... nspell.lib
http://www.oaklea-software.com/misc_dow ... nspell.exp
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
1) I cannot reproduce a slow loading. In my tests, applications are loaded without any delays.
2) The demo project load all available dictionaries in the folder, because it calls RVHunSpell1.LoadAllDictionaries.
To load one dictionary, call instead:
3) Thank you for compiling a new hunspell. It should be renamed to 'hunspelldll.dll', and some changes must be made in the source code to support it. I'll upload a changed version soon.
2) The demo project load all available dictionaries in the folder, because it calls RVHunSpell1.LoadAllDictionaries.
To load one dictionary, call instead:
Code: Select all
with RVHunSpell1.Dictionaries.Add do begin
Load('en_US');
if not Active then
Free;
end;