updated algorithm to use adj+noun or short adj+idiom