On 19-06-2009, Pascal Rigaux <pas...@rigaux.org> wrote: > 2009/6/19 Conglun Yao <yaocong...@gmail.com>: > >> I'm wondering is there any library in OCaml performing word inflection >> between singular and plural, like Lingua-EN-Inflect in perl. Or someone is >> already doing the work? > > not really comparable to Lingua-EN-Inflect, but if you want one day to > have i18n and you are under linux, ngettext is quite powerful. > cf http://www.gnu.org/software/hello/manual/gettext/Plural-forms.html >
FYI, a pure OCaml implementation of ngettext, with plural support, can be found in ocaml-gettext: http://le-gall.net/sylvain+violaine/ocaml-gettext.html Regards, Sylvain Le Gall _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs