detect a word on tap