Skip to content

mapping from propbank to framenet #10

@jheinecke

Description

@jheinecke

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions