You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,8 +51,8 @@ ACE2005-toolkit
51
51
2. Install all the requirements by`pip install -r requirements.txt`;
52
52
3. Start preprocess by`bash run.sh en`,`en` can be replaced by`zh` or`ar`;
53
53
4. Enter`n` to get data divided by filelist, or enter`y` and`train/dev/test rate`(e.g.`0.8 0.1 0.1`) to get data divided by sentences;
54
-
5. Enter`y` to get transform the data into BIO-type format, the transformed data will be in`output/BIO/`
55
-
6. The final output will be in`output/`.
54
+
5. Enter`y` to get transform the data into BIO-type format, the transformed data will be in`output/BIO/`, each train (test or dev) data will transform into 4 BIO-style json files(`token`,`entity_BIO`,`event_trigger_BIO` and`event_argument_BIO`);
55
+
6. The final output will be indirectory`output/`.
56
56
####Output format
57
57
The output will save separately in`output/`, each file can be loaded by`json.loads()`. After loading, the data will be in`python list` type, each line will be in`python dict` type: