./venv/lib/python3.7/site-packages/sklearn/base.py:334: UserWarning: Trying to unpickle estimator CountVectorizer from version 0.23.0 when using version 0.23.1. This might lead to breaking code or invalid results. Use at your own risk. UserWarning) ./venv/lib/python3.7/site-packages/sklearn/base.py:334: UserWarning: Trying to unpickle estimator TfidfTransformer from version 0.23.0 when using version 0.23.1. This might lead to breaking code or invalid results. Use at your own risk. UserWarning) ./venv/lib/python3.7/site-packages/sklearn/base.py:334: UserWarning: Trying to unpickle estimator SGDClassifier from version 0.23.0 when using version 0.23.1. This might lead to breaking code or invalid results. Use at your own risk. UserWarning) ./venv/lib/python3.7/site-packages/sklearn/base.py:334: UserWarning: Trying to unpickle estimator Pipeline from version 0.23.0 when using version 0.23.1. This might lead to breaking code or invalid results. Use at your own risk. UserWarning) ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38364) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38366) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38368) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38370) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38372) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38374) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38376) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38378) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38380) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38382) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38384) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38386) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38388) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38390) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38392) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38394) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38396) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38398) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38400) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38402) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38404) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38406) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38408) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38410) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38412) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38414) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38416) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38418) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38420) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38422) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38424) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38426) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38428) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38430) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38432) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38434) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38436) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38438) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38440) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38442) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38444) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38446) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38448) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38450) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38452) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38454) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38456) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38458) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38460) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38462) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38464) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38466) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38468) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38470) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38472) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38474) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38476) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38478) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38480) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38482) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38484) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38486) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38488) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38490) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38492) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38494) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) Load index, use to stop index.dat Server started, use to stop ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') ParseResult(scheme='', netloc='', path='/threads', params='', query='period=300&lang_code=en&category=any', fragment='') File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38496) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38498) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38500) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38502) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title']) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1840, in fit_transform X = super().fit_transform(raw_documents) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1199, in fit_transform self.fixed_vocabulary_) File "./venv/lib/python3.7/site-packages/sklearn/feature_extraction/text.py", line 1129, in _count_vocab raise ValueError("empty vocabulary; perhaps the documents only" ValueError: empty vocabulary; perhaps the documents only contain stop words ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 38504) Traceback (most recent call last): File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.7/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.7/http/server.py", line 426, in handle self.handle_one_request() File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request method() File "module5.py", line 45, in do_GET message = getData(period, lang_code, category) File "module5.py", line 274, in getData tfidf_matrix = tfidf_vectorizer.fit_transform(df_local['title'])