Quote:
Originally Posted by frostschutz
It doesn't come up when you literally write "-ties" into your text and try to look that up - does it?
|
No, the first two letters of the word are required in order to make the file at.html the target of the search.
Quote:
Originally Posted by frostschutz
That should be enough to make it work and I can't believe it's not programmed this way... more like a freak bug preventing it from actually working.
|
I guess that would require a lot of changes in the search function. Now it seems simply to search the file xx.html for the first occurrence of a[name="searched for word"] or variant[name="searched for word"].
Modifying the dictionaries so that -ties is expanded to atrocities might also be more work than expected at first sight. The different dictionaries might not follow the same rules on where to split the base from the "rest" of the word. This might even require etymological/grammatical knowledge. (Same holds true if you want the search function to do the expansion.)
Note that the list of unabbreviated variants is already needed when creating the "words." Therefore, expanding the abbreviated variants in the dictionary file seems to be the way to go.