We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for subject in subjects: label = subject[0] start = subject[1] end = subject[2] start_ids[start] = label2id[label] end_ids[end] = label2id[label] subjects_id.append((label2id[label], start, end))
看这段代码,start_ids和end_ids都只有1份数据,所以一个字如果同时属于两种实体类型,会有一种被覆盖掉,比如:《苏轼传》,其中包含实体:苏轼【PER】,苏轼传【BOOK】,那么对于“苏”这个字,其实是否有两种状态的,因为第一种状态会被第二种状态覆盖 不知道是否理解正确
The text was updated successfully, but these errors were encountered:
No branches or pull requests
看这段代码,start_ids和end_ids都只有1份数据,所以一个字如果同时属于两种实体类型,会有一种被覆盖掉,比如:《苏轼传》,其中包含实体:苏轼【PER】,苏轼传【BOOK】,那么对于“苏”这个字,其实是否有两种状态的,因为第一种状态会被第二种状态覆盖
不知道是否理解正确
The text was updated successfully, but these errors were encountered: