Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Looking for a (free) .NET pluralizer / singularizer

Looking for a (free) .NET pluralizer / singularizer

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpjavascriptcloudasp-netdatabase
13 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Sander RosselS Offline
    Sander RosselS Offline
    Sander Rossel
    wrote on last edited by
    #1

    I know there's one already... Nicely packed inside the Entity Framework 6 package!? :~ So if I want to singularize or pluralize (English) words I have to add a package to an old version of an ORM, nice! It also doesn't work all too well with EF Core. Because I want to work with language... The service wasn't added to .NET Core, but luckily someone ported it... Which also implicitly adds it to my EF Core designer messing up my database generation :(( Anyone know of a good alternative that has nothing to do with databases?

    Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

    G Richard DeemingR pkfoxP 3 Replies Last reply
    0
    • Sander RosselS Sander Rossel

      I know there's one already... Nicely packed inside the Entity Framework 6 package!? :~ So if I want to singularize or pluralize (English) words I have to add a package to an old version of an ORM, nice! It also doesn't work all too well with EF Core. Because I want to work with language... The service wasn't added to .NET Core, but luckily someone ported it... Which also implicitly adds it to my EF Core designer messing up my database generation :(( Anyone know of a good alternative that has nothing to do with databases?

      Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

      G Offline
      G Offline
      Garth J Lancaster
      wrote on last edited by
      #2

      what about this (or is that the one you mention ?) [GitHub - Humanizr/Humanizer: Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities](https://github.com/Humanizr/Humanizer#pluralize)

      Sander RosselS realJSOPR 2 Replies Last reply
      0
      • Sander RosselS Sander Rossel

        I know there's one already... Nicely packed inside the Entity Framework 6 package!? :~ So if I want to singularize or pluralize (English) words I have to add a package to an old version of an ORM, nice! It also doesn't work all too well with EF Core. Because I want to work with language... The service wasn't added to .NET Core, but luckily someone ported it... Which also implicitly adds it to my EF Core designer messing up my database generation :(( Anyone know of a good alternative that has nothing to do with databases?

        Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

        Richard DeemingR Offline
        Richard DeemingR Offline
        Richard Deeming
        wrote on last edited by
        #3

        You could always write your own. It's not like the rules are complicated or anything! :laugh: An Algorithmic Approach to English Pluralization[^]


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

        L Sander RosselS 2 Replies Last reply
        0
        • Richard DeemingR Richard Deeming

          You could always write your own. It's not like the rules are complicated or anything! :laugh: An Algorithmic Approach to English Pluralization[^]


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Richard Deeming wrote:

          It's not like the rules are complicated

          After all Goose - geese and Mongoose - mongooses, is completely logical.

          1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            You could always write your own. It's not like the rules are complicated or anything! :laugh: An Algorithmic Approach to English Pluralization[^]


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            Sander RosselS Offline
            Sander RosselS Offline
            Sander Rossel
            wrote on last edited by
            #5

            The article starts with "the issues..." and "The problem of..." :laugh: If you look at the (ported) source code of the EF pluralizer[^] you'll see it's mostly exceptions :laugh: It even includes the word "pneumonoultramicroscopicsilicovolcanoconiosis" :laugh:

            Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

            Richard DeemingR 1 Reply Last reply
            0
            • G Garth J Lancaster

              what about this (or is that the one you mention ?) [GitHub - Humanizr/Humanizer: Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities](https://github.com/Humanizr/Humanizer#pluralize)

              Sander RosselS Offline
              Sander RosselS Offline
              Sander Rossel
              wrote on last edited by
              #6

              That looks good, but it does A LOT! :omg: Certainly worth checking out, thanks :thumbsup:

              Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

              1 Reply Last reply
              0
              • Sander RosselS Sander Rossel

                The article starts with "the issues..." and "The problem of..." :laugh: If you look at the (ported) source code of the EF pluralizer[^] you'll see it's mostly exceptions :laugh: It even includes the word "pneumonoultramicroscopicsilicovolcanoconiosis" :laugh:

                Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                Richard DeemingR Offline
                Richard DeemingR Offline
                Richard Deeming
                wrote on last edited by
                #7

                Which the Oxford English Dictionary defines as "an artificial long word said to mean a lung disease caused by inhaling very fine ash and sand dust". :-D Although it's probably still easier to pronounce than the name of that Icelandic volcano.


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                Sander RosselS 1 Reply Last reply
                0
                • Richard DeemingR Richard Deeming

                  Which the Oxford English Dictionary defines as "an artificial long word said to mean a lung disease caused by inhaling very fine ash and sand dust". :-D Although it's probably still easier to pronounce than the name of that Icelandic volcano.


                  "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                  Sander RosselS Offline
                  Sander RosselS Offline
                  Sander Rossel
                  wrote on last edited by
                  #8

                  Richard Deeming wrote:

                  Although it's probably still easier to pronounce than the name of that Icelandic volcano.

                  :thumbsup: :laugh:

                  Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                  1 Reply Last reply
                  0
                  • Sander RosselS Sander Rossel

                    I know there's one already... Nicely packed inside the Entity Framework 6 package!? :~ So if I want to singularize or pluralize (English) words I have to add a package to an old version of an ORM, nice! It also doesn't work all too well with EF Core. Because I want to work with language... The service wasn't added to .NET Core, but luckily someone ported it... Which also implicitly adds it to my EF Core designer messing up my database generation :(( Anyone know of a good alternative that has nothing to do with databases?

                    Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                    pkfoxP Offline
                    pkfoxP Offline
                    pkfox
                    wrote on last edited by
                    #9

                    Why do you want to use Entity Framework ? - biggest POS I've seen in code ( I know - I should get out more :-D )

                    "We can't stop here - this is bat country" - Hunter S Thompson - RIP

                    Sander RosselS 1 Reply Last reply
                    0
                    • pkfoxP pkfox

                      Why do you want to use Entity Framework ? - biggest POS I've seen in code ( I know - I should get out more :-D )

                      "We can't stop here - this is bat country" - Hunter S Thompson - RIP

                      Sander RosselS Offline
                      Sander RosselS Offline
                      Sander Rossel
                      wrote on last edited by
                      #10

                      Why wouldn't you? Makes DB connections and queries A LOT easier :D

                      Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                      pkfoxP 1 Reply Last reply
                      0
                      • G Garth J Lancaster

                        what about this (or is that the one you mention ?) [GitHub - Humanizr/Humanizer: Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities](https://github.com/Humanizr/Humanizer#pluralize)

                        realJSOPR Offline
                        realJSOPR Offline
                        realJSOP
                        wrote on last edited by
                        #11

                        Funny - they have a Dasherize method, but they use Hyphenate instead of Hyphenize. :)

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                        1 Reply Last reply
                        0
                        • Sander RosselS Sander Rossel

                          Why wouldn't you? Makes DB connections and queries A LOT easier :D

                          Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                          pkfoxP Offline
                          pkfoxP Offline
                          pkfox
                          wrote on last edited by
                          #12

                          Mmmm...

                          "We can't stop here - this is bat country" - Hunter S Thompson - RIP

                          Sander RosselS 1 Reply Last reply
                          0
                          • pkfoxP pkfox

                            Mmmm...

                            "We can't stop here - this is bat country" - Hunter S Thompson - RIP

                            Sander RosselS Offline
                            Sander RosselS Offline
                            Sander Rossel
                            wrote on last edited by
                            #13

                            It took you nearly a month to come up with that answer? :laugh:

                            Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups