Update process.py
Browse files- process.py +0 -2
process.py
CHANGED
@@ -52,8 +52,6 @@ if __name__ == '__main__':
|
|
52 |
for relation, df_p in test_p.groupby('relation'):
|
53 |
if len(df_p) < 2:
|
54 |
continue
|
55 |
-
if relation in exclude:
|
56 |
-
continue
|
57 |
df_n = test_n[test_n['relation'] == relation]
|
58 |
f.write(json.dumps({
|
59 |
'relation_type': relation,
|
|
|
52 |
for relation, df_p in test_p.groupby('relation'):
|
53 |
if len(df_p) < 2:
|
54 |
continue
|
|
|
|
|
55 |
df_n = test_n[test_n['relation'] == relation]
|
56 |
f.write(json.dumps({
|
57 |
'relation_type': relation,
|