Making word category generic