Welcome to the Text Analyzer App! This application allows users to analyze text, including word count
, character count
, sentiment analysis
, and typing speed calculation
. It's a handy tool for improving typing skills, understanding the sentiment of a piece of text, and analyzing word frequency
-
Text Analysis: Analyze the input text to determine
word count
,character count
,sentiment score
,sentiment result
, andword frequency
-
Typing Speed Calculation: Calculate typing speed in characters per minute while typing.
-
Word Frequency Analysis: Calculates the frequency of each word in the input text and displays it in a
chart
. -
Clear Text: Clear the input text and reset all analysis results.
-
Prevent Pasting: Prevent copying and pasting of text to ensure accurate typing speed calculation.
-
Responsive Design: The app is responsive and works well on both desktop and mobile devices.
-
React: Built using React framework for the frontend user interface.
-
Chakra UI: Used Chakra UI for styling and components.
-
Sentiment Library: Utilized the sentiment library for sentiment analysis.
-
Chart.js: Integrated Chart.js for displaying word frequency in a chart.
-
Vite: Next-generation frontend tooling for React projects.
-
Firebase: Platform for building web and mobile applications, including Firestore for database storage and Firebase Hosting for deployment.
To run the Text analyzer locally, follow these steps:
-
Clone this repository to your local machine;
$ git clone https://github.com/Nyakuji/Text-Analyzer-App.git
-
Navigate to the project directory;
$ cd Text-Analyzer-App
-
Install dependencies by running;
$ npm install
-
Start the development server with;
$ npm run dev
-
Open your browser and visit http://localhost:3000 to view the application
- Enter some text into the text area.
- Click on the
Analyze Text
button to analyze the text. - View the analysis results displayed below the text area.
- Optionally, clear the text and analysis results using the
Clear
button.
Contributions are welcome! If you'd like to contribute to the project, please follow these steps:
- Fork the repository.
- Create your feature branch (
git checkout -b feature/YourFeatureName
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeatureName
). - Open a pull request.
- Thanks to Chakra UI for providing a great set of components and styling utilities.
- Thanks to the developers of the sentiment library and Chart.js for their useful tools.