forked from jiesutd/NCRFpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# @Author: Jie Yang | ||
# @Date: 2017-11-27 16:53:36 | ||
# @Last Modified by: Jie Yang, Contact: [email protected] | ||
# @Last Modified time: 2018-06-21 22:52:25 | ||
# @Last Modified time: 2018-06-25 10:26:30 | ||
|
||
|
||
""" | ||
|
@@ -122,7 +122,7 @@ def choose_label(input_file, output_file): | |
if __name__ == '__main__': | ||
'''Convert NER tag schemes among IOB/BIO/BIOES. | ||
For example: if you want to convert the IOB tag scheme to BIO, then you run as following: | ||
python NERSchemeConvertor.py IOB2BIO input_iob_file output_bio_file | ||
python NERSchemeConverter.py IOB2BIO input_iob_file output_bio_file | ||
Input data format is the standard CoNLL 2003 data format. | ||
''' | ||
if sys.argv[1].upper() == "IOB2BIO": | ||
|