Hello,
thanks for this data! I'm trying to map propbank rolesets andarguments to FrameNet frames and frame-elements. But as I see this is not (yet) possible using the .json files in instances/. So I try to use the instances/semlink-2 file (together with tools/annotation.py. However, I came across cases where the FrameNet frame is None (OK, no FrameNet frame defined) NF or IN. What is the meaning of the latter two?
BTW, the python lines indicating how to use the json-files seem to have an error, the following works:
# Let's get the FN mappings from the PB roleset "abduct.01"
vn_mapping = pb_vn_mappings["abduct.01"]
# Here we just grab the first sense
# vn_class = vn_mapping[list(vn_mapping.keys())[0]] # original line (here vn_class is a dict)
vn_class = list(vn_mapping.keys())[0] # should be like this
# From VN, abduct.01 maps to VerbNet class 10.5
fn_mapping = vn_fn_mappings[vn_class + "-" + verb]
print (fn_mapping)
# And from FN we get the Frame "kidnapping"
Thanks
Hello,
thanks for this data! I'm trying to map propbank rolesets andarguments to FrameNet frames and frame-elements. But as I see this is not (yet) possible using the
.jsonfiles ininstances/. So I try to use the instances/semlink-2 file (together with tools/annotation.py. However, I came across cases where the FrameNet frame isNone(OK, no FrameNet frame defined)NForIN. What is the meaning of the latter two?BTW, the python lines indicating how to use the json-files seem to have an error, the following works:
Thanks