diff --git a/arekit/contrib/utils/pipelines/sources/ruattitudes/extract_text_opinions.py b/arekit/contrib/utils/pipelines/sources/ruattitudes/extract_text_opinions.py index c2002254..96101feb 100644 --- a/arekit/contrib/utils/pipelines/sources/ruattitudes/extract_text_opinions.py +++ b/arekit/contrib/utils/pipelines/sources/ruattitudes/extract_text_opinions.py @@ -44,7 +44,6 @@ def create_text_opinion_extraction_pipeline(text_parser, version=version, doc_id_func=lambda doc_id: doc_id, keep_doc_ids_only=False, - label_scaler=label_scaler, limit=limit) doc_ops = DictionaryBasedDocumentOperations(ru_attitudes) diff --git a/arekit/contrib/utils/pipelines/sources/ruattitudes/utils.py b/arekit/contrib/utils/pipelines/sources/ruattitudes/utils.py index 65f3271f..1420856d 100644 --- a/arekit/contrib/utils/pipelines/sources/ruattitudes/utils.py +++ b/arekit/contrib/utils/pipelines/sources/ruattitudes/utils.py @@ -18,7 +18,7 @@ def get_doc(self, doc_id): return self.__ru_attitudes[doc_id] -def read_ruattitudes_to_brat_in_memory(version, keep_doc_ids_only, doc_id_func, label_scaler, limit=None): +def read_ruattitudes_to_brat_in_memory(version, keep_doc_ids_only, doc_id_func, limit=None): """ Performs reading of RuAttitude formatted documents and selection according to 'doc_ids_set' parameter. """