Direct to indirect Speech Converter

Features

  1. Modern UI with Tailwind CSS:

    • Clean, responsive design that works on all devices

    • Speech bubble styling for input/output areas

    • Interactive elements with hover states

  2. Core Functionality:

    • Direct speech input with example loading

    • Indirect speech output with copy functionality

    • Conversion algorithm that handles:

      • Pronoun changes

      • Verb tense backshifting

      • Time expression adjustments

      • Reporting verb transformations

  3. User Guidance:

    • Tooltips for explanations

    • "How to Use" section

    • Grammar rules comparison

    • Sample loading button

  4. SEO Optimization:

    • Proper meta tags (title, description, keywords)

    • Semantic HTML structure

    • Helpful content for users and search engines

  5. User Experience:

    • Loading states during conversion

    • Success feedback when copying

    • Keyboard shortcut (Ctrl+Enter) for conversion

    • Accessible form elements

How to Use

  1. Enter direct speech in the left box (include the speaker if possible)

  2. Click "Convert to Indirect Speech" or press Ctrl+Enter

  3. View the converted indirect speech in the right box

  4. Copy the result using the copy button

The tool handles basic conversions well, though for complex sentences, a more sophisticated NLP approach would be needed in a production environment.