Update README.md
Browse files
README.md
CHANGED
|
@@ -83,7 +83,8 @@ def post_process_re_output(re_output, text_input, ner_output):
|
|
| 83 |
|
| 84 |
return template
|
| 85 |
|
| 86 |
-
text_input =
|
|
|
|
| 87 |
ner_output = ner_pip(text_input) # inference NER tags
|
| 88 |
|
| 89 |
re_input = process_ner_output(ner_output, text_input) # prepare a pair of entity and predict relation type
|
|
|
|
| 83 |
|
| 84 |
return template
|
| 85 |
|
| 86 |
+
text_input = """ويتزامن ذلك مع اجتماع بايدن مع قادة الدول الأعضاء في الناتو في قمة موسعة في العاصمة الإسبانية، مدريد."""
|
| 87 |
+
|
| 88 |
ner_output = ner_pip(text_input) # inference NER tags
|
| 89 |
|
| 90 |
re_input = process_ner_output(ner_output, text_input) # prepare a pair of entity and predict relation type
|