Marcin Miłkowski wrote:

Hi Gregor,

Gregor Hartmann napisał(a):

Hi,

The question is what to do with a word not in the dictionary, there are 2 possible reasons.

1. the word is misspelled
2. the dictionary is incomplete


In some languages, 2. would be quite rare (as in Polish, where the spell dictionary more words from all printed dictionaries, and words not present are actually very rare or could be confusing).

OK so we might need a 3. category containing words which are to be ignored. But I thought the same for the en-US version but there are still some words missing. Some of them are Product specific but should still be in the dictionary, some I don't know why they are not in.

StarImpress StarDraw
Amiga
Hyperlink
Homepage
bitmap

Thats just some examples I picked last Week



At first there has to be a list with words not recognized by the OOo spell checker. This list contains words for one of the above mentioned reasons and has to be split up in separate lists as they are handled differently.


Yes, and using a 'user dictionary' with trusted StarBasic keywords, Calc keywords etc. would be essential.

yes



Where I don't have a clue at the moment is how to get the red lined words out of the *.odt document again?


Hm, to get them automagically, it's best to use hunspell from the command line. Hunspell can skip HTML tags, so it should (I guess) skip XML tags as well.

can hunspell use the OOo dictionaries in all languages (Sorry for my ignorance and not knowing) Another problem would be that the XML tags are escaped in the sdf files changing a <LINK> to \<LINK\> (and also changing \< to < to ease translation)
but it would work for the UI (after \n and ~ removal)



By the way if you do not only have a sourcetarball but also a solver (tarball or built yourself) there is a tool to extract an sdf file containing one or more languages from all localize.sdf files. In addition it can also extract source languages which are de and en-US.


Great to know! Thanks!

(well you need to do a configure first)


oh, well, I haven't inserted those two additional RAM chips into my machine... This could take some minutes or even hours...

just for configure? you can get a solver tarball and do not have to build yourself AFAIK. Maybe there is even an .sh script available to set some environment variable to do it.

Regards,
Gregor



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to