Milan Berta wrote:

> In :help 'spellsuggest' these lines are written about the number of the
> suggestions:
> 
> 'spellsuggest' 'sps'  string  (default "best")
> .....
> .....
>   {number}  The maximum number of suggestions listed for |z=|.
>       Not used for |spellsuggest()|.  The number of
>       suggestions is never more than the value of 'lines'
>       minus two.
> .....
> .....
> 
> I tried several spelling dictionaries listed below, few wrong words, and
> have got these numbers of the suggestions:
> 
> for Hungarian: hu.iso-8859-2.spl
> - semenyi - 167 suggestions
> - lennni - 157 sugg
> - nemlenni - 159 sugg
> - ...
> 
> for Czech: cs.iso-8859-2.spl
> - èinebýt - 167 sugg
> - mìljste - 169 sugg
> - býtèi - 197 sugg
> - ...
> 
> for Slovak: sk.iso-8859-2.spl
> - èineby» - 160 sugg
> - malste - 151 sugg
> - byȏi - 174 sugg
> - ...
> 
> The results were achieved with 'set spellsuggest=double'. The suggestion
> works fine with the fast and the best internal methods. The settings
> 'set sps=double,10' doesn't work at all, it just decreases the number of
> suggestions to maximum 150.

Strange, it works fine for english, but for Hungarian "double" doesn't
seem to limit the number of suggestions.  I'll look into it.

> What's interesting they all have the rating in the style (number - 0).
> Does the zero mean sth important?

That's because for hungarian there is no soundfolding.

-- 
WOMAN:   I didn't know we had a king. I thought we were an autonomous
         collective.
DENNIS:  You're fooling yourself.  We're living in a dictatorship.  A
         self-perpetuating autocracy in which the working classes--
WOMAN:   Oh there you go, bringing class into it again.
DENNIS:  That's what it's all about if only people would--
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to