vocabulary search implementation