psolin / cleanco

Company Name Processor written in Python
MIT License
318 stars 94 forks source link

Allow closing parenthesis as valid trailing symbol #88

Open JonasR opened 1 year ago

JonasR commented 1 year ago

Fixes #61 Since we are looking at the tail, I decided to only allow ). I don't see how a valid name could end in (

petri commented 2 months ago

Where have you encountered this kind of company names? In what country, what name? Any other relevant info (e.g. what is typically inside the parenthesis)?

JonasR commented 2 months ago

As shown in the linked issue I often come across content where a country is added behind the company name in parentheses. You could argue the country should also be removed, but I'm not sure that would be in-scope for this package. Certainly it shouldn't be removing just the final closing parenthesis.

petri commented 2 months ago

As shown in the linked issue I often come across content where a country is added behind the company name in parentheses.

Yes I understood you have encountered such real cases. Could you provide some actual real world examples?

Do you know if the country specifier part inside parenthesis is actually part of the official legal name as registered in whatever national jurisdiction? Or has it been added by or in whatever system (to help differentiate company names)? People sometimes use this kind of patterns when entering data in CRMs etc.

JonasR commented 1 month ago

Oh, I see what you mean. Sure, below are some examples from a vendor's database. From what I can tell the data in parentheses is never part of the legal name, it's added e.g. for trade names, distinguishing subsidiaries, or differentiating to other companies with the same name in a different country.

Abzena (UK) Ltd
CartiHeal (2009) Ltd
BeiGene (Beijing) Co Ltd
Moberg Pharma AB (publ)
M ARKIN (1999) Ltd
Senzime AB (Publ)
GDM Seeds (AR)
MH Sub I LLC (d/b/a Internet Brands)
AngioDesign (UK) Ltd
Anticancer Biotech (Beijing) Co Ltd
Neo Modulus (Suzhou) Medical Sci-Tech Co Ltd
CTI Biotechnology (Suzhou) Co Ltd
Genfleet Therapeutics (Shanghai) Co Ltd
Viamet Pharmaceuticals (Bermuda) Ltd
Cytocares (Shanghai) Inc
HUTCHMED (China) Ltd
ProfoundBio (Suzhou) Co Ltd
GX Pharma (Beijing) Co Ltd
Ji Xing Pharmaceuticals (Shanghai) Co Ltd
Mission Health Labs Inc (d/b/a PicnicHealth)
Fertility (ITC) Services LLC
Precision Scientific (Beijing) Co Ltd
Cascade Bio Inc (d/b/a ScienceIO)