Implement whole word lookup.