Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any algorithm in c# to singularize - pluralize a word?

Tags:

c#

algorithm

Is there any algorithm in c# to singularize - pluralize a word (in english) or does exist a .net library to do this (may be also in different languages)?

like image 201
Ronnie Avatar asked Jan 24 '09 07:01

Ronnie


People also ask

What is the algorithm in C?

An algorithm is a procedure or step-by-step instruction for solving a problem. They form the foundation of writing a program. For writing any programs, the following has to be known: Input. Tasks to be preformed.

Is C good for algorithms?

An algorithm is a set of well-defined instructions that helps you in solving problems. C is the best choice for beginners who want to implement algorithms.

What is algorithm in C define with example?

In computer programming terms, an algorithm is a set of well-defined instructions to solve a particular problem. It takes a set of input(s) and produces the desired output. For example, An algorithm to add two numbers: Take two number inputs.


1 Answers

You also have the System.Data.Entity.Design.PluralizationServices.PluralizationService.

UPDATE: Old answer deserves update. There's now also Humanizer: https://github.com/MehdiK/Humanizer

like image 176
Daniel Avatar answered Oct 18 '22 20:10

Daniel