{"id":15979641,"url":"https://github.com/thinh-vu/nlp_toolbox","last_synced_at":"2025-11-11T03:30:23.868Z","repository":{"id":147536376,"uuid":"618872358","full_name":"thinh-vu/nlp_toolbox","owner":"thinh-vu","description":"nlp_toolbox provides a collection of tools for natural language processing tasks include using ChatGPT API to process prompts.","archived":false,"fork":false,"pushed_at":"2023-05-22T15:32:08.000Z","size":2546,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-28T12:13:37.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/thinh-vu.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":"2023-03-25T15:45:26.000Z","updated_at":"2024-01-25T21:40:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"baac7eaf-099e-40cf-95a9-bf0b120afe2a","html_url":"https://github.com/thinh-vu/nlp_toolbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinh-vu%2Fnlp_toolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinh-vu%2Fnlp_toolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinh-vu%2Fnlp_toolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinh-vu%2Fnlp_toolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinh-vu","download_url":"https://codeload.github.com/thinh-vu/nlp_toolbox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239587243,"owners_count":19663892,"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":[],"created_at":"2024-10-08T00:00:54.131Z","updated_at":"2025-11-11T03:30:23.818Z","avatar_url":"https://github.com/thinh-vu.png","language":"Jupyter Notebook","funding_links":["https://paypal.me/thinhvuphoto?country.x=VN\u0026locale.x=en_US"],"categories":[],"sub_categories":[],"readme":"# nlp_toolbox\nnlp_toolbox is an open-source GitHub repository that provides a collection of tools for natural language processing tasks. The repository provides functions for loading text from multiple sources such as the web and ebooks. Additionally, it includes functions for summarizing text, OCR, interacting with the OpenAI GPT API, and generating word clouds.\n\n\u003cdiv\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/pyversions/nlp_toolbox?logoColor=brown\u0026style=plastic\" alt= \"Version\"/\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/dm/nlp_toolbox\" alt=\"Download Badge\"/\u003e\n  \u003cimg src=\"https://img.shields.io/github/last-commit/thinh-vu/nlp_toolbox\" alt=\"Commit Badge\"/\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/thinh-vu/nlp_toolbox?color=red\" alt=\"License Badge\"/\u003e\n\u003c/div\u003e\n\n# II. REFERENCES\n## 2.1. How to use this package?\n- Install the stable version: `pip install nlp_toolbox`\n- You can install the latest `nlp_toolbox` version from source with the following command:\n`pip install git+https://github.com/thinh-vu/nlp_toolbox.git@main`\n\n_(*) You might need to insert a `!` before your command when running terminal commands on Google Colab._\n\n- To start using functions, you need to import them: `from nlp_toolbox import *`\n\n# III. DEPENDENCIES\n## ChatGPT API\nChatGPT API simplifies NLP tasks by allowing you to send a request in a prompt format and receive a response without the need for dependent packages.\n\nTo send a request to ChatGPT API endpoint, you will need an OpenAI API key that can be obtained from [OpenAI](https://platform.openai.com/account/api-keys).\n\n## spacy\n\nDownload pre-trained files using terminal.\n```\npython -m spacy download en_core_web_lg\npython -m spacy download en_core_web_sm\n```\n\n## pytesseract\n\n\u003cdetails\u003e\n  \u003csummary\u003e Quick installation guide \u003c/summary\u003e\n\n  **On Linux**\n\n  ```\n  sudo apt-get update\n  sudo apt-get install libleptonica-dev tesseract-ocr tesseract-ocr-dev libtesseract-dev python3-pil tesseract-ocr-eng tesseract-ocr-script-latn\n  ```\n  **On Mac**\n  `brew install tesseract`\n\n  **On Windows**\n  - Download binary from https://github.com/UB-Mannheim/tesseract/wiki. \n  - Add `pytesseract.pytesseract.tesseract_cmd = 'C:\\Program Files (x86)\\Tesseract-OCR\\tesseract.exe'` to your script.\n  - Install python package using pip:\n  ```\n  pip install tesseract\n  pip install tesseract-ocr\n  ```\n\u003c/details\u003e\n\nReference: [Installation guide](https://tesseract-ocr.github.io/tessdoc/Installation.html)\n\n- For Windows: Specific the location of the pytesseract by adding this code to your python project `pytesseract.pytesseract.tesseract_cmd = r'C:\\Users\\mrthi\\AppData\\Local\\Tesseract-OCR\\tesseract.exe'`\n\n- Add pre-trained languages data: \n  - Visit github and download the data file: [tessdata](https://github.com/tesseract-ocr/tessdata), eg: `vie.traineddata` for Vietnamese\n  - Copy the downloaded file to the `tessdata` folder, Eg `C:\\Users\\YOUR-USER-NAME\\AppData\\Local\\Tesseract-OCR\\tessdata`\n\n# IV. 🙋‍♂️ CONTACT INFORMATION\nYou can contact me at one of my social network profiles:\n\n\u003cdiv id=\"badges\" align=\"center\"\u003e\n  \u003ca href=\"https://www.linkedin.com/in/thinh-vu\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/LinkedIn-blue?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\" alt=\"LinkedIn Badge\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.messenger.com/t/mr.thinh.ueh\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Messenger-00B2FF?style=for-the-badge\u0026logo=messenger\u0026logoColor=white\" alt=\"Messenger Badge\"/\u003e\n  \u003ca href=\"https://www.youtube.com/channel/UCYgG-bmk92OhYsP20TS0MbQ\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/YouTube-red?style=for-the-badge\u0026logo=youtube\u0026logoColor=white\" alt=\"Youtube Badge\"/\u003e\n  \u003c/a\u003e\n  \u003c/a\u003e\n    \u003ca href=\"https://github.com/thinh-vu\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/GitHub-100000?style=for-the-badge\u0026logo=github\u0026logoColor=white\" alt=\"Github Badge\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n---\n\nIf you find value in my open-source projects and would like to support their development, you can donate via [Paypal](https://paypal.me/thinhvuphoto?country.x=VN\u0026locale.x=en_US) or Momo e-wallet (VN). Your contribution will help me maintain my blog hosting fee and continue to create high-quality content. Thank you for your support!\n\n![momo-qr](https://github.com/thinh-vu/vnstock/blob/main/src/momo-qr-thinhvu.jpeg?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinh-vu%2Fnlp_toolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinh-vu%2Fnlp_toolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinh-vu%2Fnlp_toolbox/lists"}