{"id":13482629,"url":"https://github.com/kevincobain2000/sentiment_classifier","last_synced_at":"2025-04-07T11:11:19.946Z","repository":{"id":2368615,"uuid":"3332898","full_name":"kevincobain2000/sentiment_classifier","owner":"kevincobain2000","description":"Sentiment Classification using Word Sense Disambiguation","archived":false,"fork":false,"pushed_at":"2022-04-05T01:04:07.000Z","size":25301,"stargazers_count":170,"open_issues_count":0,"forks_count":34,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-31T10:11:12.436Z","etag":null,"topics":["machine-learning","sentiment-analysis","word-sense-disambiguation","wsd"],"latest_commit_sha":null,"homepage":"","language":"OpenEdge ABL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevincobain2000.png","metadata":{"files":{"readme":"README","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}},"created_at":"2012-02-02T07:40:39.000Z","updated_at":"2025-03-24T15:35:57.000Z","dependencies_parsed_at":"2022-08-26T22:31:37.383Z","dependency_job_id":null,"html_url":"https://github.com/kevincobain2000/sentiment_classifier","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/kevincobain2000%2Fsentiment_classifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevincobain2000%2Fsentiment_classifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevincobain2000%2Fsentiment_classifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevincobain2000%2Fsentiment_classifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevincobain2000","download_url":"https://codeload.github.com/kevincobain2000/sentiment_classifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640465,"owners_count":20971557,"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":["machine-learning","sentiment-analysis","word-sense-disambiguation","wsd"],"created_at":"2024-07-31T17:01:03.884Z","updated_at":"2025-04-07T11:11:19.904Z","avatar_url":"https://github.com/kevincobain2000.png","language":"OpenEdge ABL","funding_links":[],"categories":["Python","函式庫","Packages","Open Source Implementations"],"sub_categories":["General-Purpose Machine Learning","書籍","Libraries","Python"],"readme":"Sentiment Classification using WSD\n==================================\n\n- ``pip install sentiment_classifier``\n- `Home \u003chttp://www.jaist.ac.jp/~s1010205/\u003e`_\n- `Download \u003chttp://pythonpackages.com/package/sentiment_classifier\u003e`_\n- `Github \u003chttps://github.com/kevincobain2000/sentiment_classifier\u003e`_\n- `Try Online \u003chttp://www.jaist.ac.jp/~s1010205/sentiment_classifier/\u003e`_\n\n\nOverview\n--------\n\nSentiment Classifier using Word Sense Disambiguation using ``wordnet`` and word occurance\nstatistics from movie review corpus ``nltk``. Classifies into positive and negative categories.\n\nOnline Demo\n-----------\n\n- `Try Online \u003chttp://www.jaist.ac.jp/~s1010205/sentiment_classifier/\u003e`_\n\n\nRequirements\n------------\n\nIn ``Version 0.5`` all the following requirements are installed automatically. In case of troubles install those manually.\n\n- You must have Python 2.6.\n- NLTK http://www.nltk.org  2.0 installed. \n- NumPy http://numpy.scipy.org\n- SentiWordNet http://sentiwordnet.isti.cnr.it \n\n\nHow to Install\n--------------\n\nShell command ::\n\n  python setup.py install\n\nDocumentation\n-------------\n\n- http://pythonhosted.org/sentiment_classifier/\n  \n\nScript Usage\n------------\n\nShell Commands::\n\n  senti_classifier -c file/with/review.txt\n\nPython Usage\n------------\n\nShell Commands ::\n\n  cd sentiment_classifier/src/senti_classifier/\n  python senti_classifier.py -c reviews.txt\n\nLibrary Usage\n-------------\n\n::\n  \n    from senti_classifier import senti_classifier\n    sentences = ['The movie was the worst movie', 'It was the worst acting by the actors']\n    pos_score, neg_score = senti_classifier.polarity_scores(sentences)\n    print pos_score, neg_score\n    ... 0.0 1.75\n\n::\n\n  from senti_classifier.senti_classifier import synsets_scores\n  print synsets_scores['peaceful.a.01']['pos']\n  \n  ... 0.25\n\n\nHistory\n=======\n\n- ``0.7`` Python 3.0 suport Thanks to @MrLokans\n- ``0.6`` Bug Fixed upon nltk upgrade\n- ``0.5`` No additional data required trained data is loaded automatically. Much faster/Optimized than previous versions.\n- ``0.4`` Added Bag of Words as a Feature as occurance statistics\n- ``0.3`` Sentiment Classifier First app, Using WSD module\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevincobain2000%2Fsentiment_classifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevincobain2000%2Fsentiment_classifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevincobain2000%2Fsentiment_classifier/lists"}