This repository contains a machine learning-based solution for the automatic detection of negation and the words they affect in Spanish text. The solution is divided into two phases: first, it identifies the negation signals, and second, it determines the scope of these signals. This approach can improve tasks in Natural Language Processing (NLP) such as Information Extraction, Sentiment Analysis, and Question Answering.
- Detects negation signals in Spanish texts
- Identifies the scope of negations
- Built using supervised machine learning techniques
To set up the project, clone the repository and install dependencies:
git clone https://github.com/lorainemg/negation-detection.git
cd negation-detection
docker-compose upAfter setting up, you can use the script for negation detection. Specific instructions on how to run the model can be added here.
This project is licensed under the MIT License - see the LICENSE file for details.
This work utilizes a corpus from Clic Corpus for training.