Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to lookup into dictionary and split sentences from file into words?

0
Posted

How to lookup into dictionary and split sentences from file into words?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123