Files

50 lines
1.2 KiB
Markdown

# LEX - Hardcore Offline Terminal Dictionary
```text
_ _______ __
| | | ____\ \/ /
| | | _| \ /
| |___| |___ / \
|_____|_____/_/\_\
```
> **Author:** BeerSlayer `<slayer@luxhebros.com>`
> **License:** MIT
> **Runtime:** Python 3.10+ / Gravitiny Applet
---
## What Is This?
Tired of opening bloated web browsers just to look up a word while debugging in a terminal?
`lex` is a zero-latency, completely offline, heavy-metal bilingual dictionary CLI for your console.
Powered by a pre-indexed **SQLite FTS5** database with **250,000+ definitions** (WordNet 3.0 + Wiktionary TR-EN). Zero cloud calls, zero network lag. Instant lookup.
---
## Usage
```bash
# English WordNet lookup
lex algorithm
lex concurrency
# Turkish to English lookup
lex araba
lex gelistirici
# Multi-word compound lookups
lex "machine learning"
lex "operating system"
```
---
## Features
- **Blazing Fast (<5ms lookup):** Instant SQLite query execution.
- **Auto-Detect Language:** Automatically routes between English and Turkish inputs.
- **Fuzzy Tolerance:** Typo in your query? 3-stage candidate pruning suggests what you actually meant.
- **Clean ANSI Boxes:** Rich terminal card renderer with definitions, synonyms, and examples.