{"id":13413539,"url":"https://github.com/dinopuguh/gosentiwordnet","last_synced_at":"2026-01-12T15:51:48.064Z","repository":{"id":53947324,"uuid":"257540385","full_name":"dinopuguh/gosentiwordnet","owner":"dinopuguh","description":"💬 Sentiment analyzer library using SentiWordnet in Go","archived":false,"fork":false,"pushed_at":"2021-03-11T05:01:50.000Z","size":11183,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-31T20:52:32.755Z","etag":null,"topics":["go","golang","sentiment","sentiment-analysis","sentiment-analyzer","sentiment-classification","sentiwordnet"],"latest_commit_sha":null,"homepage":"","language":"Go","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/dinopuguh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"dinopuguh","tidelift":null,"custom":["https://trakteer.id/dinopuguh"]}},"created_at":"2020-04-21T09:09:28.000Z","updated_at":"2024-01-02T08:57:52.000Z","dependencies_parsed_at":"2022-08-13T05:10:57.090Z","dependency_job_id":null,"html_url":"https://github.com/dinopuguh/gosentiwordnet","commit_stats":null,"previous_names":["dinopuguh/go-sentiwordnet"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/dinopuguh/gosentiwordnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinopuguh%2Fgosentiwordnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinopuguh%2Fgosentiwordnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinopuguh%2Fgosentiwordnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinopuguh%2Fgosentiwordnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinopuguh","download_url":"https://codeload.github.com/dinopuguh/gosentiwordnet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinopuguh%2Fgosentiwordnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28341884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T15:50:39.657Z","status":"ssl_error","status_checked_at":"2026-01-12T15:49:49.297Z","response_time":98,"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":["go","golang","sentiment","sentiment-analysis","sentiment-analyzer","sentiment-classification","sentiwordnet"],"created_at":"2024-07-30T20:01:42.738Z","updated_at":"2026-01-12T15:51:48.038Z","avatar_url":"https://github.com/dinopuguh.png","language":"Go","funding_links":["https://ko-fi.com/dinopuguh","https://trakteer.id/dinopuguh","https://github.com/sponsors/dinopuguh"],"categories":["自然语言处理","Natural Language Processing","Bot Building","Microsoft Office","Relational Databases"],"sub_categories":["形态分析","Morphological Analyzers","Uncategorized","暂未分类","暂未分类这些库被放在这里是因为其他类别似乎都不适合。"],"readme":"# 💬 GoSentiwordnet\n\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/dinopuguh/gosentiwordnet/v2)](https://pkg.go.dev/github.com/dinopuguh/gosentiwordnet/v2)\n[![Unit Test Status](https://github.com/dinopuguh/gosentiwordnet/actions/workflows/unit-test.yml/badge.svg?branch=master)](https://github.com/dinopuguh/gosentiwordnet/actions) \n[![Go Report Card](https://goreportcard.com/badge/github.com/dinopuguh/gosentiwordnet)](https://goreportcard.com/report/github.com/dinopuguh/gosentiwordnet)\n[![codecov](https://codecov.io/gh/dinopuguh/gosentiwordnet/branch/master/graph/badge.svg)](https://codecov.io/gh/dinopuguh/gosentiwordnet)\n\nSentiment analyzer using [sentiwordnet](https://github.com/aesuli/SentiWordNet) lexicon in Go. This library produce sentiment score for each word, including positive, negative, and objective score.\n\n## ⚙ Installation\n\nFirst of all, [download](https://golang.org/dl/) and install Go `1.14` or higher is required.\n\nInstall this library using the [`go get`](https://golang.org/cmd/go/#hdr-Add_dependencies_to_current_module_and_install_them) command:\n\n```bash\n$ go get github.com/dinopuguh/gosentiwordnet/v2\n```\n\n## ⚡ Quickstart\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n\n    goswn \"github.com/dinopuguh/gosentiwordnet/v2\"\n)\n\nfunc main() {\n    sa := goswn.New()\n\n    scores, exist := sa.GetSentimentScore(\"love\", \"v\", \"2\")\n    if exist {\n        fmt.Println(\"💬 Sentiment score:\", scores) // =\u003e 💬 Sentiment score: {1 0 0}\n    }\n}\n```\n\nThe `GetSentimentScore` required 3 parameters(word, pos-tag, and word usage):\n\n1. **Word**: the word want to process\n2. **POS tag**: part-of-speech tag of the word\n3. **Word usage**: 1 for most common usage and a higher number would indicate lesser common usages\n\n## 👍 Contributing\n\nIf you want to say **thank you** and/or support the active development of `Gosentiwordnet`:\n\n1. Add a [GitHub Star](https://github.com/dinopuguh/gosentiwordnet/stargazers) to the project.\n2. Write a review or tutorial on [Medium](https://medium.com/), [Dev.to](https://dev.to/) or personal blog.\n3. Be a part of our [sponsors](https://github.com/sponsors/dinopuguh) to support this project.\n\n## 💻 Contributors\n\n- Dino Puguh (initial works)\n\nOpen for any pull requests to develop this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinopuguh%2Fgosentiwordnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinopuguh%2Fgosentiwordnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinopuguh%2Fgosentiwordnet/lists"}