W dniu 2014-04-09 12:47, Dmitri Gabinski pisze:
> Hi!
>
> I've tried using LT 2.5 standalone (Windows 7, JRE 1.7.0) with CheckMate
> for checking a TMX file (English to Belarusian). Generally, it runs fine
> (thanks a lot to the developers!). However, I get false alarms about
> spelling because some words/word forms missing in the dictionary. I'd
> like to replace the dictionary with my own.
>
> I checked the Wiki (Spell check page) that says that LT supports spell
> checking using Hunspell.
>
> So, I navigated to the LT directory, explored it, found there
> resource/be/hunspell. However, instead of the conventional pair of .dic
> / .aff files the directory contained .dict and .info. The latter
> contained some parameters that I could not understand. The former looked
> like a binary file in viewer. I tried to open it using 7-zip, hoping
> that it was an archive, but failed. There, I was stuck.
>
> So, my question is: can I replace the dictionary with my own without
> bothering the respective language maintainer? And what is that .dict
> file? Can I produce such a file on my own?

I can see that there was more discussion but let me explain the basics: 
we try not to use hunspell if possible, and the folder names should be 
probably changed to "spell".

Now, I'm not sure what you want to do. If you have a large simple text 
list of words you want to ignore during the spell check, but not a 
complete dictionary, you can easily do so by using ignore.txt (put it in 
the directory with dictionary files, I think it should be picked up 
automatically). Unfortunately, these words will not be used for creating 
suggestions.

Alternatively, you can rebuild the binary dictionary, but it may be a 
lengthy process that is not really worth it if you simply want to add 
around 200 proper names. Of course, for inflections to work, you need to 
add all versions.

Regards,
Marcin

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to