Guest_imported
New member
- Jan 1, 1970
- 0
hello,
Can someone help me in finding a script for the following problem: in a textfile I need to remove all the "unimportant" words. To remove these words, I've got a stoplist (stoplist.txt) with the following format:
a
a's
able
about
above
according
accordingly
across
actually
as
bit
I
little
more
of
this
through
with
you
your
All I need to do is writing a script that says: if the word in file x is found in stoplist.txt, remove this word from file x and continue. The result of this file should be saved in another file. So file "text.txt":
I have learned more through this forum as you can see above. With a little bit of your help.
should become (taking into account the stoplist):
have learned forum can see. help.
Thanks,
Lizebe
Can someone help me in finding a script for the following problem: in a textfile I need to remove all the "unimportant" words. To remove these words, I've got a stoplist (stoplist.txt) with the following format:
a
a's
able
about
above
according
accordingly
across
actually
as
bit
I
little
more
of
this
through
with
you
your
All I need to do is writing a script that says: if the word in file x is found in stoplist.txt, remove this word from file x and continue. The result of this file should be saved in another file. So file "text.txt":
I have learned more through this forum as you can see above. With a little bit of your help.
should become (taking into account the stoplist):
have learned forum can see. help.
Thanks,
Lizebe