You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516
  1. from million.analyze.find_holes import find_holesV2
  2. from million.analyze.retain_counts import retain_counts
  3. from million.parse.fb_exports import FacebookExportParser
  4. DATA_PATH = './data/'
  5. parser = FacebookExportParser()
  6. export = parser.parse(DATA_PATH)
  7. filtered = retain_counts(export.messages)
  8. holes = find_holesV2(filtered)
  9. for hole in holes:
  10. print(f"{hole.start} - {hole.end} ({hole.end - hole.start})")
  11. print(hole.end_message)