The affix length is deterimined by a Hunspell clause FLAG.
There is number, char, and string (long) .
Myspell only knew about char, I think.

> Dear Ruud and Daniel,
>
> I believe I have a clue:
> Usually suffixes and prefixes only have one character for the rule.
>
> But this .AFF has more characters and this is the problem.
>
> If you take a look at the English AFFs they too have letters and
> numbers, but only one character long.
> See the en_GB word: copy/3DRGMS
>
> It has a "3" but it could also have other numbers which would generate
> different derivates.
>
> :-P
>
> I believe that if I change the code of Proofing Tool GUI to have numbers
> with more than one character I would break other dictionaries :'(
>
> Maybe you could do a "Replace All" with a text editor and change "long"
> numbers into a letter or such. O:-)
>
> In this case, there isn't much I can do.
>
> Kind regards from your friend,
>          >Marco A.G.Pinto
>            ----------------------
>
>
> On 28/10/2014 11:13, R.J. Baars wrote:
>> I edited the .aff so that is at least does no longer crash.
>> Look like it has been edited wit an editor inserting tabs wherever.
>> Since
>> tab is a special char to Hunspell, it causes the dump when unmunching.
>>
>> The new aff does not dump, but still adds / to words.
>> Looks like unmunch is not able to process continuation flags )affixes,
>> containing flags for adding more affixes).
>>
>> The tool Marco made, shows Abel/414 ; the affix rule for 414 are:
>>
>> SFX 414 N 5
>> SFX 414 0 s/26 [^u]r
>> SFX 414 0 s/26 [^u][^r]
>> SFX 414 0 s/26 u[^r]
>> SFX 414 ur s/26 ur
>> SFX 414 ur a ur (I changed this to get rid of the 0)
>>
>> But still the tool changes Abel into Abel0 using rule that are not in
>> 414
>> as far as I can see.
>>
>> Marco, Daniel, I added the affix file for IS that does no longer dump. I
>> think it is a better start for checking what is going wrong.
>>
>> Ruud
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> Languagetool-devel mailing list
>> Languagetool-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
>
> --
> ------------------------------------------------------------------------------
> _______________________________________________
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>



------------------------------------------------------------------------------
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to