From 8e2ee9cd183484bc475b0bbf74827ad506c0c3cb Mon Sep 17 00:00:00 2001 From: sushreebarsa <84765720+sushreebarsa@users.noreply.github.com> Date: Wed, 8 Nov 2023 12:47:10 +0530 Subject: [PATCH] Update squad_lib.py --- official/nlp/data/squad_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/official/nlp/data/squad_lib.py b/official/nlp/data/squad_lib.py index 8aee509d816..54d1355e28c 100644 --- a/official/nlp/data/squad_lib.py +++ b/official/nlp/data/squad_lib.py @@ -815,7 +815,7 @@ def get_final_text(pred_text, orig_text, do_lower_case, verbose=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 + # `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):