Skip to content

LexiGen

LexiGen Logo

An AI-powered desktop application for generating educational fill-in-the-blank sentences.

Available on GitHub

License: GPL-3.0 Powered by Ollama Release

Screenshot 2025-04-16 at 21 32 15

🎯 Overview

LexiGen is an open-source fill-in-the-blank problems generator using local AI with Zero Cost.

🚀 Quick Start

Prerequisites

  1. Install Ollama
  2. Launch the Ollama app
  3. Open the terminal (Windows: press Windows + R, then type cmd) and install a model (suggesting qwen2.5:3b or qwen2.5:0.5b (smaller)):
ollama pull qwen2.5:3b

Installation

  1. Download LexiGen from the releases page
  2. Run the installer for your platform
  3. Launch LexiGen

💡 Best Practices

  • Customize the prompt in LexiGenAssets/prompt.txt, {word} is the placeholder for the target word

📂 File Structure

LexiGen now uses a dedicated LexiGenAssets folder for all external files:

  • LexiGenAssets/ - The main assets directory
  • translations/ - Translation files (e.g., zh_CN.json)
  • prompt.txt - Custom prompt template file
  • settings.yaml - Application settings

This structure separates application code from user data, making it easier to manage and backup your settings.

⚠️ Troubleshooting

Issue Solution
No sentence generation Check if Ollama server is running
Connection errors Use 'Check Server' button
Slow performance Verify system resources or use a smaller model qwen2.5:0.5b
Model errors Confirm model installation

🤩 Fun Facts

"Lexi" comes from "lexicon".

I considered the name "FibGen" (Fill In the Blank). However, because "fib" means lie, this name was discarded.

🤝 Contributing

Contributions are welcome! Here's how you can help under GNU General Public License v3.0:

  • Report bugs in Issues
  • Suggest features in Issues
  • Post your POV to this project in Discussions
  • Submit pull requests

Made for educators and learners

If you like this project, please consider giving me a star ⭐️

Star History Chart

Comments