{"id":27093531,"url":"https://github.com/a-mhamdi/nlp","last_synced_at":"2026-05-09T01:13:26.813Z","repository":{"id":281749718,"uuid":"900120810","full_name":"a-mhamdi/nlp","owner":"a-mhamdi","description":"An Introduction to NLP in Python","archived":false,"fork":false,"pushed_at":"2025-03-29T13:31:19.000Z","size":3212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T14:28:08.669Z","etag":null,"topics":["gensim","marimo-notebook","ner","nlp-machine-learning","nltk","python3","spacy-nlp"],"latest_commit_sha":null,"homepage":"https://a-mhamdi.github.io/nlp/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a-mhamdi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-07T23:08:57.000Z","updated_at":"2025-03-29T13:31:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"819c2143-3fd5-437d-af1d-8f793e3a437c","html_url":"https://github.com/a-mhamdi/nlp","commit_stats":null,"previous_names":["a-mhamdi/nlp-workshop","a-mhamdi/nlp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-mhamdi%2Fnlp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-mhamdi%2Fnlp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-mhamdi%2Fnlp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-mhamdi%2Fnlp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-mhamdi","download_url":"https://codeload.github.com/a-mhamdi/nlp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457732,"owners_count":20941905,"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":["gensim","marimo-notebook","ner","nlp-machine-learning","nltk","python3","spacy-nlp"],"created_at":"2025-04-06T08:37:01.369Z","updated_at":"2026-05-09T01:13:21.765Z","avatar_url":"https://github.com/a-mhamdi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# An Introduction to NLP in Python\n\u003c!-- An Easy Way To Unlocking Language Using Code --\u003e\n\n[![NLP-CI](https://github.com/a-mhamdi/nlp/actions/workflows/nlp.yml/badge.svg)](https://github.com/a-mhamdi/nlp/actions/workflows/nlp.yml)\n[![Docker Version](https://img.shields.io/docker/v/abmhamdi/nlp?sort=semver)](https://hub.docker.com/r/abmhamdi/nlp)\n\nThis repository contains slides and code samples for using `Python` to implement some **NLP** related tasks. \n\n## Included Topics\nThe repository includes the implementation of the following parts:\n\u003e1. Regular Expressions (RegEx)\n\u003e1. Text Tokenization\n\u003e1. Text Processing and Visualization\n\u003e1. Gensim Text Processing\n\u003e1. Named Entity Recognition (NER)\n\n## Prerequisites\n\n\u003e [!NOTE]\n\u003e You can either follow the steps below for local installation or use the provided Docker image for a containerized environment.\n\n## Installation Steps\nThese commands will set up an isolated environment and install all required packages for this project.\n```zsh\nuv venv # creates a virtual environment: `.venv`\nuv sync # installs all dependencies\n```\n## Docker Setup\nCodes run on top of a `Docker` image, ensuring a consistent and reproducible environment. \n\n\u003e [!IMPORTANT]\n\u003e\n\u003e You will need to have `Docker` installed on your machine. You can download it from the [Docker website](https://hub.docker.com).\n\nTo run the code, you will need to first pull the `Docker` image by running the following command:\n\n```zsh\ndocker pull abmhamdi/nlp\n```\n\nThis may take a while, as it will download and install all necessary dependencies.\n\n## How to control the containers:\n\n* ```docker-compose up -d``` starts the container in detached mode\n* ```docker-compose down``` stops and destroys the container\n\nServices can be run by typing the command `docker-compose up`. This will start the `Jupyter Lab` on [http://localhost:2468](http://localhost:2468), and you should be able to use `Python` from within the notebook by starting a new `Python` notebook. You can parallelly start `Marimo` on [http://localhost:1357](http://localhost:1357).\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](https://raw.githubusercontent.com/a-mhamdi/nlp/refs/heads/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-mhamdi%2Fnlp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-mhamdi%2Fnlp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-mhamdi%2Fnlp/lists"}