[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Sylvain Le Gall <sylvain@l...> |
| Subject: | Re: Inflection lib for ocaml ? |
On 19-06-2009, Pascal Rigaux <pascal@rigaux.org> wrote: > 2009/6/19 Conglun Yao <yaoconglun@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