Re: spell-checking only

2013-02-12 Thread Stephan Hennig
Am 09.02.2013 09:49, schrieb Daniel Naber: > On 08.02.2013, 21:49:54 Stephan Hennig wrote: > >> in the manual I advise users to use a personal dictionary with the >> external spell-checker to cope with false positives. Is that possible >> for an ordinary user with LanguageTool > > No, that's not

Re: spell-checking only

2013-02-09 Thread Daniel Naber
On 08.02.2013, 21:49:54 Stephan Hennig wrote: > Ignored by all of LanguageTool's modules or by Hunspell only as the file > path suggests? Only by hunspell. > The spelling package provides it's own white list mechanism. But since > it relies on an external spell-checker for finding misspellings

Re: spell-checking only

2013-02-08 Thread Stephan Hennig
Am 08.02.2013 21:16, schrieb Daniel Naber: > On 08.02.2013, 19:51:18 Stephan Hennig wrote: > >> 3. Is there a way to use a user dictionary for spell-checking with >> LanguageTool? That is, a file containing correct spellings (false >> positives). > > There's resource/XX/hunspell/ignore.txt (XX b

Re: spell-checking only

2013-02-08 Thread Daniel Naber
On 08.02.2013, 19:51:18 Stephan Hennig wrote: > 3. Is there a way to use a user dictionary for spell-checking with > LanguageTool? That is, a file containing correct spellings (false > positives). There's resource/XX/hunspell/ignore.txt (XX being the language code). these words are ignored duri

Re: spell-checking only

2013-02-08 Thread Stephan Hennig
Am 06.02.2013 19:42, schrieb Stephan Hennig: > To get LanguageTool and the spelling package together, I have the > following requests/questions: 3. Is there a way to use a user dictionary for spell-checking with LanguageTool? That is, a file containing correct spellings (false positives). Best

Re: spell-checking only

2013-02-08 Thread Stephan Hennig
Am 08.02.2013 10:49, schrieb Daniel Naber: > On 07.02.2013, 20:56:28 Stephan Hennig wrote: > >> I'm fine with that. What about locqualityissuetype? Will that >> attribute support other languages than English any time soon? > > If these are useful for you, you could try to promote them by, well,

Re: spell-checking only

2013-02-08 Thread Daniel Naber
On 07.02.2013, 20:56:28 Stephan Hennig wrote: > I'm fine with that. What about locqualityissuetype? Will that > attribute support other languages than English any time soon? If these are useful for you, you could try to promote them by, well, telling LT maintainers that you really need those :

Re: spell-checking only

2013-02-07 Thread Stephan Hennig
Am 07.02.2013 20:56, schrieb Daniel Naber: > On 07.02.2013, 20:48:39 Stephan Hennig wrote: > >> Is there, in turn, a way to disable spelling >> suggestions for languages where spelling suggestions are supported? > > No, all you can do is ignore them. The question was aiming at saving a little b

Re: spell-checking only

2013-02-07 Thread Daniel Naber
On 07.02.2013, 20:48:39 Stephan Hennig wrote: > Is there, in turn, a way to disable spelling > suggestions for languages where spelling suggestions are supported? No, all you can do is ignore them. > What is the JAR file to run on the command-line? There is no > LanguageTool.jar in the latest

Re: spell-checking only

2013-02-07 Thread Stephan Hennig
Am 07.02.2013 20:27, schrieb Daniel Naber: > What about adding another XML attribute to the output like > spelling_rule="true"? I'm fine with that. What about locqualityissuetype? Will that attribute support other languages than English any time soon? Best regards, Stephan Hennig ---

Re: spell-checking only

2013-02-07 Thread Stephan Hennig
Am 07.02.2013 20:30, schrieb Daniel Naber: > On 07.02.2013, 20:14:24 Stephan Hennig wrote: > >> No spelling suggestion. Why is that? > > Sorry, I forgot to mention in my reply that the list of "no suggestion" > languages referred to current SVN. For German, spelling suggestions are not > yet i

Re: spell-checking only

2013-02-07 Thread Daniel Naber
On 07.02.2013, 20:14:24 Stephan Hennig wrote: > No spelling suggestion. Why is that? Sorry, I forgot to mention in my reply that the list of "no suggestion" languages referred to current SVN. For German, spelling suggestions are not yet in LT 2.0, the latest release. BTW, we provide nightly s

Re: spell-checking only

2013-02-07 Thread Daniel Naber
On 07.02.2013, 19:41:13 Stephan Hennig wrote: > Is it safe to scan for rule names starting 'MORFOLOGIK_RULE_' or can > that cause clashes with non-spelling related rules? It should be safe, but there's no guarantee for it. What about adding another XML attribute to the output like spelling_rule=

Re: spell-checking only

2013-02-07 Thread Stephan Hennig
Am 07.02.2013 19:53, schrieb Daniel Naber: > On 07.02.2013, 19:19:44 Stephan Hennig wrote: > >> How do I activate Hunspell suggestions using LanguageTool on the >> command-line? > > You can't - some languages don't support generating spelling suggestions > yet (for performance reasons). Currentl

Re: spell-checking only

2013-02-07 Thread Daniel Naber
On 07.02.2013, 19:19:44 Stephan Hennig wrote: > How do I activate Hunspell suggestions using LanguageTool on the > command-line? You can't - some languages don't support generating spelling suggestions yet (for performance reasons). Currently these languages are: da, eo, fr, is, pt. These are t

Re: spell-checking only

2013-02-07 Thread Stephan Hennig
Am 06.02.2013 21:37, schrieb Daniel Naber: > On 06.02.2013, 21:18:16 Stephan Hennig wrote: > >> What are the rule IDs that identify spelling errors? I've seen >> ruleId="HUNSPELL_NO_SUGGEST_RULE". Anything else? > > GERMAN_SPELLER_RULE > HUNSPELL_RULE > > and > MORFOLOGIK_RULE__ > for example:

Re: spell-checking only

2013-02-07 Thread Dominique Pellé
Daniel Naber wrote: > On 07.02.2013, 18:13:55 Stephan Hennig wrote: > >> Whatever names they have, is there any reference where I can look for >> the exact meaning of those rules? > > The rule ids I listed are all spell checking rules that only differ by their > implementation. As a user of the XM

Re: spell-checking only

2013-02-07 Thread Stephan Hennig
Am 06.02.2013 22:00, schrieb Dominique Pellé: > There is also: HUNSPELL_NO_SUGGEST_RULE In HunspellNoSuggestionRule.java I find this comment > /** > * Like {@link HunspellRule}, but does not offer suggestions for incorrect > words > * as that is very slow with Hunspell. > */ How do I activ

Re: spell-checking only

2013-02-07 Thread Daniel Naber
On 07.02.2013, 18:52:42 Stephan Hennig wrote: > Is the point of that rule to try > alternative spellings of a word in case the original spelling is not > recognized as valid? Yes, but all spelling rules do that (except the no_suggestion one). The character substitutions in GermanSpellerRule only

Re: spell-checking only

2013-02-07 Thread Stephan Hennig
Am 07.02.2013 18:22, schrieb Daniel Naber: > On 07.02.2013, 18:13:55 Stephan Hennig wrote: > >> Whatever names they have, is there any reference where I can look for >> the exact meaning of those rules? > > The rule ids I listed are all spell checking rules that only differ by their > implementa

Re: spell-checking only

2013-02-07 Thread Daniel Naber
On 07.02.2013, 18:13:55 Stephan Hennig wrote: > Whatever names they have, is there any reference where I can look for > the exact meaning of those rules? The rule ids I listed are all spell checking rules that only differ by their implementation. As a user of the XML, you should not case about t

Re: spell-checking only

2013-02-07 Thread Stephan Hennig
Am 06.02.2013 22:00, schrieb Dominique Pellé: > Daniel Naber wrote: >> On 06.02.2013, 21:18:16 Stephan Hennig wrote: >> >>> What are the rule IDs that identify spelling errors? I've seen >>> ruleId="HUNSPELL_NO_SUGGEST_RULE". Anything else? >> >> GERMAN_SPELLER_RULE >> HUNSPELL_RULE >> >> and >>

Re: spell-checking only

2013-02-07 Thread Stephan Hennig
Am 06.02.2013 20:50, schrieb Daniel Naber: > On 06.02.2013, 19:42:09 Stephan Hennig wrote: > >> Could you please provide a way (a command-line option) so that >> LanguageTool writes the list of misspelled words as one word per >> line? > > I think this can be parsed from the XML easily: take the

Re: spell-checking only

2013-02-06 Thread Dominique Pellé
Daniel Naber wrote: > On 06.02.2013, 21:18:16 Stephan Hennig wrote: > >> What are the rule IDs that identify spelling errors? I've seen >> ruleId="HUNSPELL_NO_SUGGEST_RULE". Anything else? > > GERMAN_SPELLER_RULE > HUNSPELL_RULE > > and > MORFOLOGIK_RULE__ > for example: > MORFOLOGIK_RULE_CA_ES

Re: spell-checking only

2013-02-06 Thread Daniel Naber
On 06.02.2013, 21:18:16 Stephan Hennig wrote: > What are the rule IDs that identify spelling errors? I've seen > ruleId="HUNSPELL_NO_SUGGEST_RULE". Anything else? GERMAN_SPELLER_RULE HUNSPELL_RULE and MORFOLOGIK_RULE__ for example: MORFOLOGIK_RULE_CA_ES MORFOLOGIK_RULE_IT_IT Regards Daniel

Re: spell-checking only

2013-02-06 Thread Stephan Hennig
Am 06.02.2013 20:50, schrieb Daniel Naber: > On 06.02.2013, 19:42:09 Stephan Hennig wrote: > >> Could you >> please provide a way (a command-line option) so that LanguageTool writes >> the list of misspelled words as one word per line? > > I think this can be parsed from the XML easily: take the

Re: spell-checking only

2013-02-06 Thread Daniel Naber
On 06.02.2013, 21:13:04 Stephan Hennig wrote: > Do you mean LanguageTool doesn't do 'true' spell-checking and only > recognizes a small explicit subset of misspelled words? In the release > notes I find this: It uses proper spell checking, but it was added later so "unknown words" to LT means:

Re: spell-checking only

2013-02-06 Thread Stephan Hennig
Am 06.02.2013 20:31, schrieb Marcin Miłkowski: > W dniu 2013-02-06 19:42, Stephan Hennig pisze: > >> 1. I noticed that LanguageTool provides an option -u to 'print a summary >> of words from the input that LanguageTool doesn't know.' Great! >> Unfortunately, the list format is rather non-standard.

Re: spell-checking only

2013-02-06 Thread Daniel Naber
On 06.02.2013, 19:42:09 Stephan Hennig wrote: > Could you > please provide a way (a command-line option) so that LanguageTool writes > the list of misspelled words as one word per line? I think this can be parsed from the XML easily: take the value of the "context" attribute and then the substr

Re: spell-checking only

2013-02-06 Thread Marcin Miłkowski
W dniu 2013-02-06 19:42, Stephan Hennig pisze: > Hi, > > I'm the maintainer of the spelling package for LuaTeX, > https://github.com/sh2d/spelling>, which can highlight spelling > errors in LuaTeX's PDF output. The package writes a text file > containing most of the text of the TeX document and re