[Doc]: fixing typos in multiple files. (#29685)

Signed-off-by: Didier Durand <durand.didier@gmail.com>
This commit is contained in:
Didier Durand
2025-11-28 08:41:41 -08:00
committed by GitHub
parent 3bcbb30cbf
commit fae6943068
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ def _find_longest_matched_ngram_and_propose_tokens(
prev_lps = lps[max_ngram - 1]
i += 1
elif prev_lps != 0:
# Token mismatch: try the second longest prefix
# Token mismatch: try the second-longest prefix
# among all suffix of tokens[:i],
# which is the longest prefix of tokens[:prev_lps]
prev_lps = lps[prev_lps - 1]