Get all the possible meaning => pronunciation

I tried to use nested functions and recursive calls. No vars. Hope it is ok.