English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Inflection lib for ocaml ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-06-19 (06:55)
From: Pascal Rigaux <pascal@r...>
Subject: Re: [Caml-list] Inflection lib for ocaml ?
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