💻 Programmierung & Entwicklung

Text Analyzer Tool

📁 Programmierung & Entwicklung 👤 Beigetragen von @f 🗓️ Aktualisiert
Der Prompt
Build a comprehensive text analysis tool using HTML5, CSS3, and JavaScript. Create a clean interface with text input area and results dashboard. Implement word count, character count, and reading time estimation. Add readability scoring using multiple algorithms (Flesch-Kincaid, SMOG, Coleman-Liau). Include keyword density analysis with visualization. Implement sentiment analysis with emotional tone detection. Add grammar and spelling checking with suggestions. Include text comparison functionality for similarity detection. Support multiple languages with automatic detection. Add export functionality for analysis reports. Implement text formatting and cleaning tools.

Beispiel-Ausgaben

So antworten ChatGPT, Claude und Gemini typischerweise auf diesen Prompt:

🚀 ChatGPT

I'll help you build a comprehensive text analysis tool! Let's start with the HTML structure featuring a textarea for input and a dashboard with cards for metrics. We'll use the Compromise library for NLP, Chart.js for keyword visualization, and the Levenshtein algorithm for similarity detection. The readability scores will be calculated using standard formulas, and we'll integrate the LanguageDetect library for multi-language support. I'll include a clean, responsive design with CSS Grid and provide downloadable JSON/PDF reports.

✨ Claude

This is an ambitious project that touches on several complex areas. I can help you build the core structure with word/character counting and basic readability metrics, but I should note that truly robust grammar checking and sentiment analysis typically require external APIs or large ML models. For a client-side implementation, we could use simpler heuristics for sentiment and focus on the metrics that can be accurately calculated in the browser. Would you like me to start with the foundational features first?

💎 Gemini

I can provide code for a text analysis tool with word/character counting, reading time estimation (based on 200-250 WPM averages), and readability formulas like Flesch-Kincaid Grade Level. For sentiment analysis, you'll need an external API like Google Cloud Natural Language or a lightweight library. Grammar checking typically requires services like LanguageTool API. Language detection can use libraries like franc or cld3-asm. I'll create a modular structure where API-dependent features are clearly separated from client-side calculations.

So nutzt du diesen Prompt

Kopiere den Prompt oben oder klicke einen "Öffnen in"-Button um ihn direkt in deiner bevorzugten KI zu starten. Du kannst den Text dann an deinen Anwendungsfall anpassen — z.B. Platzhalter wie [dein Thema] durch echten Kontext ersetzen.

Welches KI-Modell funktioniert am besten

Claude Opus 4 und Sonnet 4.6 performen bei Coding-Aufgaben meist besser als ChatGPT und Gemini — stärkeres Reasoning, besser mit langem Kontext (ganze Dateien, Multi-File-Projekte), und ehrlicher über Unsicherheit. ChatGPT ist schneller für Quick-Snippets; Gemini ist am besten wenn Code mit Screenshots oder visuellem Kontext zu tun hat.

Diesen Prompt anpassen

Tausche die im Prompt erwähnte Sprache (Python, JavaScript, etc.) gegen deinen Stack. Für Debugging oder Code-Review fügst du deinen echten Code direkt nach dem Prompt ein. Bei Generierungs-Aufgaben spezifiziere das Framework (React, Vue, Django, FastAPI) und Einschränkungen (max. Zeilen, keine externen Libraries, muss async sein).

Typische Anwendungsfälle

  • Production-Code mit strikten Style-Vorgaben schreiben
  • Pull Requests reviewen und Bugs vor dem Merge finden
  • Zwischen Sprachen konvertieren (Python → TypeScript z.B.)
  • Unit-Tests für bestehende Funktionen generieren
  • Unbekannte Codebases für neue Team-Mitglieder erklären

Variationen

Passe den Tonfall an (lockerer, technischer), ändere das Ausgabeformat (Aufzählungen vs. Absätze) oder füge Einschränkungen hinzu (Wortlimits, Zielgruppe).

Verwandte Prompts