Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

99
Vistas
Humanizr.net ignore word/acronym

I am looping through a collection of strings and using Humanizr.net.

This is so that I can correct each string to sentence case.

For example.

        List<string> mystrings = new List<string>();
        mystrings.Add("my string one");
        mystrings.Add("my string two aBC");
        mystrings.Add("My String Three");

        foreach (string x in mystrings)
        {
            Console.WriteLine(x.Humanize());
        }

The output I am getting is this

        //what i am getting
        //----------------------
        //My string one
        //My string two a BC
        //My string three

I am wondering is it possible to add exclusions or words to ignore so that I get this

        //what i want
        //----------------------
        //My string two aBC

Thank You

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

In lieu of a answer I have come up with the following solution.

  1. Have a data store either Database or a Simple File (this is what i used in my case) that contains a list of know words and acronyms that I don't want Humanizer to convert along with what Humanizer converts it to.

  2. I then do a simple lookup and replace after the Humanizer call.

While not the most elegant solution it will work in my case for now.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda