|
@@ -75,7 +75,7 @@ def defendent_extraction(content):
|
|
"""
|
|
"""
|
|
Extracts the defendant from the document
|
|
Extracts the defendant from the document
|
|
"""
|
|
"""
|
|
- regex = r"(\w.*?)\n\s?\n?\s\s?(Defendants|Patent\sOwners?)"
|
|
|
|
|
|
+ regex = r"(\w.*?)\n\s?\n?\s?\s?(Defendants|Patent\sOwners?)"
|
|
try:
|
|
try:
|
|
return re.search(regex, content).group(1)
|
|
return re.search(regex, content).group(1)
|
|
except:
|
|
except:
|