You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing the folowing error Traceback (most recent call last):
File "/content/Plagiarism-checker-Python/app.py", line 14, in
vectors = vectorize(student_notes)
File "/content/Plagiarism-checker-Python/app.py", line 10, in vectorize
def vectorize(Text): return TfidfVectorizer().fit_transform(Text).toarray()
File "/usr/local/lib/python3.10/dist-packages/sklearn/feature_extraction/text.py", line 1846, in fit_transform
X = super().fit_transform(raw_documents)
File "/usr/local/lib/python3.10/dist-packages/sklearn/feature_extraction/text.py", line 1202, in fit_transform
vocabulary, X = self._count_vocab(raw_documents,
File "/usr/local/lib/python3.10/dist-packages/sklearn/feature_extraction/text.py", line 1133, in _count_vocab
raise ValueError("empty vocabulary; perhaps the documents only"
ValueError: empty vocabulary; perhaps the documents only contain stop words
The text was updated successfully, but these errors were encountered:
I am facing the folowing error Traceback (most recent call last):
File "/content/Plagiarism-checker-Python/app.py", line 14, in
vectors = vectorize(student_notes)
File "/content/Plagiarism-checker-Python/app.py", line 10, in vectorize
def vectorize(Text): return TfidfVectorizer().fit_transform(Text).toarray()
File "/usr/local/lib/python3.10/dist-packages/sklearn/feature_extraction/text.py", line 1846, in fit_transform
X = super().fit_transform(raw_documents)
File "/usr/local/lib/python3.10/dist-packages/sklearn/feature_extraction/text.py", line 1202, in fit_transform
vocabulary, X = self._count_vocab(raw_documents,
File "/usr/local/lib/python3.10/dist-packages/sklearn/feature_extraction/text.py", line 1133, in _count_vocab
raise ValueError("empty vocabulary; perhaps the documents only"
ValueError: empty vocabulary; perhaps the documents only contain stop words
The text was updated successfully, but these errors were encountered: