Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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