Skip to content

Conversation

@jshower
Copy link
Contributor

@jshower jshower commented Feb 22, 2018

the label file in the conll05 dataset has a wrong order. The pull request let the label dict in right order. Fix #8079

the label file in the conll05 dataset has a wrong order
@CLAassistant
Copy link

CLAassistant commented Feb 22, 2018

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@wangkuiyi wangkuiyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR! It seems that it is fixing a bug -- the format of label file differs from that of the vocabulary file. Do you mind adding an issue describing this bug, and mark this PR as fixing this issue by writing "Fix #xxx" in the description of this PR? (#xxx is the id of the issue you just created.) . Thanks!

tag_dict.add(line[2:])
elif line.startswith("I-"):
tag_dict.add(line[2:])
else:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not a Python expert, but it seems that we can remove L54-L55?

Fix #8079 and remove the redundant code
@jshower
Copy link
Contributor Author

jshower commented Feb 25, 2018

I mentioned this problem in issue #8079 before, and it is now marked in description. And in the new update, the redundant two lines of code are deleted.

Copy link
Contributor

@lcy-seso lcy-seso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@guru4elephant guru4elephant merged commit daa8ed3 into develop Feb 27, 2018
@jshower jshower deleted the fix_conll05_bug branch February 27, 2018 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

6 participants