From 88c9bd758e2aa8e4fc89ddf3c200e1c34a4587c8 Mon Sep 17 00:00:00 2001 From: Yoshitomo Matsubara Date: Sat, 16 Mar 2019 11:09:19 -0700 Subject: [PATCH] fixed a typo --- hw4/informed_seq2seq_predictor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw4/informed_seq2seq_predictor.py b/hw4/informed_seq2seq_predictor.py index bb67e5a70..4add2b982 100644 --- a/hw4/informed_seq2seq_predictor.py +++ b/hw4/informed_seq2seq_predictor.py @@ -23,4 +23,4 @@ def _json_to_instance(self, json_dict: JsonDict) -> Instance: """ source = json_dict["source"] extra = json_dict["extra"] - return self._dataset_reader.text_to_instance(source, extra_str=extra) + return self._dataset_reader.text_to_instance(source, extra_seq=extra)