Hi,
I have a file that contains all the stop words that I want to eliminate from my data (text).
I dont know how to use this file so I have made an array and stored all the stop words of the file in my stop word array.
To remove the stop words I do something like this :
grep { $scalarText =~ s/\b\Q$_\E\b/ /g } @stopList;This takes a long time to execute. I was wondering if someone knows how to use the file in my perl program to remove the stop words ? Or if there is any faster way to remove the stop words ?
Thanks
1 year 24 weeks ago