On 08:10 Fri 31 Mar     , ge wrote:
>> Unfortunately you can't implement phenomena like reduplication
>> using the myspell formalism for affixes (and probably not with hunspell
>> either, though I could be wrong about that).
> 
> Kevin, could you please explain with examples, what are you talking about 
> here? Here there are enough knowledgeable people of hunspell/affix mechanism, 
> and understanding the requirements could lead to solving them.

Yes, sorry about that.   I'm no expert of course - but as I recall
there are both infixes: pili -> p+in+ili and reduplication of
prefixes pili -> pi+pili.   The real issue is the latter - the 
reduplicated string can be of any length (even the whole word),
and you can't encode every string as an affix.

This is the standard example in morphology showing that
not every language can be handled by finite state tools.
You can think of this in terms of trying to match words of the
language with regexes; Tagalog requires "backreferences":
e.g. something like /(.*)-\1/ to match an entire word
that's been reduplicated (and something similar to 
reduplicate an initial consonant+vowel), etc.

-Kevin

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

Reply via email to