Pluralize.NET 0.1.84

Pluralize or singularize any word. C# Port of Blake Embrey's pluralize library for Javascript. Visit https://github.com/sarathkcm/Pluralize.NET for details on how to use."

There is a newer version of this package available.
See the version list below for details.
Install-Package Pluralize.NET -Version 0.1.84
dotnet add package Pluralize.NET --version 0.1.84
<PackageReference Include="Pluralize.NET" Version="0.1.84" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pluralize.NET --version 0.1.84
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Pluralize.NET, 0.1.84"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Pluralize.NET as a Cake Addin
#addin nuget:?package=Pluralize.NET&version=0.1.84

// Install Pluralize.NET as a Cake Tool
#tool nuget:?package=Pluralize.NET&version=0.1.84
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

GitHub license Build status Coverage Status NuGet NuGet

What is it?

This is a C# port of Blake Embrey's pluralize library which helps in pluralizing or singularizing any English word.

Why

I could not find a good C# alternative for converting words from singular to plural and vice versa. System.Data.Entity.Design.PluralizationServices.PluralizationService and Humanizer library did not meet the expectations (try 'shoes' or 'toes'). However this small but awesome Javascript libray pluralize worked very well for me and I decided to convert the code to C# and use it.

How

Install from NuGet

Using Package manager console

Install-Package Pluralize.NET

Using dotnet CLI

dotnet add package Pluralize.NET

Using paket CLI

paket add Pluralize.NET

Include using directive

using Pluralize.NET

Write code

var singular = new Pluralizer().Singularize("Horses");
var plural = new Pluralizer().Pluralize("Horse");

Profit!

Supported .NET Versions

The Nuget package supports the following .NET versions. This pretty much covers versions 4.0 and above. Please open an issue if you want to support any .NET version in particular.

  • .NET 4.0
  • .NET Standard 1.1
  • .NET 4.5.1
  • .NET 4.6
  • .NET Standard 2.0

Licence

MIT - because the original project is MIT

GitHub license Build status Coverage Status NuGet NuGet

What is it?

This is a C# port of Blake Embrey's pluralize library which helps in pluralizing or singularizing any English word.

Why

I could not find a good C# alternative for converting words from singular to plural and vice versa. System.Data.Entity.Design.PluralizationServices.PluralizationService and Humanizer library did not meet the expectations (try 'shoes' or 'toes'). However this small but awesome Javascript libray pluralize worked very well for me and I decided to convert the code to C# and use it.

How

Install from NuGet

Using Package manager console

Install-Package Pluralize.NET

Using dotnet CLI

dotnet add package Pluralize.NET

Using paket CLI

paket add Pluralize.NET

Include using directive

using Pluralize.NET

Write code

var singular = new Pluralizer().Singularize("Horses");
var plural = new Pluralizer().Pluralize("Horse");

Profit!

Supported .NET Versions

The Nuget package supports the following .NET versions. This pretty much covers versions 4.0 and above. Please open an issue if you want to support any .NET version in particular.

  • .NET 4.0
  • .NET Standard 1.1
  • .NET 4.5.1
  • .NET 4.6
  • .NET Standard 2.0

Licence

MIT - because the original project is MIT

  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5.1

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETStandard 1.1

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (19)

Showing the top 5 NuGet packages that depend on Pluralize.NET:

Package Downloads
Weknow.Cypher.Builder
Package Description
EzDbCodeGen
This complete and self contained code generation utility will install in a sub directory EzDbCodeGen of a target project. From this path, you can run a powershell script that will generate code based on the connection string. Each template is a handlebars template that has tags that specify where you would like to output the generated code and if there is a vs project that you wish to update with the file list (old VS project formats only).
PoweredSoft.DbUtils.EF.Generator
Package Description
Mcma.Api
Library containing Base classes and interfaces for MCMA API implementations
Kafka.DotNet.ksqlDB
Kafka.DotNet.ksqlDB is a C# LINQ-enabled client API for issuing ksqlDB push queries and consuming JSON payloads. It also enables the execution of SQL statements via the Rest API. Targets .NET 5, .NET Core 3.1 and .NET Standard 2.0. Documentation for the library can be found at https://github.com/tomasfabian/Kafka.DotNet.ksqlDB/blob/main/Kafka.DotNet.ksqlDb/Wiki.md.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Pluralize.NET:

Repository Stars
PowerShell/PSScriptAnalyzer
Download ScriptAnalyzer from PowerShellGallery
cezarypiatek/MappingGenerator
:arrows_counterclockwise: "AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time.
dotnetzoom/AspNetCore-WebApi-Course
Professional REST API design with ASP.NET Core 3.1 WebAPI

Version History

Version Downloads Last updated
1.0.2 340,999 8/22/2019
0.1.84 206,402 5/19/2018
0.1.43 4,186 4/9/2017