Skip to content

Added learning from folder #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from

Conversation

anchitjain1234
Copy link

Code for reading from directory directly without calling learn for every file included in learn.py.

I will have no effect as outer loop will run for 1 cycle but it was wrong.
1.  Added algo for selecting top 100 words from email to classify it as spam or ham.
2.  Added wordnet lemmatizer frmo nltk to lemmatize all thw words to be stored in db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant