We can use Bio.Entrez.espell to find correct spelling for a term. The default database is Pubmed.
In the dictionary returned by Entrez.read(), there are 2 keys. The search term has the key of “Query” and the corrected term has the key “CorrectedQuery”.
from __future__ import print_function, division
from Bio import Entrez
Entrez.email = "[email protected]"
handle = Entrez.espell(term="cance")
record = Entrez.read(handle)
#Corrected Query: cancer