in reply to natural language sentence construction

Conway's Lingua::EN::Inflect deals with pluralising (and the `a'/`an' distinction) for English.

I'm not sure how you'd internationalise your code to make it "swappable into languages other than English". You'd need a very good understanding of linguistics; some parts of the sentence that remain fixed in English could change drastically for other languages.

  • Comment on Re: natural language sentence construction