S
sfu
Hi
I'd like to import a text file containing common words such as
"at","the","and" etc.
Then if i take a String "I want to visit the shops today and buy some
clothes", i would like to strip out the common words to become "visit
shops today buy clothes"
I know to speed up searching for "at" within the string i can use a
Boyer Moore algorithm which returns the index of the first "at". But
im unsure how i would use this to remove all occurances of.
Any help is much appreciated, thanks
I'd like to import a text file containing common words such as
"at","the","and" etc.
Then if i take a String "I want to visit the shops today and buy some
clothes", i would like to strip out the common words to become "visit
shops today buy clothes"
I know to speed up searching for "at" within the string i can use a
Boyer Moore algorithm which returns the index of the first "at". But
im unsure how i would use this to remove all occurances of.
Any help is much appreciated, thanks