Enchant is a module in python which is used to check the spelling of a word, gives suggestions to correct words. Also, gives antonym and synonym of words. It checks whether a word exists in dictionary or not.
enchant.get_enchant_version() is an inbuilt method of
enchant module. It is used to see the version of the
enchant module being used by the system.
Syntax : enchant.get_enchant_version()
Parameter : Nothing
Returns : a string containing the
Example 1 :
Example 2 :The version of the enchant module can also be found using
Output : The actual output is of 574 lines. Here only the last few lines which contains the version are displayed.
Set the prefix used by the Enchant library to find its plugins
Called automatically when the Python library is imported when
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.