Crate plural

Crate plural 

Source
Expand description

§Plural

A simple library to pluralize words.

[!NOTE] This library is intended for the English language. It may work with other languages that follow the convention of adding an ‘s’ to the end of words, but for most languages a custom implementation will be required.

§Usage

use plural::Pluralize;

assert_eq!("dog".plural(), "dogs");

§License

This project is licensed under the Apache-2.0 license.

§Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

§Code of Conduct

Contribution to this project is organized under the Contributor Covenant Code of Conduct.

Made with 💗 by Juliette Cordor

Structs§

Plural
Provides a wrapper that implements the Pluralize trait.

Enums§

PluralForm
An enum determining the plural form of a word.

Traits§

Pluralize
Trait providing methods for the pluralization of words.