Loading srl.py +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ def ner(t): sent = pd.read_csv('data/sent_df.csv') sent = sent[sent.s.apply(crude_ner) == True] data = sent[:3] data = sent[:] srl_pred = Predictor.from_path("https://s3-us-west-2.amazonaws.com/allennlp/models/srl-model-2018.05.25.tar.gz") allen_ner = Predictor.from_path("https://s3-us-west-2.amazonaws.com/allennlp/models/ner-model-2018.12.18.tar.gz") Loading vdberg_output_local.csvdeleted 100644 → 0 +0 −2 Original line number Diff line number Diff line ,arg,same,verb Clinton,ARG1,True,excoriated Loading
srl.py +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ def ner(t): sent = pd.read_csv('data/sent_df.csv') sent = sent[sent.s.apply(crude_ner) == True] data = sent[:3] data = sent[:] srl_pred = Predictor.from_path("https://s3-us-west-2.amazonaws.com/allennlp/models/srl-model-2018.05.25.tar.gz") allen_ner = Predictor.from_path("https://s3-us-west-2.amazonaws.com/allennlp/models/ner-model-2018.12.18.tar.gz") Loading
vdberg_output_local.csvdeleted 100644 → 0 +0 −2 Original line number Diff line number Diff line ,arg,same,verb Clinton,ARG1,True,excoriated