Snipget.ai

Names org name clean

Exact
names_org_name_clean

Deterministic and authoritative — the canonical answer for this input.

Clean a healthcare facility or organization name. Smart title case with a Mc/Mac whitelist (avoids mis-casing Machado/Maccoux), saint possessive fix, small-word lowercasing, apostrophe handling, dash normalization. A trailing legal-entity suffix (LLC, PLLC, LLP, LP, PLC, PC, PA) keeps its conventional ALL-CAPS form whatever the input case; other all-caps words are title-cased like any word. Processing multiple inputs? Use `names_org_name_clean_batch` to do up to 1000 in one call.

Parameters

namestringrequired

Organization/facility name to clean.

Call it

curl -X POST https://api.snipget.ai/v1/names/org-name/clean \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"name":"St Marys Hospital"}'

The Batch tab sends up to 1000 inputs in one call via /v1/names/org-name/clean/batch.

Example response

{
  "input": "St Marys Hospital",
  "cleaned": "St Mary's Hospital"
}

FAQ

What does this clean up?

It standardizes hospital, practice, and facility names with smart title casing. It fixes Mc and Mac names, restores saint possessives like 'St Marys' to 'St Mary's', keeps small words like 'of' and 'the' lowercase, tidies dashes and quotes, and keeps a trailing legal-entity suffix like LLC, PLLC, or PA in its all-caps form whatever case it arrived in.

Is the output the same every time?

Yes. It is deterministic, so the same organization name always cleans to the same form. That makes it safe to use as the canonical version for grouping and reporting.

Will it wrongly 'fix' names that just look like Mac?

No. It uses a curated list for Mac names, so genuine prefixes like MacLeod are capitalized while ordinary words like 'Machado' are left as 'Machado', not 'MacHado'.

What does it NOT do?

It does not verify the organization exists, look it up in any registry, or fix misspellings. It only standardizes the text. An all-caps word that is not a trailing entity suffix (like a brand acronym mid-name) is title-cased like any other word, since all-caps input gives no way to tell an acronym from shouting. For certification board names with abbreviation prefixes, use the cert board cleaner instead.

What happens with a blank value?

You get an empty cleaned value with confidence 0 rather than an error, so it is safe to run down a whole column that has some empty cells.

Related tools