seedot


Nameseedot JSON
Version 2.1 PyPI version JSON
download
home_pagehttps://github.com/SEEDOT1/SEEDOT
SummarySEEDOT: Tool for Enhancing Sentiment Lexicon with Machine Learning
upload_time2023-06-10 15:23:10
maintainer
docs_urlNone
author['Seedot']
requires_python
licenseMIT License: http://opensource.org/licenses/MIT
keywords seedot vader sentiment analysis opinion mining nlp text data text analysis opinion analysis sentiment analysis text mining twitter sentiment opinion mining social media twitter social media
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- <h1 align="center">
<img src="https://gitlab.com/anna.giabelli/TaxoSS/-/blob/master/img/logo.svg" alt="TaxoSS" width="400">
</h1> -->
<h1 align="center">SEEDOT</h1>

<p align="center">
  <a href="#description">Description</a> •
  <a href="#installation">Installation</a> •
  <a href="#usage">Usage</a>
</p>

---

## Description

The **seedot** project aims to overcome the limitations of lexicon-based sentiment analysis tools, such as VADER, which are too general and not suitable for specific contexts. It addresses issues like word ambiguity, where a term may have different meanings based on the domain.
For example, "bull" can refer to an animal or indicate positive growth in the financial domain. 
The project consists of two main parts that lay the foundation for a comprehensive system capable of recognizing and analyzing specific discussion topics.

The SEEDOT package provides specialized dictionaries for sentiment analysis in the following domains:
- Food: food review on amazon
- Electronics: review of electronic products on amazon
- Hotel: review of amusement parks on tripadvisor
- Finance: reviews and tweets of financial topics

The key takeaway is that using specialized dictionaries trained on specific lexicons consistently improves the performance of VADER for sentiment analysis. Later on more domain will be added.

We encourage you to explore the insights and input provided by this project, which involves developing a system capable of identifying the topic of discussion in text and performing accurate analysis using specialized dictionaries. Furthermore, if you have specialized dictionaries that you would like to contribute, we welcome your collaboration to expand the range of options provided by **seedot**.

## Requirements

- Python 3.6 or later

## Installation

**seedot** can be installed through `pip` (the Python package manager) in the following way:

```bash
pip install seedot
```

## Usage

### Call domain specific dictonaries

The **seedot** package is designed to offer the same functionalities as the VADER package while also enabling the ability to invoke specific dictionaries for sentiment analysis in different domains.

The callable domain are presented in the following example:

```python
from seedot import seedot_food, seedot_electronic, seedot_hotel, seedot_finance
```

### Sentiment functions

The **seedot** package is a powerful tool for performing sentiment analysis in specific domains. It offers two main functions that allow you to leverage domain-specific dictionaries for accurate sentiment analysis:

- SentiText (`ST`): By calling the SentiText() function, you can identify sentiment-relevant string-level properties of input text. This function provides insights into the sentiment-related aspects of the text.
- SentimentIntensityAnalyzer (`SIA`): The SentimentIntensityAnalyzer() function assigns a sentiment intensity score to sentences. This score quantifies the sentiment expressed in a sentence, indicating the level of positivity or negativity.

To make the most of domain-specific sentiment analysis, the **seedot** package provides multiple domain-specific dictionaries. You can easily access these dictionaries using the following syntax:

```python
from seedot.seedot_food import food_ST, food_SIA
from seedot.seedot_electronic import electronic_ST, electronic_SIA
from seedot.seedot_hotel import hotel_ST, hotel_SIA
from seedot.seedot_finance import finance_ST, finance_SIA
```

Each domain-specific dictionary includes subfunctions that have been kept the same as those found in VADER, ensuring compatibility and familiarity. For detailed information and exploration of all the possibilities, we recommend referring to the official VADER repository on GitHub: <https://github.com/cjhutto/vaderSentiment>

With the **seedot** package, you can effortlessly perform sentiment analysis in various domains, unlocking valuable insights from text data.

### Example

Each domain-specific dictionary within the **seedot** package shares the same subfunctions, allowing for consistent usage across domains. To showcase the functionality, let's take a look at an example using the finance domain dictionary:

