Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit19cc769

Browse files
committed
add BIO
1 parent168a40b commit19cc769

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

‎README.md‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ ACE2005-toolkit
1313
│ │ └── ...
1414
│ └── index.html
1515
├── cache_data (empty before run)
16-
│ ├── Arabic
17-
│ ├── Chinese
18-
│ └── English
16+
│ ├── Arabic/
17+
│ ├── Chinese/
18+
│ └── English/
1919
├── filelist (train/dev/test doc files)
2020
│ ├── ace.ar.dev
2121
│ ├── ace.ar.test
@@ -27,7 +27,11 @@ ACE2005-toolkit
2727
│ ├── ace.zh.test
2828
│ └── ace.zh.train
2929
30-
├── output(final output, empty before run)
30+
├── output (final output, empty before run)
31+
│ ├── BIO (BIO output)
32+
│ │ ├── train/
33+
│ │ ├── test/
34+
│ │ └── dev/
3135
│ └── ...
3236
├── udpipe (udpipe files)
3337
│ ├── arabic-padt-ud-2.5-191206
@@ -47,7 +51,8 @@ ACE2005-toolkit
4751
2. Install all the requirements by`pip install -r requirements.txt`;
4852
3. Start preprocess by`bash run.sh en`,`en` can be replaced by`zh` or`ar`;
4953
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;
50-
5. The final output will in`output/`.
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/`.
5156
####Output format
5257
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:
5358
```

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp