diff --git a/callbacks/text_mining/callbacks.py b/callbacks/text_mining/callbacks.py index b2223921..5acd6348 100644 --- a/callbacks/text_mining/callbacks.py +++ b/callbacks/text_mining/callbacks.py @@ -125,6 +125,8 @@ def display_text_mining_results(text_mining_is_submitted, homepage_submitted, te if num_unique_entries == 1: stats = f'Found matches across {num_unique_entries} publication' + elif num_unique_entries == MAX_NUM_RESULTS: + stats = f'Found matches across over {num_unique_entries} publications. Consider making your search query more specific' else: stats = f'Found matches across {num_unique_entries} publications'