A newer version of the Streamlit SDK is available: 1.57.0
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-docxfor DOCX supportPyMuPDFfor PDF processinglanguage-tool-pythonfor grammar checkingtextblobfor spell checkingspacyfor NLP processingtransformersfor advanced paraphrasingnltkfor WordNet synonyms
Usage
- Input: Paste text or upload a document
- Process: Choose from the three available tools
- Review: Browse through generated variants
- Edit: Make manual adjustments if needed
- 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