cools commited on
Commit
232fa5b
·
1 Parent(s): a9f58f0

Update Parser.py

Browse files
Files changed (1) hide show
  1. Parser.py +2 -0
Parser.py CHANGED
@@ -179,6 +179,8 @@ class Case:
179
 
180
  def get_date(self):
181
  print("Extracting Date")
 
 
182
  doc = nlp(self.pre.body_text[0:2000])
183
  sents = list(doc.sents)
184
  for s in sents:
 
179
 
180
  def get_date(self):
181
  print("Extracting Date")
182
+ if self.pre.body_text is None or self.pre.body_text == "":
183
+ print(self.paginated_dict)
184
  doc = nlp(self.pre.body_text[0:2000])
185
  sents = list(doc.sents)
186
  for s in sents: