psolin / cleanco

Company Name Processor written in Python
MIT License
322 stars 95 forks source link

Not Working for 'p.c. #36

Closed chakravarthych closed 5 years ago

chakravarthych commented 6 years ago

i am trying to parse a business name which contains p.c. as an extension, but when i try to use x.type() it returns none type object

Ex:-

cleanco(dentistry for children, louis a. pollina, d.d.s., p.c.) x.type() Returns none

psolin commented 5 years ago

This works. See below:

from cleanco import cleanco business_name = "dentistry for children, louis a. pollina, d.d.s., p.c." x = cleanco(business_name) x.type() ['Professional Corporation']