Skip to content

I made a program that allows us to correct or predict the word we misspelled.

License

Notifications You must be signed in to change notification settings

DiegoLibonati/Spelling-Checker-Program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spelling-Checker-Program

Getting Started

  1. Clone the repository
  2. Join to the correct path of the clone
  3. Install requirements.txt
  4. Use python ./src/app.py to execute program

Description

I made a python program with a user interface made with tkinter. This program allows to correct the user through an entered word, if the user enters hell it will appear words similar to hell like hello for example.

Technologies used

  1. Python

Libraries used

  1. Tkinter
  2. textblob

Portfolio Link

https://www.diegolibonati.com.ar/#/project/67

Video

spellingchecker.mp4

Documentation

The load_values() method will have the variables word_spelling_list which will be a list where the possible words that the user referred to are stored, word will be the variable in which the content of the word that the user typed is obtained and spelling_get will be a list in which all possible words will be stored as a tuple:

def load_values(
    self
) -> None:
    word_spelling_list = []
    word = self.word_entry.get()

    if not word:
        return self.final_words.set('There are not words load')
    
    spelling_get = Word(word).spellcheck()

    if spelling_get:
        for tupla in spelling_get:
            for word in tupla:
                if isinstance(word, str):
                    word_spelling_list.append(word)
    else:
        return self.final_words.set(f'Possible words: {spelling_get[0][0]}')
    return self.final_words.set(f'Possible words: {" ".join(word_spelling_list)}')

About

I made a program that allows us to correct or predict the word we misspelled.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages