Inspiration
Grammarly, Copy.ai
What it does
Wordsmith is an AI-powered writing assistant that offers: Spelling Correction: Fixes typos and errors to ensure clean and professional text. Grammar Correction: Refines sentence structure, making your text grammatically accurate. Text Summarization: Creates concise summaries, perfect for quick insights or reducing verbose content. Suggestions: Provides meaningful improvements to elevate your writing.
How we built it
Frontend Overview
The frontend is built with HTML, CSS, and JavaScript to create a clean and user-friendly interface. Key features include: Navigation & Layout: A header with navigation links, a text input area in the main section, and a footer with copyright information. Interactive Features: Users can input text into a textarea and choose from four buttons: Fix Spelling, Summarize Text, Fix Grammar, or Get Suggestions. An output box displays results, and users can copy them with a single click. Styling: A modern design with fonts like Montserrat and Allura, combined with animations like a typewriter-style welcome message. JavaScript Logic: Functions like processSpelling handle communication with the backend via fetch requests.
Backend Overview The backend, built using Flask, processes text using advanced AI models. Key components include: Endpoints: /: Serves the main HTML page. /process_spelling, /process_summarization, /process_grammar, /process_suggestions: Handle text processing tasks by interacting with AI models.
AI Models: Spelling Correction: Uses the Hugging Face T5-large-spell model for accurate corrections. Summarization: Condenses lengthy text using the Falconsai/text_summarization model. Grammar Fixes: The vennify/t5-base-grammar-correction model corrects grammatical errors. Text Suggestions: Google’s Gemini GenAI provides contextual improvements. Error Handling: Returns fallback messages if processing fails or inputs are invalid.
Challenges we ran into
Optimizing the speed of the processing especially for the spelling and grammar API.
Accomplishments that we're proud of
It is responsive, we managed to optimize the processing speed and the frontend turned out good.
What we learned
Syncing javascript functions with python/Flask, converting the output from JSON to strings.
What's next for Wordsmith
Advanced Features: Plagiarism detection for ensuring originality. Tone and style analysis to help users adapt their writing to specific audiences. Mobile App: Extend Wordsmith’s functionality to Android and iOS platforms.
Multilingual Support: Support for multiple languages to assist non-English writers.
Collaboration Features: Real-time editing and sharing options for teams and groups.

Log in or sign up for Devpost to join the conversation.