Sean-Case
commited on
Commit
•
ff8dfa3
1
Parent(s):
9c0a094
String query not correctly specified in fuzzy search, changed this
Browse files
search_funcs/spacy_search_funcs.py
CHANGED
@@ -114,7 +114,7 @@ def spacy_fuzzy_search(string_query:str, df_list: List[str], original_data: Pand
|
|
114 |
#results_df_out.to_excel(results_df_name, index= None)
|
115 |
|
116 |
# Highlight found text and save to file
|
117 |
-
results_df_out_wb = create_highlighted_excel_wb(results_df_out,
|
118 |
results_df_out_wb.save(results_df_name)
|
119 |
|
120 |
results_first_text = results_df_out[text_column].iloc[0]
|
|
|
114 |
#results_df_out.to_excel(results_df_name, index= None)
|
115 |
|
116 |
# Highlight found text and save to file
|
117 |
+
results_df_out_wb = create_highlighted_excel_wb(results_df_out, string_query, "search_text")
|
118 |
results_df_out_wb.save(results_df_name)
|
119 |
|
120 |
results_first_text = results_df_out[text_column].iloc[0]
|