Explorar el Código

uncommented code for pdf_parser

Harsh Parikh hace 2 años
padre
commit
08d1eff0f4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      pdfs/pdf_parser.py

+ 2 - 2
pdfs/pdf_parser.py

@@ -25,8 +25,8 @@ def main(PATH):
         content = parser.from_file(file)["content"].strip().replace("\n", "")
         data_dict["document_name"].append(file)
         data_dict["filing_date"].append(extract_filing_date(content))
-        # data_dict["address"].append(address_extraction(content))
-        # data_dict["refer"].append(refer_exteraction(content))
+        data_dict["address"].append(address_extraction(content))
+        data_dict["refer"].append(refer_exteraction(content))
         data_dict["email"].append(email_extraction(content))
         data_dict["telephone_number"].append(telephone_number_extraction(content))