Skip to content

codeasarjun/Rewordify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Rewordify : Rephrasing Web Application πŸ“πŸ”„

Overview

The Sentence Rephrasing Web Application is a Flask-based web application designed to provide users with the ability to input a sentence and choose a rephrasing style. The application uses the NLTK library for basic synonym replacement, offering four rephrasing styles: Simple English, Academic English, Fluency, and Technical English.

Implementation Details

Text Processing: Input text is tokenized to individual words, and synonyms are identified using NLTK's WordNet corpus or pre-trained word embeddings models. πŸ“βž‘οΈπŸ”€πŸ”„
Paraphrase Styles: Different styles of paraphrasing are implemented by adjusting synonym selection criteria. For example, simple paraphrasing selects basic synonyms, while academic paraphrasing prioritizes formal language. πŸŽ¨πŸ”„πŸ“š

Features

β€’ Web Interface: Users can interact with the application through a simple web interface.
β€’ Synonym Replacement: The application utilizes the NLTK library to replace words in the input sentence with their synonyms based on the selected rephrasing style.
β€’ Rephrasing Styles:
β€’ Simple English: Uses basic synonyms suitable for simple language.
β€’ Academic English: Focuses on more formal and academic synonyms.
β€’ Fluency: Allows for a mix of synonyms to enhance language fluency.
β€’ Technical English: Utilizes technical synonyms for a more specialized vocabulary.

Dependencies

β€’ Flask: Web framework for Python.
β€’ NLTK: Natural Language Toolkit for language processing.

Usage

  1. Install dependencies: pip install Flask nltk
  2. Run the Flask application: python app.py
  3. Access the application in a web browser at http://127.0.0.1:5000/.
  4. Enter a sentence, choose a rephrasing style, and click the "Rephrase" button.

Future Enhancements

β€’ Explore additional language processing libraries or algorithms for more advanced rephrasing capabilities.
β€’ Implement user authentication and storage for rephrased sentences.
β€’ Enhance the user interface for improved user experience.

Notes β€’ Ensure that the NLTK data is downloaded before running the application.

output

Releases

No releases published

Packages

No packages published