1234567891011121314151617 |
-
- from million.analyze.wordFinder import findWords
- from million.parse.fb_exports import FacebookExportParser
-
-
- DATA_PATH = './data/'
-
- parser = FacebookExportParser()
-
- export = parser.parse(DATA_PATH)
-
- grosMots = ['merde', 'putain', 'bite', 'nichon', 'con(ne)?', 'baiser?']
-
- msgGromots = findWords(export.messages, grosMots)
-
- for gromot in msgGromots:
- print(f"{gromot.sender_name} : {gromot.content}")
|