Loading process_srl.py +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ df = load_output(dir='outputs', combine=args.combine) df = df[df['arg'].str.startswith('B-ARG0')] print('Output size {}:'.format((df.shape)) print('Output size {}:'.format(df.shape)) sent = pd.read_csv('data/sent_df.csv', names=['sent_id','bias','doc_id','s']) df = pd.merge(df, sent, on=['sent_id']) Loading Loading
process_srl.py +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ df = load_output(dir='outputs', combine=args.combine) df = df[df['arg'].str.startswith('B-ARG0')] print('Output size {}:'.format((df.shape)) print('Output size {}:'.format(df.shape)) sent = pd.read_csv('data/sent_df.csv', names=['sent_id','bias','doc_id','s']) df = pd.merge(df, sent, on=['sent_id']) Loading