A Python tool designed to help you solve Wordle puzzles and similar 5-letter word games. It provides smart word filtering based on letter positions and offers a comprehensive dictionary lookup powered by the Free Dictionary API.
- Filter 5-letter words based on:
- Letters that are not allowed
- Letters in correct positions
- Letters that must be in the word but in wrong positions
- Interactive command-line interface
- Real-time word filtering
- Detailed dictionary lookup including:
- Phonetic spelling
- Audio pronunciation
- Word origin
- Multiple definitions
- Example sentences
- Synonyms and antonyms
- Shows up to 20 matching words at a time
- Remembers previous inputs
- Words like "slate", "crate", and "trace" balance consonants and vowels well, giving maximum clue potential
- Starting with a vowel-heavy word like "adieu" is helpful if you prefer eliminating vowels first
- If you want to play strategically, follow up with a word that uses totally different letters to cover more ground
Word | Why it's good |
---|---|
slate | Covers common consonants (S, L, T) and vowels (A, E) |
crate | Common letters, great vowel-consonant balance |
trace | Similar to crate, but better for some consonant patterns |
raise | All top-10 letters, great vowel coverage |
adieu | Vowel-heavy – good to eliminate vowels early |
soare | A rare but extremely efficient opener (used by pros) |
- Download Python from python.org
- During installation, make sure to check "Add Python to PATH"
- Verify installation by opening Command Prompt and typing:
python --version
pip --version
- Install Homebrew (if not installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install Python:
brew install python
- Verify installation:
python3 --version
pip3 --version
- Update package list:
sudo apt update
- Install Python and pip:
sudo apt install python3 python3-pip
- Verify installation:
python3 --version
pip3 --version
- Clone this repository:
git clone https://github.com/rizaergun/wordlehelper.git
cd wordlehelper
- Install the required package:
pip install requests
Run the script:
python wordle.py
- Excluded Letters: Just type the letters (e.g.,
xyz
) - Correct Letters: Use
letter+position
format (e.g.,a1,b2
)a1
means 'a' in position 1b2
means 'b' in position 2
- Misplaced Letters: Use
letter-position
format (e.g.,e2,t3
)e2
means 'e' must be in the word but not in position 2t3
means 't' must be in the word but not in position 3
- Type
meanings
at any prompt to see detailed definitions of current words - Type
exit
to quit the program
Welcome to Word Filter!
Type 'exit' at any prompt to quit
Input format:
- Excluded letters: just type the letters (e.g., xyz)
- Correct letters: letter+position (e.g., a1,b2)
- Misplaced letters: letter-position (e.g., e2,t3)
Commands:
- Type 'meanings' to show definitions of current words
- Type 'exit' to quit
Current word count: 5757
Enter new letters that are not allowed []:
xyz
Enter new correct spots []:
a1
Enter new letters that must be in the word but in wrong spots []:
e2
Current word count: 42
Enter new letters that are not allowed [xyz]:
meanings
Fetching meanings for current words...
apple: noun: the round fruit of a tree of the rose family | noun: the tree bearing this fruit
🔊 Pronunciation: https://api.dictionaryapi.dev/media/pronunciations/en/apple.mp3
...
When you look up a word's meaning, you'll see:
- Word and phonetic spelling
- Audio pronunciation link
- Word origin (if available)
- Detailed meanings including:
- Part of speech
- Definitions
- Example sentences
- Synonyms
- Antonyms
- Python 3.x
- requests package
This project is open source and available under the MIT License.