@psolin, if you want to take a look, here's an implementation I promised on this. There are also additional tests to verify it works in cases where the business type term is:
prefixed to name
in the middle of the name
both (and also possibly suffixed)
Note that this implementation does not change the existing behavior of clean_name method.
Unless you're unhappy with this implementation for some reason, I will merge this tomorrow.
@psolin, if you want to take a look, here's an implementation I promised on this. There are also additional tests to verify it works in cases where the business type term is:
Note that this implementation does not change the existing behavior of clean_name method.
Unless you're unhappy with this implementation for some reason, I will merge this tomorrow.