Subject: | bug: -isms in comments but not in code |
"-isms" is not matched in @AddSyl. It should be. Like -ism, it is one
syllable. -isms explicitly noted in the comments but not coded for.
Example: 'organisms' gives 3 syallables instead of 4.
Fix: include 'isms$' in @AddSyl (keep 'ism$' also)
i.e.replace:
'ism$', # -isms
with
'ism$', # -ism
'isms$', # -isms
I found this bug originally in haiku.py [haiku,v 1.17 2003/02/10], which
is based largely on this module. I have only tested using python code,
but the regex parts are identical.