Skip to content

Commit

Permalink
update gensim to 4.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rsujeevan committed May 22, 2024
1 parent 3cb097b commit f7e9f3d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion data/nlp/text_summarization.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# output dataset name
output_dataset_name = "data_with_summary"

_global_modules_needed_by_name = ["gensim==3.8.0"]
_global_modules_needed_by_name = ["gensim==4.3.2"]


class TextSummarizationClass(CustomData):
Expand Down
2 changes: 1 addition & 1 deletion data/nlp/topic_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# number of top words to be represented in the column name
n_words_colname = 10

_global_modules_needed_by_name = ["gensim==3.8.0"]
_global_modules_needed_by_name = ["gensim==4.3.2"]

stop_words = ['i', 'me', 'my', 'myself', 'we', 'our', 'ours', 'ourselves', 'you', "you're", "you've", "you'll", "you'd",
'your', 'yours', 'yourself', 'yourselves', 'he', 'him', 'his', 'himself', 'she', "she's", 'her', 'hers',
Expand Down
2 changes: 1 addition & 1 deletion models/unsupervised/TextKMeansIsolationForest.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class TextLDATopicUnsupervisedTransformer(CustomUnsupervisedTransformer):
"""Transformer to extract topics from text column using LDA"""
_is_reproducible = False
_testing_can_skip_failure = False # ensure tested as if shouldn't fail
_modules_needed_by_name = ["gensim==3.8.0"]
_modules_needed_by_name = ["gensim==4.3.2"]

def __init__(self, n_topics, **kwargs):
super().__init__(**kwargs)
Expand Down
2 changes: 1 addition & 1 deletion models/unsupervised/lda.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class TextLDATopicTransformer(CustomUnsupervisedTransformer):
"""Transformer to extract topics from text column using LDA"""
_is_reproducible = False
_testing_can_skip_failure = False # ensure tested as if shouldn't fail
_modules_needed_by_name = ["gensim==3.8.0"]
_modules_needed_by_name = ["gensim==4.3.2"]

def __init__(self, n_topics, **kwargs):
super().__init__(**kwargs)
Expand Down
2 changes: 1 addition & 1 deletion transformers/nlp/text_embedding_similarity_transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class EmbeddingSimilarityTransformer(CustomTransformer):
_unsupervised = True

_modules_needed_by_name = ["gensim==3.8.0", 'regex==2024.5.15', 'flair==0.4.1', 'segtok==1.5.7']
_modules_needed_by_name = ["gensim==4.3.2", 'regex==2024.5.15', 'flair==0.4.1', 'segtok==1.5.7']
_is_reproducible = False
_can_use_gpu = True
_repl_val = 0
Expand Down
2 changes: 1 addition & 1 deletion transformers/nlp/text_topic_modeling_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class TextLDATopicTransformer(CustomTransformer):
"""Transformer to extract topics from text column using LDA"""
_is_reproducible = False
_testing_can_skip_failure = False # ensure tested as if shouldn't fail
_modules_needed_by_name = ["gensim==3.8.0"]
_modules_needed_by_name = ["gensim==4.3.2"]

def __init__(self, n_topics, **kwargs):
super().__init__(**kwargs)
Expand Down
2 changes: 1 addition & 1 deletion transformers/nlp/text_url_summary_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class TextURLSummaryTransformer(CustomTransformer):

_numeric_output = False
_testing_can_skip_failure = False # ensure tested as if shouldn't fail
_modules_needed_by_name = ["gensim==3.8.0", "beautifulsoup4==4.9.2"]
_modules_needed_by_name = ["gensim==4.3.2", "beautifulsoup4==4.9.2"]
_display_name = 'TextURLSummaryTransformer'

@staticmethod
Expand Down

0 comments on commit f7e9f3d

Please sign in to comment.