Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 700 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 700 Bytes

english_dictionary

Version 1.0: Use the data.json file to fetch the data.

Termianal userface program written in Python3. When the user pass a word in English, it return:

  1. It definition if the word is contained in the dictionary
  2. If the word passed from the user is not in the dictionary:
    • Serach for a similar word in the dictionary and if the user meant that word insted, it will give the definition
    • If the user did not mean the similar word found by the program, it ask the user to enter a new word
    • If the word is not close to any word in the dictionary, it ask to enter a new word.

Program: app1.py

Data source for the dictionary: source_file/data.json