Closed NeaMitika closed 1 year ago
The library was not able to create correctly config files if imported as a python module, this PR fixes this bug. Please use the updated version to see the correct behavior. Since the bug has been solved I'm closing this issue, feel free to reopen it if the bug persists.
It's fixed, thank you for the ultra fast response.
Describe the bug
To Reproduce Run this script:
Expected behavior
It should print:
Il file EML è spam. OR Il file EML non è spam.
Desktop (please complete the following information): Edizione Windows 10 Enterprise Versione 22H2 Data installazione: 08/07/2023 Build sistema operativo 19045.3208 Esperienza Windows Feature Experience Pack 1000.19041.1000.0
Python Version Python 3.10.6
Additional context
The onlyway to make it work i had to manualy create the directory:
C:\Users\Luciano M\.config\spamanalyzer
and place inside the files: word_blacklist.txt, classifier.pkl, config.yaml. Then change the content of the config.yaml to: