Deployed Here: https://a-better-way-to-say-that.herokuapp.com/
- Overview
- Installation & Viewing
- Technologies Used
- Sample Sentences
- Functionality
- Future Additions
- Author
A Better Way To Say That uses the Sentiment Analysis API from Meaning Cloud and the Collegiate Thesaurus API from Merriam Webster to help users think of more positive or negative ways to say what they want to say. The sentiment analysis API identifies a sentence's overall tone and sorts out positive and negative words from that sentence. The Thesaurus API helps to replace positive or negative words in the sentence with randomly chosen synonyms or antonyms depending on how the user wants to change their sentence.
View original project spec here: project
Learning Goals:
- Apply everything learned so far about React, Cypress, and fetching from APis by building a React app in one week
- Go beyond a simple Ideabox React App by posting data to two APIs and combining / manipulating returned API data
- Use conditional styling and gradients to enhance the UI of the app
My application is deployed to Heroku. You may view the live application here
To view this application on your local device:
- Clone down this repository
- Run
npm i
in your terminal - Run
npm start
in your terminal - To view Cypress tests open a separate tab in your terminal and run
npm run cypress
Here are some sample sentence transformations:
Original:
New:
Original:
New:
Original:
New:
- A user may submit a sentence, see their sentence analyzed for overall tone, and see which words in their sentence were positive or negative
- Add the ability to adjust which words get changed and which stay the same when converting sentences
- Allow user to convert multiple sentences at once
- Allow user to swap out any word in their sentence for random synonyms or antonmys
- Allow user to choose from a list of synonyms or antonyms to replace words in their sentence with