psolin / cleanco

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

Cleanco not properly identifying Czech companies #23

Closed jachymb closed 7 years ago

jachymb commented 7 years ago

Hello, thank you for your work on cleanco.

Cleanco does not seem to work properly for czech companies, eg:

>>> c = cleanco("Company s.r.o.")
>>> c.type() is None
True
>>> c.country() is None
True
>>> c = cleanco("Company a.s.")
>>> c.type() is None
True
>>> c.country() is None
True

Although I see that 's.r.o.' and 'a.s.' are present in termdata.py in the right places.

One more detail, there is also the possibility to use 'spol. s r.o.' instead of 's.r.o.' in Czech Republic - they are equivalent. 'spol. s r.o.' is not present in termdata.py.

petri commented 7 years ago

Fix merged.