from nltk.tokenize import sent_tokenize
paragraph = (
    """How does chickens harden over the acceptance? Chickens comprises coffee. Chickens crushes a popular vet next to the eater. Will chickens sweep beneath a project? Coffee funds chickens. Chickens abides against an ineffective drill."""
    )
highlights = ['vet', 'funds']
sentencesWithHighlights = []
Поиск окружающего предложения символа/слова в строке