s444356
This commit is contained in:
parent
1a9a6c9fdc
commit
a27bb54bed
1
run.py
1
run.py
@ -112,7 +112,6 @@ def clean_term(t):
|
|||||||
return term
|
return term
|
||||||
|
|
||||||
def find_part(l):
|
def find_part(l):
|
||||||
# regex = r'[A-Z][a-z]+\.*'
|
|
||||||
# regex = r'\b[A-Z]\w+(?:[ -]+?[A-Z]\w+?){0,2}[,\s]+(?i:inc|holding)\b'
|
# regex = r'\b[A-Z]\w+(?:[ -]+?[A-Z]\w+?){0,2}[,\s]+(?i:inc|holding)\b'
|
||||||
regex = r'\b[A-Z]\w+(?:[ -]+?[A-Z]\w+?){0,2}[,\s]+(?i:inc|holding|corporation|corp|llc)\b'
|
regex = r'\b[A-Z]\w+(?:[ -]+?[A-Z]\w+?){0,2}[,\s]+(?i:inc|holding|corporation|corp|llc)\b'
|
||||||
s = re.findall(regex, l)
|
s = re.findall(regex, l)
|
||||||
|
Loading…
Reference in New Issue
Block a user