I want to add a full stop after every line of sentence that I am getting from my cleaned text after performing text cleaning in order to perform summarisation using heapq or gensim. If I don't get a full stop, heapq or Gensim will not understand the different sentences and would take all the sentences as one. I am using the following code :
import en_core_web_sm
nlp = en_core_web_sm.load()
text = nlp(str1_clean_summary)
for sent in text.sents:
print(sent.string.strip())
str1_clean_summary looks like this :
many price increase options
still believe us need prove consistently
aim please delay end displeasingich
responds wuickly
This gives me sentences in a different lines but I need to add a full stop after each sentence so they are treated separately.