Projects2026-02-26
App

PolyGlot AI - Multi-language Learning Assistant

Vue3TypeScriptAIDeepSeekPiniaVitelanguage-learningeducationChart.js
PolyGlot AI - Multi-language Learning Assistant

PolyGlot AI is a full-featured AI-powered multi-language learning assistant supporting 20+ languages. Built entirely with Vue 3 + TypeScript, it combines intelligent vocabulary management, diverse learning modes, AI-generated daily articles, RSS news reading, and a customizable learning dashboard — all running locally in the browser with no backend server required.

Core Features

Vocabulary Management

  • Create and manage multiple word books
  • Morphological variation support (case declension, tense, etc.)
  • AI batch-generated example sentences via DeepSeek API
  • Word relationship graph visualization
  • Advanced filtering and fuzzy search

7 Learning Modes

  • Flashcard — classic spaced repetition with configurable intervals
  • Multiple Choice — test recognition under time pressure
  • Listening — Web Speech API pronunciation + comprehension drills
  • Spelling — type the word from memory
  • Speaking — speech recognition powered oral practice
  • Comprehensive — mixed-mode assessment combining all skills
  • Writing — AI-graded free-form composition

All modes integrate an Ebbinghaus forgetting-curve review scheduler and an intelligent wrong-exercise bank that adapts to individual weak points.

AI Daily Articles

  • Personalized article generation via DeepSeek AI
  • Three translation modes: original-only, paragraph-parallel, full-translation
  • A-B loop audio playback for intensive listening
  • Hover-to-translate vocabulary tooltips

Multi-language News

  • 20+ language RSS news sources aggregated in-app
  • AI deep analysis: difficulty rating, key sentences, vocabulary extraction
  • Key sentence and keyword highlighting
  • Real-time highlight during audio playback
  • Bookmark and export functionality

AI Chat Assistant

  • Interactive conversational learning powered by DeepSeek
  • On-demand grammar explanations
  • Context-aware example sentence generation
  • Personalized study suggestions

Learning Dashboard

  • 15 customizable widgets: learning clock, streak counter, weekly progress, accuracy charts, vocabulary growth, upcoming reviews, and more
  • Drag-and-drop dashboard layout editor
  • AI-generated daily learning reports
  • Intelligent time tracking based on mouse activity

Technical Stack

  • Frontend: Vue 3 (Composition API) + TypeScript
  • State Management: Pinia
  • Build Tool: Vite
  • Charts: Chart.js
  • AI Service: DeepSeek API
  • Storage: LocalForage (IndexedDB) — fully offline data persistence
  • Speech: Web Speech API (synthesis + recognition)

Architecture

The application follows a modular architecture with feature-based component organization. Core learning logic is decoupled from UI through Pinia stores (stores/learning.ts, stores/vocab.ts, stores/user.ts), while utility modules handle specialized concerns like spaced-repetition scheduling (utils/reviewScheduler.ts), morphological analysis (utils/languageMorphology.ts), and AI integration (utils/aiHelper.ts). All user data persists locally in IndexedDB via LocalForage, making the application fully self-contained with no server-side dependency.