I would like to search a file for whether certain words are present and extract the parts of the sentence that contain the words; I would like to find words that are a particular part of speech, and extract the part of the sentence from the word before the previously mentioned word, to the word after the previously mentioned word. I want to put these sentence fragments into different arrays according to what word they start with, I.e. The word which starts the sentence fragment.
Aleks134
0
Newbie Poster
Moschops
683
Practically a Master Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.