The viewer is disabled because this dataset repo requires arbitrary Python code execution. Please consider removing the loading script and relying on automated data support (you can use convert_to_parquet from the datasets library). If this is not possible, please open a discussion for direct help.

Dataset Card for CaSSA, the Catalan Structured Sentiment Analysis dataset

Dataset Summary

The CaSSA dataset is a corpus of 6,400 reviews and forum messages annotated with polar expressions. Each piece of text is annotated with all the expressions of polarity that it contains. For each polar expression, we annotated the expression itself, the target (the object of the expression), and the source (the subject expressing the sentiment). 25,453 polar expressions have been annotated.

Supported Tasks and Leaderboards

This dataset can be used to train models for sentiment analysis.

Languages

The dataset is in Catalan (ca-ES).

Dataset Structure

Each instance in the dataset is a text. For each text, there can be 0 to unlimited polar expressions, which are contained in the "opinions" field. Each opinion contains a source, a target, a polar expression, a polarity value and an intensity value.

Data Instances

{
"sent_id": "2d6a3a0f-6686-4d8b-9c5f-51c424ff90be",
"text": "El seu menú de nit de cap de setmana es boníssim, plats fets amb criteri i que surten com un rellotge. Servei proper i amable. Per poc mes de 20 euros entre pisos i flautes menges com un rei.", 
"opinions": 
    [
      {
        "Source": None, 
        "Target": [["Servei"], ["103:109"]], 
        "Polar_expression": [["proper"], ["110:116"]], 
        "Polarity": "Neutral", 
        "Intensity": "Standard"
      }, 
      {
        "Source": None, 
        "Target": [["Servei"], ["103:109"]], 
        "Polar_expression": [["amable"], ["119:125"]], 
        "Polarity": "Positive", 
        "Intensity": "Standard"
      }, 
      {
        "Source": None, 
        "Target": None, 
        "Polar_expression": [["menges com un rei"], ["173:190"]], 
        "Polarity": "Positive", 
        "Intensity": "Strong"
      }, 
      {
        "Source": [["seu"], ["3:6"]], 
        "Target": [["menú de nit de cap de setmana"], ["7:36"]], 
        "Polar_expression": [["bon\u00edssim"], ["40:48"]], 
        "Polarity": "Positive", 
        "Intensity": "Strong"}, 
      {
        "Source": None, 
        "Target": [["plats"], ["50:55"]], 
        "Polar_expression": [["amb criteri"], ["61:72"]], 
        "Polarity": "Positive", 
        "Intensity": "Standard"
      }
    ]
}

Data Splits

The dataset does not contain splits.

Dataset Creation

Curation Rationale

We created this corpus to contribute to the development of language models in Catalan, a low-resource language.

Source Data

The data was collected using the messages from the GuiaCat online guide and the forum Racó Català.

Initial Data Collection and Normalization

We selected all the restaurant reviews we had from GuiaCat, and used a LLM to select messages in Racó Català that were written in the style of reviews.

Who are the source language producers?

The source language producers are users of GuiaCat and Racó Català.

Annotations

Each opinion contains a source, a target, a polar expression, a polarity value and an intensity value. Source, Target, and Polar_expressions are spans, which are represented both by the string and by the position of the characters. Polarity and Intensity are labels, which can respectively be, Positive, Negative and Neutral, and Standard and Strong.

Annotation process

  • The data was annotated by 2 annotators. In the cases in which they did not fully agree, a third annotator selected the preferred annotation.

Who are the annotators?

All the annotators are native speakers of Catalan.

Personal and Sensitive Information

The data from Racó Català was annonymised to remove user names and emails, which were changed to random Catalan names. The mentions to the forum itself have also been changed.

Considerations for Using the Data

Social Impact of Dataset

We hope this corpus contributes to the development of language models in Catalan, a low-resource language.

Discussion of Biases

We are aware that, since the data comes from online reviews and a public forum, this will contain biases, hate speech and toxic content. We have not applied any steps to reduce their impact.

Other Known Limitations

Additional Information

Dataset Curators

Language Technologies Unit (LangTech) at the Barcelona Supercomputing Center.

This work was funded by the Departament de la Vicepresidència i de Polítiques Digitals i Territori de la Generalitat de Catalunya within the framework of Projecte AINA.

Licensing Information

This work is licensed under a Creative Commons Attribution Non-commercial No-Derivatives 4.0 International License.

**The license has been updated to a more restrictive open license. Consequently, any downloads initiated after 12/03/2024 must adhere to the current licensing terms.

Citation Information


Contributions

Downloads last month
0
Edit dataset card

Collection including projecte-aina/CaSSA-catalan-structured-sentiment-analysis