Skip to content

Commit

Permalink
Removing print comments that are appearing on the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados committed Jul 24, 2024
1 parent 034564d commit f96f98f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/CreeDictionary/API/search/glossary_count.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/CreeDictionary/API/search/lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit f96f98f

Please sign in to comment.