stemming and synonym substitution