1

我正在尝试使用众所周知的 WSD 数据集(SemEval、SensEval)来评估 WSD 模型。但我不明白金钥匙文本文件的格式。

seneval3.gold.key.txt

d000.s000.t000 man%1:18:00::
d000.s000.t001 say%2:32:01::
d000.s001.t000 peer%2:39:00::
d000.s001.t001 companion%1:18:00::
d000.s001.t002 bleary%5:00:00:indistinct:00
d000.s001.t003 eye%1:08:00::
d000.s002.t000 have%2:40:00::
d000.s002.t001 ready%5:00:01:available:00
d000.s002.t002 answer%1:04:00::
d000.s002.t003 much%3:00:00::
d000.s002.t004 surprise%1:12:00::
d000.s002.t005 fit%1:26:00::
d000.s002.t006 coughing%1:26:00::
d000.s003.t000 man%1:18:00::
d000.s003.t001 drunk%3:00:00::
d000.s003.t002 crazy%5:00:00:insane:00
d000.s004.t000 newfound%5:00:00:new:00

通过查看数据文件,我知道在第一行d000.s000.t000谈论文档#0 句子#0 令牌#0。

senseval3.data.xml

<sentence id="d000.s000">
    <wf lemma="that" pos="DET">That</wf>
    <wf lemma="&apos;" pos="VERB">&apos;s</wf>
    <wf lemma="what" pos="PRON">what</wf>
    <wf lemma="the" pos="DET">the</wf>
    <instance id="d000.s000.t000" lemma="man" pos="NOUN">man</instance>
    <wf lemma="have" pos="VERB">had</wf>
    <instance id="d000.s000.t001" lemma="say" pos="VERB">said</instance>
    <wf lemma="." pos=".">.</wf>
</sentence>

但我不知道 之后是什么意思%,例如1:18:00::引理人。

4

1 回答 1

1

这个答案是根据给这个SO post的评论组成的。

后面的数字序列%是 lex_index。Lex 索引组成如下。

ss_type:lex_filenum:lex_id:head_word:head_id

更多信息在 WordNet文档中。

于 2021-03-25T06:47:44.283 回答