miulab的evaluate的解读
挖坑
"""
Copy file (including metric) from MiuLab:
https://github.com/MiuLab/SlotGated-SLU
"""
import os
# compute f1 score is modified from conlleval.pl
def __startOfChunk(prevTag, tag, prevTagType, tagType, chunkStart=False):
if prevTag == 'B' and tag
原创
2020-08-22 22:51:52 ·
333 阅读 ·
2 评论