diff --git a/src/CreeDictionary/API/search/glossary_count.py b/src/CreeDictionary/API/search/glossary_count.py index 13a442372..67dfa0301 100644 --- a/src/CreeDictionary/API/search/glossary_count.py +++ b/src/CreeDictionary/API/search/glossary_count.py @@ -11,10 +11,10 @@ def get_glossary_count(search_run): def prep_freqs(): - print( - "Location of glossary file:", - Path(shared_res_dir / "crk_glossaries_aggregate_vocab.txt"), - ) + # print( + # "Location of glossary file:", + # Path(shared_res_dir / "crk_glossaries_aggregate_vocab.txt"), + # ) lines = ( Path(shared_res_dir / "crk_glossaries_aggregate_vocab.txt") .read_text() diff --git a/src/CreeDictionary/API/search/lookup.py b/src/CreeDictionary/API/search/lookup.py index 723eb0a54..4d56806c5 100644 --- a/src/CreeDictionary/API/search/lookup.py +++ b/src/CreeDictionary/API/search/lookup.py @@ -28,7 +28,7 @@ def fetch_results(search_run: core.SearchRun): # e.g., "atchakosuk" becomes "acâhkos+N+A+Pl" -- # thus, we can match "acâhkos" in the dictionary! fst_analyses = set(rich_analyze_relaxed(search_run.internal_query)) - print([a.tuple for a in fst_analyses]) + # print([a.tuple for a in fst_analyses]) db_matches = list( Wordform.objects.filter(raw_analysis__in=[a.tuple for a in fst_analyses])