{"id":17069611,"url":"https://github.com/freethenation/sentimental_nlp","last_synced_at":"2025-03-23T10:43:53.857Z","repository":{"id":71729655,"uuid":"147257092","full_name":"freethenation/sentimental_nlp","owner":"freethenation","description":"This repository contains a trained fastText model which preforms sentimental analysis on a product review, location review, etc.","archived":false,"fork":false,"pushed_at":"2018-10-30T09:13:10.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-28T17:17:10.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/freethenation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2018-09-03T21:54:52.000Z","updated_at":"2019-10-15T22:22:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"372c7f2b-fbee-4211-bca6-0bd4ef6b5de2","html_url":"https://github.com/freethenation/sentimental_nlp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freethenation%2Fsentimental_nlp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freethenation%2Fsentimental_nlp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freethenation%2Fsentimental_nlp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freethenation%2Fsentimental_nlp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freethenation","download_url":"https://codeload.github.com/freethenation/sentimental_nlp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245090866,"owners_count":20559296,"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-14T11:27:22.363Z","updated_at":"2025-03-23T10:43:53.838Z","avatar_url":"https://github.com/freethenation.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentimental NLP\n\nThis repository contains a trained fastText model which preforms sentimental analysis on a product review, location review, etc. Specifically, given a review, the model labels the review as `positive` or `negative`.\n\n### Some Examples\n\ngiven `the food smells bad` the model returns `negative`\ngiven `broke after 2 days` the model returns `negative`\ngiven `best seller A++++++` the model returns `positive`\n\n### Training data\n\nThe training data consisted of:\n\n* 200,000 Amazon product review\n* 200,000 eBay seller reviews\n* 30,000 Google Maps place reviews\n\nThe source training data is not released as part of this repository.\n\n## Install\n\nRun the included `./install.sh` script which will download the model and install all dependencies. You can optionally install the deps in a virtualenv.\n\n## Running\n\nThe included script, `./sentimental_nlp.py`, can read input from standard in or be ran as a webserver. Some examples:\n\n* `echo \"the product is bad\" | ./sentimental_nlp.py` to read line delimited input from standard in.\n* Run `./sentimental_nlp.py \"server\"` to start the webserver and then run `curl http://localhost:3000?review=bad` to use the server","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreethenation%2Fsentimental_nlp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreethenation%2Fsentimental_nlp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreethenation%2Fsentimental_nlp/lists"}