This project demonstrate practical NLP usage with clean code, simple validation, and basic evaluation.
run
# -- CREATE A VIRTUAL ENV WITH CMD --
python -m venv venv #to create the env
venv\Scripts\activate #to activate the env
# -- INSTALL THE FOLLOWING DEPENDENCIES --
pip install textblob
python -m textblob.download_corporaPositive Test
| Prediction | Sentence | Outcome |
|---|---|---|
| Positive | 1. I love textblob | Positive |
| Positive | 2. The juice taste really great | Positive |
| Positive | 3. Coding feels great when using python | Positive |
| Positive | 4. We are the new generation | Positive |
Negative |
||
| negative | 1. I hate it when it hurts | Negative |
| Negative | 2. John is going crazy | Negative |
| Negative | 3. You are not a good person | Negative |
| Negative | 4. You are never honest | Negative |
Neutral |
||
| Neutral | 1. I don't know who I am | Neutral |
| Neutral | 2. I'm there | Neutral |
| Neutral | 3. She don't know | Neutral |
| Neutral | 4. I am blessed | Neutral |
uncertain |
||
| uncertain | 1. This movie is sick! | Negative |
| uncertain | 2. Not the best experience | Positive |