{"id":41374504,"url":"https://github.com/thinkful-ed/solution-code-text-processing-api-project","last_synced_at":"2026-01-23T10:00:11.341Z","repository":{"id":203630956,"uuid":"710056942","full_name":"Thinkful-Ed/solution-code-text-processing-api-project","owner":"Thinkful-Ed","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-26T19:03:16.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2023-11-20T17:51:13.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Thinkful-Ed.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}},"created_at":"2023-10-25T23:41:54.000Z","updated_at":"2023-10-25T23:42:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd6f6c32-e4ed-4da4-96f7-159019fd90e8","html_url":"https://github.com/Thinkful-Ed/solution-code-text-processing-api-project","commit_stats":null,"previous_names":["thinkful-ed/solution-code-text-processing-api-project"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/Thinkful-Ed/solution-code-text-processing-api-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thinkful-Ed%2Fsolution-code-text-processing-api-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thinkful-Ed%2Fsolution-code-text-processing-api-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thinkful-Ed%2Fsolution-code-text-processing-api-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thinkful-Ed%2Fsolution-code-text-processing-api-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thinkful-Ed","download_url":"https://codeload.github.com/Thinkful-Ed/solution-code-text-processing-api-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thinkful-Ed%2Fsolution-code-text-processing-api-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28687414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-23T10:00:06.629Z","updated_at":"2026-01-23T10:00:11.329Z","avatar_url":"https://github.com/Thinkful-Ed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solution Code: Text Processing API Project\n\n\nThis API provides text processing functionalities, such as tokenization into words and sentences, and spelling correction, leveraging the capabilities of the TextBlob library.\n\n## Installation\n\n1. Clone this repository.\n2. Navigate to the project directory:\n   ```bash\n   cd path_to_directory\n   ```\n3. Set up a virtual environment (recommended). Depending on your operating system, use one of the following:\n   - On macOS and Linux:\n     ```bash\n     python -m venv venv\n     source venv/bin/activate\n     ```\n   - On Windows:\n     ```bash\n     python -m venv venv\n     .\\venv\\Scripts\\activate\n     ```\n4. Install the required packages (Flask should be in the `requirements.txt`):\n   ```shell\n   pip install -r requirements.txt\n   ```\n5. And then, download the necessary corpora for TextBlob:\n   ```bash\n   python -m textblob.download_corpora\n   ```\n6. Run the API:\n   * By default, the API will start on `http://127.0.0.1:5001/`.\n   ```bash\n   python path_to_file.py\n   ```\n\n## Endpoints and Usage\n\n1. Home Endpoint:\n\n   Navigate to `/` to get a welcome message.\n\n2. Tokenization Endpoint (`/tokenize`):\n\n   - Method: `POST`\n   - Request Body: `{\"text\": \"Your text here.\"}`\n   - Response: A JSON with tokenized words and sentences.\n\n3. Text Correction Endpoint (`/correct`):\n\n   - Method: `POST`\n   - Request Body: `{\"text\": \"Your text with errrs.\"}`\n   - Response: A JSON with the corrected text.\n\n## Description\n\nThis API is built on Flask and utilizes the TextBlob library for natural language processing tasks, such as tokenization and spelling correction. The API is designed to be simple, intuitive, and cater to basic text processing needs.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkful-ed%2Fsolution-code-text-processing-api-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkful-ed%2Fsolution-code-text-processing-api-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkful-ed%2Fsolution-code-text-processing-api-project/lists"}