Robert, I think, that wildcards/regular expressions are not working in affixes as for example in perl or awk. The only kind of wildcarding, that works is:
SFX name strip append condition if strip or append is the character '0', nothing will be stripped or appended. condition: if it is '.' (dot), there is no condition it knows [] for grouping characters. for example [^bght][mn]en means: fourth char backwards is not b or g or h or t. third char backwards is m or n last two chars are en for example redmen matchs the condition, ragmen or redken do not. If you write SFX A 0 ez . and your word is in the dic like word/A then word and wordez will be considered as correct words. If you want to remove any final letter before adding the suffix, you must write: worc/A word/A ... SFX A c ez c SFX A d ez d ... In this case worez will be recognized as good word. Hopefully I understood you correctly. Regards, Eleonora Am Samstag, 5. M�rz 2005 18:36 schrieb Robert Pontisso: > Hello again, > > Might anyone know where else I can go to find out > about the problem I asked about here a few days ago? > > In short, is there a simple way for MySpell to remove > any final letter from a root before adding a suffix? > The following works in that MySpell suggests the > correct spelling, but doesn't recognize it (even after > I accept the correction it has suggested!) : > > SFX A . suffix . > > Is this a bug, or am I using the wrong wildcard, or is > there no way to do what I'm looking for? > > Thanks very much > > Robert Pontisso > > --- Robert Pontisso <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > > > I've been tinkering with a MySpell version for a > > language for which there is no ispell version, so > > I'm > > basically starting from scratch. Things have been > > going well so far, but I've encountered something > > odd. > > > > I wanted to account for a suffix that can be added > > to > > any word, though the last letter of the root has to > > be > > removed first. Not knowing exactly how the > > spellchecking algorithm works or what the rules for > > the affix file are, I figured I'd try using the * > > wildcard twice: > > > > SFX A * suffix * > > > > Here's the problem: this works, but MySpell (running > > in OpenOffice1.1.3 in Solaris) doesn't realize it > > works. If I spellcheck the new word form (spelled > > correctly), MySpell flags it as unknown, yet its > > suggested replacement is exactly the same word, > > spelled the same way. > > > > If MySpell is suggesting the same spelling as the > > tested word, why is the tested word being flagged as > > unknown? > > > > Thanks very much > > > > Robert Pontisso > > > > > > > > > > > > Send instant messages to your online friends > > http://uk.messenger.yahoo.com > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > Send instant messages to your online friends http://uk.messenger.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
