How to go about writing a program to analyze text input
Hi there everyone, I'm fairly new to java, took one intro course at my university. Anyhow, what I want to do is to be able to paste a large block of text into a program, and have it, basically, to count the appearances of a desired word/sequence of words. Well, really I'd want it to search for a keyword, count the number of appearances of the desired sequence, store that number, and do the same until the next keyword. Don't know if that really makes much sense. :P
But yes, I'm just trying to figure out what the best way to approach this would be.
Thanks

