How to lookup into dictionary and split sentences from file into words?
hi, I’m dealing with a problem in which I have to scan through a text file (there are one or more sentences in this file) and print out all the separated words in a sentence We input Sentence.txt file,and run Perl program.It will lookup in a dictionary file (.txt) and then print out the words in sentence(s) which appear in the dictionary For example: “today is Saturday”. After lookup in dictionary, if the words match, Perl will print out: today,is,saturday (each word in one line) Hope that you can help me.