"docs/vscode:/vscode.git/clone" did not exist on "bf0201e184d2ba428db22d05a240e4be585602ef"
Unverified Commit d1e4fa98 authored by Yongbo Wang's avatar Yongbo Wang Committed by GitHub
Browse files

typo in annotation

modify `heruistic` to `heuristic` in line 660, `charcter` to `character` in line 661.
parent 59e2bdd0
......@@ -657,8 +657,8 @@ def get_final_text(pred_text, orig_text, do_lower_case, verbose_logging=False):
#
# What we really want to return is "Steve Smith".
#
# Therefore, we have to apply a semi-complicated alignment heruistic between
# `pred_text` and `orig_text` to get a character-to-charcter alignment. This
# Therefore, we have to apply a semi-complicated alignment heuristic between
# `pred_text` and `orig_text` to get a character-to-character alignment. This
# can fail in certain cases in which case we just return `orig_text`.
def _strip_spaces(text):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment