This was caused by a chinese company name of the form:
(SHENZHEN) COMPANY, LIMITED
The method that tries to parse out the company name before the city part in parentheses fails, because it is at the beginning of the string (the actual company name seems missing).
Fixed it by skipping the company name parsing if this is the case and included a unit test for this.
Fixes https://github.com/USPTO/PatentPublicData/issues/125.
This was caused by a chinese company name of the form:
The method that tries to parse out the company name before the city part in parentheses fails, because it is at the beginning of the string (the actual company name seems missing).
Fixed it by skipping the company name parsing if this is the case and included a unit test for this.