Update README.md
Browse files
README.md
CHANGED
@@ -33,7 +33,23 @@ text = "油服巨头哈里伯顿裁员650人 因美国油气开采活动放缓
|
|
33 |
pprint(pipeline(text))
|
34 |
|
35 |
# 输出
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
```
|
38 |
|
39 |
模型训练和推理的详细代码见 [litie](https://github.com/xusenlinzy/lit-ie)
|
|
|
33 |
pprint(pipeline(text))
|
34 |
|
35 |
# 输出
|
36 |
+
[
|
37 |
+
[
|
38 |
+
{
|
39 |
+
"event_type": "组织关系-裁员",
|
40 |
+
"arguments": [
|
41 |
+
{
|
42 |
+
"role": "裁员人数",
|
43 |
+
"argument": "650人"
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"role": "裁员方",
|
47 |
+
"argument": "油服巨头哈里伯顿"
|
48 |
+
}
|
49 |
+
]
|
50 |
+
}
|
51 |
+
]
|
52 |
+
]
|
53 |
```
|
54 |
|
55 |
模型训练和推理的详细代码见 [litie](https://github.com/xusenlinzy/lit-ie)
|