Re: Possible contrib.humanize addition

2010-01-06 Thread harrym
The code I've got so far works pretty well - I've tested it on some medium-sized corpora and the only times the expected result was different from the actual result was when the corpus was wrong. The code works by first checking a few specific rules for numbers and acromyns, then checking against a

Re: Possible contrib.humanize addition

2010-01-05 Thread harrym
Thanks for your reply - I'll have a look into how this would work with other languages and get back to you if it looks like it would work easily with other languages. Regards, Harry On Jan 6, 3:45 am, Russell Keith-Magee wrote: > On Wed, Jan 6, 2010 at 5:24 AM, harrym wrote: > >

Possible contrib.humanize addition

2010-01-05 Thread harrym
I'm working a templatetag that determines whether to use 'a' or 'an' in front of English words. My particular use case for this is in a tumblelog app I'm developing - many different types of entry may be added (link, html, quote, etc), and I'm linking to the 'Add a[n] entry' pages by iterating ove