Script exit with no output
Traceback (most recent call last):
File "src/run.py", line 310, in <module>
main()
File "src/run.py", line 292, in main
result = tgnews.perform(args=args)
File "src/run.py", line 220, in perform
cats = list(classifier.predict(x=texts[lang]))
File "./src/tglib/abc.py", line 50, in predict
vectors = self.vectorizer.transform(x=x)
File "./src/tglib/vectorizer.py", line 50, in transform
return self.vectorizer.transform(raw_documents=cleaned)
File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1899, in transform
return self._tfidf.transform(X, copy=False)
File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1490, in transform
X = check_array(X, accept_sparse='csr', dtype=FLOAT_DTYPES, copy=copy)
File "./venv/lib/python3.7/site-packages/sklearn/utils/validation.py", line 586, in check_array
context))
ValueError: Found array with 0 sample(s) (shape=(0, 43542)) while a minimum of 1 is required.