How do I compare words of sentences with a dictionary and get it's corresponding value.
e.g, This is the dictionary format.
WORD Pronunciation
try t-r-y-0|
test t-e-s-t-0|
Sentence list:
I try my best.
The knowledge test.
So for each word in the sentence must do dictionary lookup and get the it's corresponding values (i.e, pronunciation) and print them sentence wise. I would be grateful for the help.
e.g, This is the dictionary format.
WORD Pronunciation
try t-r-y-0|
test t-e-s-t-0|
Sentence list:
I try my best.
The knowledge test.
So for each word in the sentence must do dictionary lookup and get the it's corresponding values (i.e, pronunciation) and print them sentence wise. I would be grateful for the help.
Comment