https://github.com/codeasarjun/rewordify
You will get other sentences for provided inputs
https://github.com/codeasarjun/rewordify
api end-to-end-machine-learning end-to-end-project nltk nltk-python paraphrase-generation python rest-api tf-idf-vectorizer
Last synced: 10 months ago
JSON representation
You will get other sentences for provided inputs
- Host: GitHub
- URL: https://github.com/codeasarjun/rewordify
- Owner: codeasarjun
- Created: 2024-02-24T11:42:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-03T08:23:40.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T17:15:04.096Z (11 months ago)
- Topics: api, end-to-end-machine-learning, end-to-end-project, nltk, nltk-python, paraphrase-generation, python, rest-api, tf-idf-vectorizer
- Language: Python
- Homepage:
- Size: 405 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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