inflection icon indicating copy to clipboard operation
inflection copied to clipboard

Pluralizes and singularizes English nouns

Results 8 inflection issues
Sort by recently updated
recently updated
newest added

## Description Human is pluralized to Humen. It should get pluralized to humans.

## Reproducible Example ```go package main import ( "fmt" "github.com/jinzhu/inflection" ) func main() { // outputs "Metum" fmt.Println("Meta", inflection.Singular("Meta")) } ``` https://play.golang.org/p/MQUTqDKmndH ## Description

It would be great if something like `inflection.AddPlural("person","persons")` would work. At the moment it has no effect, meaning the standard rule applies returning `people` as plural for `person`.

Thinking about support for multiple languages I think it's better pluralInflections[1] be public [1] https://github.com/jinzhu/inflection/blob/b074e8fe6adf0b41ee6026342fe902cf3fe48dbd/inflections.go#L55

Greetings. CGO_ENABLED=0 go build -tags=jsoniter -o binary . /go/src/github.com/jinzhu/inflection/inflections.go:123:24: syntax error: unexpected newline in composite literal; possibly missing comma or } docker image version: golang:1.18, golang:1.19 Thanks.

import inflection as inf inf.singularize('leaves')

## Reproducible Example ```go package main import ( "fmt" "github.com/jinzhu/inflection" ) func main() { // prints quota, should be quotas fmt.Println(inflection.Plural("quota")) } ``` ## Description The name quota is pluralised...

## Reproducible Example ```go package main import ( "fmt" "github.com/jinzhu/inflection" ) func main() { // outputs "Calory" fmt.Println("Calories", inflection.Singular("Calories")) } ``` https://go.dev/play/p/1zHMwo_Hb2t ## Description