Corrected stress marker bug

The script now correctly places the primary stress marker in words that
end with a consonant.