interactive-cookbook / recipe-generation

Apache License 2.0
0 stars 0 forks source link

Penman warning: cannot deinvert attribute #10

Closed kastein closed 2 years ago

kastein commented 2 years ago

When processing the AMRs for the second round of recipes the following warning occurs:

WARNING:penman.layout:cannot deinvert attribute: ('n', ':ARG1-of', '"simple-02"')
kastein commented 2 years ago

Recipe / instruction that causes the problem

# ::id lavender_lemonade_10_instr6
# ::name lavender_lemonade_10_instr6
# ::snt Pour Lavender Simple Syrup in a sealed container , and use as needed .
# ::root a
(a / and~e.78
   :rel "simple-02"~e.71
   :op1 (p / pour-01~e.69
           :ARG0 (y / you~e.69)
           :ARG1 (c / carriage~e.72
                    :mod (s2 / simple~e.70))
           :ARG2 (c2 / container~e.76
                     :ARG1-of (s / seal-01~e.75))
           :mode imperative~e.69)
   :op2 (u / use-01~e.79
           :ARG0 y
           :ARG1 c
           :manner (n2 / need-01~e.81)
           :mode imperative~e.82)
   :rel (e / "enzyme"~e.70
           :name n)
   :rel (n / name~e.72
           :ARG1-of "simple-02"~e.71))

Result from the wrongly parsed AMR graph -> Warning should not be a problem / occur for splitting and processing correctly parsed AMRs