Skip to content

Instantly share code, notes, and snippets.

Avatar
📈

Erik erikgregorywebb

📈
View GitHub Profile
@vinovator
vinovator / nltk_name_classifier.py
Last active Mar 3, 2020
Classifier to determine the gender of a name using NLTK library
View nltk_name_classifier.py
# nltk_name_classifier.py
# Python 2.7.6
"""
Classifier to determine the gender of a name using NLTK library
Classification - task of choosing the correct class label for a given input.
Supervised classifier:
Classifier that is built on training corpora containing the correct label