Skip to content

parser doesn't produce amr-unknown  #14

@PolKul

Description

@PolKul

I was able to train the parser as per your instructions. But when testing the trained model I found that it didn't produce amr-unknown node. For example:

Text: Which architect of Marine Corps Air Station Kaneohe Bay was also tenant of New Sanno hotel?
# ::node	1	person	1-2
# ::node	2	architect-01	1-2
# ::node	3	facility	3-9
# ::node	5	also	10-11
# ::node	6	reside-01	11-12
# ::node	7	company	13-16
# ::node	10	name	3-9
# ::node	11	"Marine"	3-9
# ::node	12	"Corps"	3-9
# ::node	13	"Air"	3-9
# ::node	14	"Station"	3-9
# ::node	15	"Kaneohe"	3-9
# ::node	16	"Bay"	3-9
# ::node	18	name	13-16
# ::node	19	"New"	13-16
# ::node	20	"Sanno"	13-16
# ::node	21	"Hotel"	13-16
# ::root	6	reside-01
# ::edge	person	ARG0-of	architect-01	1	2	
# ::edge	architect-01	ARG1	facility	2	3	
# ::edge	reside-01	mod	also	6	5	
# ::edge	reside-01	ARG0	person	6	1	
# ::edge	reside-01	ARG1	company	6	7	
# ::edge	facility	name	name	3	10	
# ::edge	name	op1	"Marine"	10	11	
# ::edge	name	op2	"Corps"	10	12	
# ::edge	name	op3	"Air"	10	13	
# ::edge	name	op4	"Station"	10	14	
# ::edge	name	op5	"Kaneohe"	10	15	
# ::edge	name	op6	"Bay"	10	16	
# ::edge	company	name	name	7	18	
# ::edge	name	op1	"New"	18	19	
# ::edge	name	op2	"Sanno"	18	20	
# ::edge	name	op3	"Hotel"	18	21	
# ::short	{1: 'p', 2: 'a', 3: 'f', 5: 'a2', 6: 'r', 7: 'c', 10: 'n', 11: 'x0', 12: 'x1', 13: 'x2', 14: 'x3', 15: 'x4', 16: 'x5', 18: 'n2', 19: 'x6', 20: 'x7', 21: 'x8'}	
(r / reside-01
      :ARG0 (p / person
            :ARG0-of (a / architect-01
                  :ARG1 (f / facility
                        :name (n / name
                              :op1 "Marine"
                              :op2 "Corps"
                              :op3 "Air"
                              :op4 "Station"
                              :op5 "Kaneohe"
                              :op6 "Bay"))))
      :ARG1 (c / company
            :name (n2 / name
                  :op1 "New"
                  :op2 "Sanno"
                  :op3 "Hotel"))
      :mod (a2 / also))

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