cosmit pep8/257
changed to encode_error, vectorizer