Question: I need to write a java program which read a textfile and print the set of tokens from that file. I have to handle punctuation,
I need to write a java program which read a textfile and print the set of tokens from that file.
I have to handle punctuation, stemming and capitalization.
so for instance, here's a sentence
Love. It was fun while it lasted. -from a textile
it should print like
Love.
It
was
fun
while
it
lasted.
how would you write for this code? Here are below I linked text files
https://drive.google.com/open?id=1YNU9GMzR6atKZ7ZEBT9UKx0A_V9Z_Mwu
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
