I have a txt file containing text
Table of Contents
Preface 1
Chapter 1: Tokenizing Text and WordNet Basics 7
Tokenizing text into sentences 8
Tokenizing sentences into words 10
Tokenizing sentences using regular expressions 12
If the string I have is :
input = "Tokenzing sentence using expressions"
I thought of using beginning and ending words to extract the sentence but there are lot of repetitions.
So whats the best way to get the output
Tokenizing sentences using regular expressions