socialcomp
commited on
Commit
•
eeabe37
1
Parent(s):
6b79987
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- ja
|
4 |
+
license:
|
5 |
+
- cc-by-4.0
|
6 |
+
tags:
|
7 |
+
- NER
|
8 |
+
- medical documents
|
9 |
+
datasets:
|
10 |
+
- MedTxt-CR-JA-training-v2.xml
|
11 |
+
metrics:
|
12 |
+
- NTCIR-16 Real-MedNLP subtask 1
|
13 |
+
---
|
14 |
+
|
15 |
+
|
16 |
+
This is a model for named entity recognition of Japanese medical documents.
|
17 |
+
|
18 |
+
### How to use
|
19 |
+
|
20 |
+
Download the following five files and put into the same folder.
|
21 |
+
- id_to_tags.pkl
|
22 |
+
- key_attr.pkl
|
23 |
+
- text.txt
|
24 |
+
- NER_medNLP.py
|
25 |
+
- predict.py
|
26 |
+
|
27 |
+
You can use this model by running predict.py.
|
28 |
+
|
29 |
+
```
|
30 |
+
python3 predict.py
|
31 |
+
```
|
32 |
+
|
33 |
+
### Input Example
|
34 |
+
|
35 |
+
```
|
36 |
+
肥大型心筋症、心房細動に対してWF投与が開始となった。
|
37 |
+
治療経過中に非持続性心室頻拍が認められたためアミオダロンが併用となった。
|
38 |
+
```
|
39 |
+
|
40 |
+
### Output Example
|
41 |
+
|
42 |
+
```
|
43 |
+
<d certainty="positive">肥大型心筋症、心房細動</d>に対して<m-key state="executed">WF</m-key>投与が開始となった。
|
44 |
+
<timex3 type="med">治療経過中</timex3>に<d certainty="positive">非持続性心室頻拍</d>が認められたため<m-key state="executed">アミオダロン</m-key>が併用となった。
|
45 |
+
```
|