innliner.blogg.se

Latest and spelling corrector viber for window 7
Latest and spelling corrector viber for window 7








latest and spelling corrector viber for window 7

When the condition gets true, the program goes into the next line of the code where we define the b variable that holds the value where applied TextBlob function. Now again in the code we define the if condition where the condition used get function and this function applied on the entry1 object. Now in the next line of the code, we define a set function for the sc1 variable with a null value. In this line of the code, we define the global variable sc1 for global access. Tkinter provides many methods, one of them is the geometry() method.ĭefine the function convert_text. In these steps, we are giving the title of the GUI root window. Here the Tk function provides a window of GUI as well as provides so many features like setting the title, setting the geometry of the GUI window. Tk class is used to create a root window. It provides a consistent API for diving into common natural language processing (NLP) tasks such as part-of-speech tagging, noun phrase extraction, sentiment analysis, and more. TextBlob is a Python library for processing textual data.

latest and spelling corrector viber for window 7

Import * is allowing a Python file to access the script from another Python file. Import * means everything from the library. Tkinter is the name of the GUI library in Python. Label_1 = Label(root,text=”Type any text”,font=(“arial”,25),justify=CENTER,fg=”red”)Įntry1 = Entry(root,width=40, justify=”center”)īutton_2 = Button(root,text=”Click Here!”,font=(“arial”,15),justify=CENTER,fg=”green”,command=convert_text)Įntry2 = Entry(root,width=40, textvariable=sc1) C = (“Corrected Text : “+str(b.correct()))










Latest and spelling corrector viber for window 7