updated extract_features to use vocabs even when you pass a word hash