implant_terms=[line.strip()forlineinfileifline.strip()]#filtering out empty lines or lines that contain only whitespace characters
print("Number of Implant Terms are : ",len(implant_terms))
## generate a dictionary of all the glossary terms,Should include how many times the implant terms appears and the sentences++++++++++++++++++++++++++++++++++++++++++
data_dict={}
count=0
sentences_cont=[]
sentences_with_implants={}
fortermintqdm(implant_terms,desc="Generating dictionary of sentences with implants"):