[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[aspell-user] Re: [aspell] Affix or something else
From: |
Myriam Abramson |
Subject: |
[aspell-user] Re: [aspell] Affix or something else |
Date: |
06 Feb 2001 15:39:51 -0500 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.4 |
> Kevin Atkinson <address@hidden> scribbled furiously:
> Whew! The "remove affixes" direction, which is used when you need to
> verify the spelling of a word, works in almost the same way. The big
> difference is that since the context rules apply to the root, you
> can't check them until after you've made the transformation. Again,
> the first thing I do is to check the length of the word against the
> affix lengths to make sure that what I'm about to do is sensible.
> Then I string-compare the "append" string with the tail of the word.
> If they match, I strip off the "append" string (by just trimming the
> right number of characters) and add on the "strip" string. Again,
> that can be done with a single strcpy for suffixes.
What would happen if the misspelling was in the affix?
myriam
Go Proverb:
Capture what you cut off.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [aspell-user] Re: [aspell] Affix or something else,
Myriam Abramson <=