scikit-learn/scikit-learn — pull request #1208 by larsmans (2012-10-06 09:56:46+00:00)
Title: ENH better error messages in CountVectorizer for empty vocabulary

As suggested by @ianozsvald in #1207, but only at fit time and with suggestions for the user as to what might cause the problem.