SantanuBanerjee commited on
Commit
452c821
·
verified ·
1 Parent(s): 1080054

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -167,7 +167,7 @@ from random import random
167
  def text_processing_for_domain(text):
168
  # First, get the summarized text
169
  summarized_text = ""
170
- summarized_text = Summarized_text(text)
171
 
172
  # Then, lemmatize the original text
173
  lemmatized_text = ""
@@ -200,9 +200,7 @@ from collections import Counter
200
  def extract_problem_domains(df,
201
  text_column='Processed_ProblemDescription_forDomainExtraction',
202
  cluster_range=(5, 15),
203
- top_words=10,
204
- method='sentence_transformers'
205
- ):
206
  console_messages.append("Extracting Problem Domains...")
207
 
208
  # Sentence Transformers approach
@@ -325,7 +323,9 @@ def process_excel(file):
325
  # '#TaxDirection (Responses)_UltimateExample.xlsx'
326
  # ]
327
 
328
- example_files = ['#TaxDirection (Responses)_BasicExample.xlsx',]
 
 
329
 
330
 
331
  import random
 
167
  def text_processing_for_domain(text):
168
  # First, get the summarized text
169
  summarized_text = ""
170
+ # summarized_text = Summarized_text(text)
171
 
172
  # Then, lemmatize the original text
173
  lemmatized_text = ""
 
200
  def extract_problem_domains(df,
201
  text_column='Processed_ProblemDescription_forDomainExtraction',
202
  cluster_range=(5, 15),
203
+ top_words=10):
 
 
204
  console_messages.append("Extracting Problem Domains...")
205
 
206
  # Sentence Transformers approach
 
323
  # '#TaxDirection (Responses)_UltimateExample.xlsx'
324
  # ]
325
 
326
+ example_files = ['#TaxDirection (Responses)_BasicExample.xlsx',
327
+ '#TaxDirection (Responses)_IntermediateExample.xlsx',
328
+ ]
329
 
330
 
331
  import random