Skip to content

Dubemchukwu/Dictionary

Repository files navigation

Dictionary App with AI Features

Overview

The Dictionary App with AI Features is a powerful application that combines traditional dictionary functionalities with modern artificial intelligence. Entirely developed using the Flet framework, it uses Gemini AI API for intelligent features and integrates Pexels and Picsum APIs for visual enhancements. This app provides users with intuitive word search, detailed insights, and bookmarking capabilities for personal vocabulary building.


Features

1. Basic Dictionary Functions

  • Word Definitions: Look up words to get concise and detailed definitions.
  • Parts of Speech: Clearly identify whether a word is a noun, verb, adjective, etc.
  • Images: Display relevant images to visually represent the searched word where applicable.

2. AI-Powered Synonym and Antonym Finder

  • Synonyms: Suggest similar words to enhance vocabulary.
  • Antonyms: Provide opposite words for better understanding.
  • AI Suggestions: Use Gemini AI API to rank the most contextually relevant synonyms/antonyms.

3. Contextual Usage Examples

  • AI generates example sentences to show how the word is used in real-world contexts.
  • Highlights the word in different settings, such as formal, informal, or technical writing.

4. Word of the Day

  • AI selects a daily word based on trending searches or user preferences.
  • Provides rich insights into the selected word, including origin, usage, and interesting facts.

5. Bookmarking for Personal Vocabulary

  • Users can bookmark frequently searched words.
  • View saved words in a dedicated "Bookmarks" section for easy reference.

6. Offline Mode

  • Allows users to view their saved searches without an internet connection.
  • Ensures essential dictionary functionality remains accessible offline.

Technical Specifications

1. Framework

  • Framework Used: Flet for both frontend and backend, providing a unified development environment.
  • UI Features:
    • Intuitive search bar with real-time suggestions.
    • Clean and minimalistic design with dark and light modes.
    • Interactive elements like word cards, image panels, and search history.

2. AI Integration

  • Gemini AI API:
    • Provides natural language processing capabilities for synonyms, antonyms, and contextual examples.
  • Image Suggestions:
    • Integrated with Pexels and Picsum APIs to fetch visuals matching the searched words.

3. Offline Mode

  • Allows viewing of saved searches without requiring internet access.
  • Relies on local storage for bookmarked content.

User Interface Design

Home Screen

Home Screen

  • Search bar with AI-powered autocomplete.
  • "Word of the Day" section with a highlighted word and relevant image.
  • Quick links to Synonyms, Antonyms, and Bookmark features.

Word Detail Page

Word Detail Page

  • Definition(s) of the word.
  • Relevant images for visual representation.
  • Synonyms and Antonyms.
  • Example sentences.

Bookmarks Page

Bookmarks Page

  • List of user-bookmarked words.
  • Options to remove or organize bookmarks.

Installation and Usage

Prerequisites

  • Python environment set up.
  • Flet framework installed.

Steps to Run the App

  1. Clone the Repository:

    git clone https://github.com/Dubemchukwu/Dictionary.git
    cd Dictionary
  2. Install Dependencies:

    pip install -r requirements.txt
  3. Run the Application:

    python main.py
  4. Start Using the App:

    • Use the search bar to look up words and enjoy features like AI-powered synonyms, contextual examples, and image display.

Future Enhancements

  • Custom AI Training: Allow users to customize AI suggestions based on their learning preferences.
  • Gamification: Add achievement badges and leaderboard features.
  • Multimodal Input: Support handwritten text input recognition for word lookup.

Acknowledgments

  • Flet framework for unified app development.
  • Gemini AI API for intelligent language processing.
  • Pexels and Picsum APIs for high-quality image integration.
  • Community contributors for feature ideas and improvements.

Releases

No releases published

Packages

 
 
 

Contributors

Languages