The stupid question is the question not asked | |
PerlMonks |
Re: natural language sentence constructionby ariels (Curate) |
on Jun 17, 2001 at 16:05 UTC ( [id://89155]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|