Skip to content

SyedAli-Pk/dictionary-cli-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“– Dictionary CLI App

A simple Python command-line tool that fetches word definitions using the Free Dictionary API.


πŸš€ Features

  • Get definitions, parts of speech, and examples
  • Simple CLI interface
  • Error handling for invalid or unknown words

πŸ› οΈ How to Run

  1. Install dependencies
    pip install requests
    
  2. Run the script
    python dictionary_cli.py
    

πŸ–ΌοΈ Example

Enter a word (or type 'exit' to quit): example

πŸ“š Definitions for 'example':

β€’ Part of Speech: noun
  1. A thing characteristic of its kind or illustrating a general rule.
     πŸ‘‰ Example: "it's a good example of how European action can produce results"

πŸ“‘ API Source

Powered by the Free Dictionary API


πŸ“˜ License

This project is open source and free to use under the MIT License.

About

A simple Python command-line tool that fetches word definitions using the Free Dictionary API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages