AI-Solutions-KK's picture
Update README.md
1c02a23 unverified

A newer version of the Streamlit SDK is available: 1.57.0

Upgrade
metadata
title: Rephraser App
emoji: ✍️
colorFrom: blue
colorTo: purple
sdk: streamlit
sdk_version: 1.28.0
app_file: app.py
pinned: false
license: mit

Rephraser — Paraphrase · Plagiarism Remover · Grammar & Spelling

A comprehensive text processing tool that offers three main functionalities:

Features

1. Para-phraser (Fast)

  • Quick sentence rephrasing
  • Multiple variant generation
  • Synonym replacement using WordNet
  • Structural sentence transformations

2. Plagiarism Remover (Deep)

  • Advanced paraphrasing pipeline
  • Uses Transformers models (T5, Pegasus)
  • Multiple algorithmic approaches
  • Human-like text conversion

3. Grammar & Spelling Check

  • LanguageTool integration for grammar checking
  • TextBlob fallback for spell checking
  • Visual highlighting of issues
  • Contextual spelling suggestions

File Support

  • Upload: .docx, .pdf, .txt files
  • Download: Processed files in original format (best-effort preservation)
  • Export: DOCX, PDF, or plain text

Key Features

  • Multi-version browsing: Navigate through different generated variants
  • Real-time editing: Edit results before saving
  • Format preservation: Maintains document structure when possible
  • Grammar highlighting: Visual feedback for corrections
  • Independent tools: Use each tool separately or chain them manually

Dependencies

The app uses several optional libraries:

  • python-docx for DOCX support
  • PyMuPDF for PDF processing
  • language-tool-python for grammar checking
  • textblob for spell checking
  • spacy for NLP processing
  • transformers for advanced paraphrasing
  • nltk for WordNet synonyms

Usage

  1. Input: Paste text or upload a document
  2. Process: Choose from the three available tools
  3. Review: Browse through generated variants
  4. Edit: Make manual adjustments if needed
  5. Export: Download in your preferred format

Technical Notes

  • Grammar checking prefers LanguageTool (requires Java) with TextBlob fallback
  • DOCX/PDF format preservation is best-effort
  • Tools work independently - no automatic chaining
  • Supports undo functionality for easy experimentation