Skip to content

MattCordell/ToTallman

Repository files navigation

Build status

Build Status

ToTallman

An extension method that will apply specified Tallman lettering to any string. The default parameterless method, is intended to use all "known" Tallman lists. A single overload exists that allows a specific "known" list to be specified.

ToTallman can be applied anywhere a string is being output.

  var d = "This drug is norfloxacin";
  Console.WriteLine("{0} => {1}", d, d.ToTallman();  // To use the default list
  Console.WriteLine("{0} => {1}", d, d.ToTallman(Tallman.List.AU)); //To specifiy a particular list
  
  //Outputs:
  //    This drug is norfloxacin => This drug is NORfloxacin

Built with .Net Standard 1.0, so it'll run on wherever .Net runs!

There is effectively zero impact on UI performance.[link to performance metrics - coming soon]

The algorithm is essentially a case insensitive Regex replacement for target words. Only words that match will be replaced.[link for ports - coming soon]

Planned lists for inclusion are

If you want to see additional lists supported, please raise an issue and at least provide some authoritative reference

Additional References:

http://www.waltersmedical.co.uk/uploads/u29108/File/tall_man_~_ku_~_v3_i3.pdf https://www.ismp.org/resources/special-edition-tall-man-lettering-ismp-updates-its-list-drug-names-tall-man-letters http://www.ismp.org/recommendations/tall-man-letters-list

Comparison of known lists to also be described on the wiki (eventually).

About

A string extension method for applying Tallman Lettering.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages