Skip to content

Spell checking, correcting and giving meaning of the correct word with an open source library gingerit

License

Notifications You must be signed in to change notification settings

Mohshaikh23/Spell_Corrector

Repository files navigation

Grammar & Spell Checker in Python

This is a simple grammar and spell checker application built with Python using the GingerIt library and Streamlit framework.

Description

The Grammar & Spell Checker in Python is a web-based application that allows users to input text and get suggestions for correcting grammar and spelling mistakes. It utilizes the GingerIt library, which provides grammar checking and correction capabilities, and Streamlit, a Python library for building interactive web applications.

Deployed at Render - Click here

The application provides the following features:

  • Text input area: Users can enter the text they want to check for grammar and spelling mistakes.
  • Correction button: Clicking this button triggers the grammar and spell checking process.
  • Progress bar: A progress bar shows the status of the checking process.
  • Result display: After the checking process is complete, the corrected sentence is displayed along with a table of corrections.
  • Balloons: Balloons animation is shown to indicate the completion of the parsing process.

Installation

To install and run the Grammar & Spell Checker in Python application, follow these steps:

1.Clone the repository:

git clone https://github.com/Mohshaikh23/Spell_Corrector.git

2.Navigate to the project directory:

cd grammar-spell-checker

3.Install the required dependencies:

pip install -r requirements.txt

4.Run the application:

streamlit run app.py

5.Open your web browser and access the application at https://localhost:8501.

sample

Usage

  1. Enter the text you want to check for grammar and spelling mistakes in the provided text area.

  2. Click the "Correct Sentence" button to initiate the checking process.

  3. Wait for the progress bar to complete. The application will display the corrected sentence and a table of corrections.

  4. You can click the "Corrections" button to view the detailed corrections in a pop-up window.

  5. If you want to check another sentence, simply clear the text area and enter a new sentence.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please feel free to submit a pull request or open an issue in the GitHub repository.

License

This project is licensed under the MIT License. See the LICENSE file for more information.