add recognition of vocabulary