Skip to content

Commit

Permalink
fix: Remove n-gram restriction.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpriskorn committed May 31, 2024
1 parent a528662 commit 2d14f06
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ordia/app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,6 @@ def show_text_to_lexemes():
except Exception:
max_n_gram = 1

# Currently confined to between 1 and 3
max_n_gram = min(3, max(1, max_n_gram))

if not text:
return render_template('text_to_lexemes.html',
text_language=text_language,
Expand Down

0 comments on commit 2d14f06

Please sign in to comment.