Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed Sep 26, 2023
2 parents 322a87f + 502e405 commit e7d0ac4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/reynir_correct/errtokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2032,6 +2032,8 @@ def is_valid_suggestion(token: CorrectToken, m: Sequence[BIN_Tuple], corrected_t
yield rtok
context = (prev_context + tuple(rtok.txt.split()))[-3:]
prev_context = context
else:
yield token
continue

# And Icelandic Search Query Errors
Expand Down

0 comments on commit e7d0ac4

Please sign in to comment.