```python
from seedot.seedot_finance import finance_SIA
sentence = "Seedot stock will explode!!!"
analyzer = seedot_finance.finance_SIA()
vs = analyzer.polarity_scores(sentence) 
print("{:<13} {}".format(sentence, str(vs))

Seedot stock will explode!!! {'neg': 0.0, 'neu': 0.155, 'pos': 0.845, 'compound': 0.9165}
```

In this example, we import the finance sentiment analysis functions from the **seedot** package. We create an instance of the finance_SIA analyzer and use it to obtain the sentiment intensity scores for the given sentence. The output provides a dictionary with the sentiment scores, including the negative (neg), neutral (neu), positive (pos), and compound scores.

By using the **seedot** package, you can easily perform sentiment analysis in specific domains and gain valuable insights from textual data.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SEEDOT1/SEEDOT",
    "name": "seedot",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "seedot,vader,sentiment,analysis,opinion,mining,nlp,text,data,text analysis,opinion analysis,sentiment analysis,text mining,twitter sentiment,opinion mining,social media,twitter,social,media",
    "author": "['Seedot']",
    "author_email": "seedotvsvader@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/06/6a/e7666eff4e9f917cb5eeb1f9cd868ef2ac37b85e5771be5e34675c8096e4/seedot-2.1.tar.gz",
    "platform": "any",
    "description": "<!-- <h1 align=\"center\">\n<img src=\"https://gitlab.com/anna.giabelli/TaxoSS/-/blob/master/img/logo.svg\" alt=\"TaxoSS\" width=\"400\">\n</h1> -->\n<h1 align=\"center\">SEEDOT</h1>\n\n<p align=\"center\">\n  <a href=\"#description\">Description</a> \u2022\n  <a href=\"#installation\">Installation</a> \u2022\n  <a href=\"#usage\">Usage</a>\n</p>\n\n---\n\n## Description\n\nThe **seedot** project aims to overcome the limitations of lexicon-based sentiment analysis tools, such as VADER, which are too general and not suitable for specific contexts. It addresses issues like word ambiguity, where a term may have different meanings based on the domain.\nFor example, \"bull\" can refer to an animal or indicate positive growth in the financial domain. \nThe project consists of two main parts that lay the foundation for a comprehensive system capable of recognizing and analyzing specific discussion topics.\n\nThe SEEDOT package provides specialized dictionaries for sentiment analysis in the following domains:\n- Food: food review on amazon\n- Electronics: review of electronic products on amazon\n- Hotel: review of amusement parks on tripadvisor\n- Finance: reviews and tweets of financial topics\n\nThe key takeaway is that using specialized dictionaries trained on specific lexicons consistently improves the performance of VADER for sentiment analysis. Later on more domain will be added.\n\nWe encourage you to explore the insights and input provided by this project, which involves developing a system capable of identifying the topic of discussion in text and performing accurate analysis using specialized dictionaries. Furthermore, if you have specialized dictionaries that you would like to contribute, we welcome your collaboration to expand the range of options provided by **seedot**.\n\n## Requirements\n\n- Python 3.6 or later\n\n## Installation\n\n**seedot** can be installed through `pip` (the Python package manager) in the following way:\n\n```bash\npip install seedot\n```\n\n## Usage\n\n### Call domain specific dictonaries\n\nThe **seedot** package is designed to offer the same functionalities as the VADER package while also enabling the ability to invoke specific dictionaries for sentiment analysis in different domains.\n\nThe callable domain are presented in the following example:\n\n```python\nfrom seedot import seedot_food, seedot_electronic, seedot_hotel, seedot_finance\n```\n\n### Sentiment functions\n\nThe **seedot** package is a powerful tool for performing sentiment analysis in specific domains. It offers two main functions that allow you to leverage domain-specific dictionaries for accurate sentiment analysis:\n\n- SentiText (`ST`): By calling the SentiText() function, you can identify sentiment-relevant string-level properties of input text. This function provides insights into the sentiment-related aspects of the text.\n- SentimentIntensityAnalyzer (`SIA`): The SentimentIntensityAnalyzer() function assigns a sentiment intensity score to sentences. This score quantifies the sentiment expressed in a sentence, indicating the level of positivity or negativity.\n\nTo make the most of domain-specific sentiment analysis, the **seedot** package provides multiple domain-specific dictionaries. You can easily access these dictionaries using the following syntax:\n\n```python\nfrom seedot.seedot_food import food_ST, food_SIA\nfrom seedot.seedot_electronic import electronic_ST, electronic_SIA\nfrom seedot.seedot_hotel import hotel_ST, hotel_SIA\nfrom seedot.seedot_finance import finance_ST, finance_SIA\n```\n\nEach domain-specific dictionary includes subfunctions that have been kept the same as those found in VADER, ensuring compatibility and familiarity. For detailed information and exploration of all the possibilities, we recommend referring to the official VADER repository on GitHub: <https://github.com/cjhutto/vaderSentiment>\n\nWith the **seedot** package, you can effortlessly perform sentiment analysis in various domains, unlocking valuable insights from text data.\n\n### Example\n\nEach domain-specific dictionary within the **seedot** package shares the same subfunctions, allowing for consistent usage across domains. To showcase the functionality, let's take a look at an example using the finance domain dictionary:\n\n```python\nfrom seedot.seedot_finance import finance_SIA\nsentence = \"Seedot stock will explode!!!\"\nanalyzer = seedot_finance.finance_SIA()\nvs = analyzer.polarity_scores(sentence) \nprint(\"{:<13} {}\".format(sentence, str(vs))\n\nSeedot stock will explode!!! {'neg': 0.0, 'neu': 0.155, 'pos': 0.845, 'compound': 0.9165}\n```\n\nIn this example, we import the finance sentiment analysis functions from the **seedot** package. We create an instance of the finance_SIA analyzer and use it to obtain the sentiment intensity scores for the given sentence. The output provides a dictionary with the sentiment scores, including the negative (neg), neutral (neu), positive (pos), and compound scores.\n\nBy using the **seedot** package, you can easily perform sentiment analysis in specific domains and gain valuable insights from textual data.\n",
    "bugtrack_url": null,
    "license": "MIT License: http://opensource.org/licenses/MIT",
    "summary": "SEEDOT: Tool for Enhancing Sentiment Lexicon with Machine Learning",
    "version": "2.1",
    "project_urls": {
        "Homepage": "https://github.com/SEEDOT1/SEEDOT"
    },
    "split_keywords": [
        "seedot",
        "vader",
        "sentiment",
        "analysis",
        "opinion",
        "mining",
        "nlp",
        "text",
        "data",
        "text analysis",
        "opinion analysis",
        "sentiment analysis",
        "text mining",
        "twitter sentiment",
        "opinion mining",
        "social media",
        "twitter",
        "social",
        "media"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cff88deceaf8b32c26e4eb5f33b25f46567f7fc73bebb61fcf909b07435ea8fb",
                "md5": "3de20382ee910f50a03cfd50d0e494d4",
                "sha256": "e2a47c9ac309defe2076ce413165c1bb66509fdf725a13e7ebfce7046d0bc4c5"
            },
            "downloads": -1,
            "filename": "seedot-2.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3de20382ee910f50a03cfd50d0e494d4",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 206256,
            "upload_time": "2023-06-10T15:23:07",
            "upload_time_iso_8601": "2023-06-10T15:23:07.417749Z",
            "url": "https://files.pythonhosted.org/packages/cf/f8/8deceaf8b32c26e4eb5f33b25f46567f7fc73bebb61fcf909b07435ea8fb/seedot-2.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "066ae7666eff4e9f917cb5eeb1f9cd868ef2ac37b85e5771be5e34675c8096e4",
                "md5": "8e2d3d387005c730c68b445fa7cca57c",
                "sha256": "273edc7713c65d46108dc96ead7b7da86539073481162476a81a517d0ea0641d"
            },
            "downloads": -1,
            "filename": "seedot-2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8e2d3d387005c730c68b445fa7cca57c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 208229,
            "upload_time": "2023-06-10T15:23:10",
            "upload_time_iso_8601": "2023-06-10T15:23:10.099466Z",
            "url": "https://files.pythonhosted.org/packages/06/6a/e7666eff4e9f917cb5eeb1f9cd868ef2ac37b85e5771be5e34675c8096e4/seedot-2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-10 15:23:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "SEEDOT1",
    "github_project": "SEEDOT",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "seedot"
}
        
Elapsed time: 0.07594s