{"id":21358247,"url":"https://github.com/snacsnoc/event-classifier-entity-recognition","last_synced_at":"2025-03-16T06:16:41.946Z","repository":{"id":215046968,"uuid":"737658741","full_name":"snacsnoc/event-classifier-entity-recognition","owner":"snacsnoc","description":"Custom classifier and named entity recognition models using Python for use with scheduling and events","archived":false,"fork":false,"pushed_at":"2024-01-02T06:46:01.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T18:33:33.337Z","etag":null,"topics":["named-entity-recognition","ner-project-with-spacy","nltk-python","text-classifier"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snacsnoc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-01T00:39:55.000Z","updated_at":"2024-09-08T20:14:36.000Z","dependencies_parsed_at":"2024-01-02T08:05:33.689Z","dependency_job_id":null,"html_url":"https://github.com/snacsnoc/event-classifier-entity-recognition","commit_stats":null,"previous_names":["snacsnoc/event-classifier-entity-recognition"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snacsnoc%2Fevent-classifier-entity-recognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snacsnoc%2Fevent-classifier-entity-recognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snacsnoc%2Fevent-classifier-entity-recognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snacsnoc%2Fevent-classifier-entity-recognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snacsnoc","download_url":"https://codeload.github.com/snacsnoc/event-classifier-entity-recognition/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830955,"owners_count":20354856,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["named-entity-recognition","ner-project-with-spacy","nltk-python","text-classifier"],"created_at":"2024-11-22T05:15:12.855Z","updated_at":"2025-03-16T06:16:41.923Z","avatar_url":"https://github.com/snacsnoc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Event Scheduler Classifier and NER Model\n\nThis repository contains code for an Event Scheduler and Named Entity Recognition (NER) model built using Python's NLTK and spaCy libraries. The project consists of two main components:\n\n1. **Event Scheduler**: A simple event scheduling and classification system that allows users to schedule events, meetings, and appointments using natural language commands. The NLTK library is used to train a Naive Bayes Classifier to classify user input into different scheduling commands.\n\n2. **NER Model**: A Named Entity Recognition model created using spaCy. This model identifies and extracts structured information from text, such as event names, dates, times, and attendees. The NER model is trained on a custom dataset.\n\n## Getting Started\n\nFollow these instructions to get the project up and running on your local machine.\n\n### Prerequisites\n\nBefore running the code, make sure you have the following dependencies installed:\n\n- Python 3.x\n- NLTK library \n- spaCy library \n\n### Installation\n\n1. Install the required Python packages:\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n__Event Scheduler__\n\nThe event scheduler uses a trained Naive Bayes Classifier to classify user input into scheduling commands. \nTo use it, run the `train_classifier.py` script. \n\nThe model saves into `model/classifier.pkl`\n\n__NER Model__\nThe NER model is trained to extract entities such as event names, dates, times, and attendees from text. To use it, follow the instructions below:\n\n1. Train the NER model:\n\nThe NER model is trained on a custom dataset. You can find the training data and code in the `train_parser.py` file.\n\n2. Save the trained NER model:\n\nAfter training, save the NER model using `nlp.to_disk(\"myapp/nlp_models/parser\")`.\n\n3. Test the model:\n\nYou can test the trained NER model using the `test_ner_model.py` script. Provide new text inputs to see how the model extracts entities.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnacsnoc%2Fevent-classifier-entity-recognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnacsnoc%2Fevent-classifier-entity-recognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnacsnoc%2Fevent-classifier-entity-recognition/lists"}