Установить это нельзя, если не знать, как это слово склоняется.If you know the rule that voiced sounds change to unvoiced ones in the end of the word ('ж' sounds like 'ш') then it should be rather easy to guess how to spell "рожь". Perhaps the only problem would be the soft sign.