Commit 013a80fb authored by opitz's avatar opitz
Browse files

added requirements.txt and example data

parent f1de15d0
Loading
Loading
Loading
Loading
+31 −0
Changes for data/dev/exampledata-camr.txt: 31 added lines, 0 removed lines.
Original line number Diff line number Diff line
# ::id 1
# ::snt Pierre Vinken , 61 years old , will join the board as a nonexecutive director Nov. 29 .
(x9 / join-01
    :ARG1 (x1 / person
        :name (n / name
            :op1 "Pierre"))
    :duration (x5 / temporal-quantity
        :unit (y / year)
        :quant 61)
    :ARG1 (x11 / board-01
        :location (x15 / have-org-role-91
            :ARG2 (d / director)
            :mod (x14 / nonexecutive)))
    :ARG1 (x16 / event
        :name (n1 / name
            :op1 "Nov."
            :op2 "29")))

# ::id 2
# ::snt Mr. Vinken is chairman of Elsevier N.V. , the Dutch publishing group .
(x4 / chairman
    :ARG0 (x2 / person
        :name (n / name
            :op1 "Vinken")
        :null_edge (x1 / null_tag))
    :ARG1 (x12 / group
        :ARG0-of (x11 / publish-01
            :ARG0-of (x6 / organization
                :name (n1 / name
                    :op1 "Elsevier")))))
+28 −0
Changes for data/dev/exampledata-gold.txt: 28 added lines, 0 removed lines.
Original line number Diff line number Diff line
# ::id nw.wsj_0001.1 ::date 2012-04-25T16:31:34 ::annotator ISI-AMR-01 ::preferred
# ::snt Pierre Vinken , 61 years old , will join the board as a nonexecutive director Nov. 29 .
# ::save-date Tue Sep 17, 2013 ::file nw_wsj_0001_1.txt
(j / join-01
      :ARG0 (p / person :wiki -
            :name (p2 / name :op1 "Pierre" :op2 "Vinken")
            :age (t / temporal-quantity :quant 61
                  :unit (y / year)))
      :ARG1 (b / board
            :ARG1-of (h / have-org-role-91
                  :ARG0 p
                  :ARG2 (d2 / director
                        :mod (e / executive :polarity -))))
      :time (d / date-entity :month 11 :day 29))

# ::id nw.wsj_0001.2 ::date 2012-04-25T16:33:55 ::annotator ISI-AMR-01 ::preferred
# ::snt Mr. Vinken is chairman of Elsevier N.V. , the Dutch publishing group .
# ::save-date Mon Sep 9, 2013 ::file nw_wsj_0001_2.txt
(h / have-org-role-91
      :ARG0 (p / person :wiki -
            :name (m / name :op1 "Mr." :op2 "Vinken"))
      :ARG1 (g / group :wiki "Reed_Elsevier#Elsevier_NV"
            :name (e / name :op1 "Elsevier" :op2 "N.V.")
            :mod (c / country :wiki "Netherlands"
                  :name (n / name :op1 "Netherlands"))
            :ARG0-of (p2 / publish-01))
      :ARG2 (c2 / chairman))
+120 −0
Changes for data/dev/exampledata-gpla.txt: 120 added lines, 0 removed lines.
Original line number Diff line number Diff line
# ::snt Pierre Vinken , 61 years old , will join the board as a nonexecutive director Nov. 29 .
# ::tok Pierre Vinken , 61 years old , will join the board as a nonexecutive director Nov. 29 .
# ::lemma Pierre Vinken , 61 year old , will join the board as a nonexecutive director Nov. 29 .
# ::pos NNP NNP , CD NNS JJ , MD VB DT NN IN DT JJ NN NNP CD .
# ::ner PERSON PERSON O DURATION DURATION DURATION O O O O O O O O TITLE DATE DATE O
# ::node        p0      person  0-1
# ::node        n1      name    0-1
# ::node        P2      "Pierre"        0-1
# ::node        V3      "Vinken"        1-2
# ::node        64      61      3-4
# ::node        t5      temporal-quantity       4-5
# ::node        y6      year    4-5
# ::node        a7      age-01  5-6
# ::node        j8      join-01 8-9
# ::node        b9      board   10-11
# ::node        n10     nonexecutive    13-14
# ::node        h11     have-org-role-91        14-15
# ::node        d12     director        14-15
# ::node        213     2       15-16
# ::node        d14     date-entity     15-16
# ::node        215     29      16-17
# ::node        -n1     -       0-1
# ::edge        name    :name-of        person  n1      p0
# ::edge        name    :op1    "Pierre"        n1      P2
# ::edge        name    :op2    "Vinken"        n1      V3
# ::edge        61      :quant-of       temporal-quantity       64      t5
# ::edge        year    :unit-of        temporal-quantity       y6      t5
# ::edge        age-01  :ARG1   person  a7      p0
# ::edge        age-01  :ARG2   temporal-quantity       a7      t5
# ::edge        join-01 :ARG0   person  j8      p0
# ::edge        join-01 :ARG1   board   j8      b9
# ::edge        nonexecutive    :mod-of director        n10     d12
# ::edge        have-org-role-91        :ARG2   director        h11     d12
# ::edge        have-org-role-91        :ARG0   person  h11     p0
# ::edge        have-org-role-91        :ARG0   date-entity     h11     d14
# ::edge        2       :month-of       date-entity     213     d14
# ::edge        29      :day-of date-entity     215     d14
# ::edge        -       :wiki-of        person  -n1     p0
(j8 / join-01
    :ARG0 (p0 / person
        :name (n1 / name
            :op1 "Pierre"
            :op2 "Vinken")
        :ARG1-of (a7 / age-01
            :ARG2 (t5 / temporal-quantity
                :unit (y6 / year)
                :quant 61))
        :ARG0-of (h11 / have-org-role-91
            :ARG2 (d12 / director
                :mod (n10 / nonexecutive))
            :ARG0 (d14 / date-entity
                :month 2
                :day 29))
        :wiki -)
    :ARG1 (b9 / board))

# ::snt Mr. Vinken is chairman of Elsevier N.V. , the Dutch publishing group .
# ::tok Mr. Vinken is chairman of Elsevier N.V. , the Dutch publishing group .
# ::lemma Mr. Vinken be chairman of Elsevier N.V. , the dutch publishing group .
# ::pos NNP NNP VBZ NN IN NNP NNP , DT JJ NN NN .
# ::ner O PERSON O TITLE O ORGANIZATION ORGANIZATION O O NATIONALITY O O O
# ::node        p0      person  0-1
# ::node        n1      name    0-1
# ::node        M2      "Mr."   0-1
# ::node        V3      "Vinken"        1-2
# ::node        h4      have-org-role-91        3-4
# ::node        c5      chairman        3-4
# ::node        c6      company 5-6
# ::node        n7      name    5-6
# ::node        E8      "Elsevier"      5-6
# ::node        N9      "N.v."  6-7
# ::node        c10     country 9-10
# ::node        n11     name    9-10
# ::node        D12     "Dutch" 9-10
# ::node        P13     "Publishing"    10-11
# ::node        h14     have-org-role-91        11-12
# ::node        g15     group   11-12
# ::node        -n1     -       0-1
# ::node        -n7     -       5-6
# ::node        -n11    -       9-10
# ::edge        name    :name-of        person  n1      p0
# ::edge        name    :op1    "Mr."   n1      M2
# ::edge        name    :op2    "Vinken"        n1      V3
# ::edge        have-org-role-91        :ARG0   person  h4      p0
# ::edge        have-org-role-91        :ARG2   chairman        h4      c5
# ::edge        have-org-role-91        :ARG1   company h4      c6
# ::edge        name    :name-of        company n7      c6
# ::edge        name    :op1    "Elsevier"      n7      E8
# ::edge        name    :op2    "N.v."  n7      N9
# ::edge        country :mod-of group   c10     g15
# ::edge        name    :name-of        country n11     c10
# ::edge        name    :op1    "Dutch" n11     D12
# ::edge        "Publishing"    :ARG0   group   P13     g15
# ::edge        have-org-role-91        :ARG0   person  h14     p0
# ::edge        have-org-role-91        :ARG1   company h14     c6
# ::edge        have-org-role-91        :ARG2   group   h14     g15
# ::edge        -       :wiki-of        person  -n1     p0
# ::edge        -       :wiki-of        company -n7     c6
# ::edge        -       :wiki-of        country -n11    c10
(g15 / group
    :mod (c10 / country
        :name (n11 / name
            :op1 "Dutch")
        :wiki -)
    :ARG2-of (h14 / have-org-role-91
        :ARG0 (p0 / person
            :name (n1 / name
                :op1 "Mr."
                :op2 "Vinken")
            :ARG0-of (h4 / have-org-role-91
                :ARG2 (c5 / chairman)
                :ARG1 c6)
            :wiki -)
        :ARG1 (c6 / company
            :name (n7 / name
                :op1 "Elsevier"
                :op2 "N.v.")
            :wiki -))
    :ARG0-of "Publishing")
+37 −0
Changes for data/dev/exampledata-jamr.txt: 37 added lines, 0 removed lines.
Original line number Diff line number Diff line
# ::snt Pierre Vinken , 61 years old , will join the board as a nonexecutive director Nov. 29 .
# ::tok Pierre Vinken , 61 years old , will join the board as a nonexecutive director Nov. 29 .
# ::alignments 16-17|0.0.0.0 15-16|0.0.0.3.0+0.0.0.3 14-15|0.0.0.1+0.0.0 10-11|0.1 8-9|0 5-6|0.0.1 4-5|0.0.0.2.0.0+0.0.0.2.0 3-4|0.0.0.2 0-2|0.0.2.1+0.0.2.0+0.0.2+0.0 ::annotator JAMR dev v0.3 ::date 2018-08-16T11:05:54.357
(j / join-01
      :ARG0 (p / person
            :ARG0-of (h / have-org-role-91
                  :ARG1 29
                  :ARG2 (d2 / director)
                  :op1-of (6 / 61
                        :quant-of (t / temporal-quantity
                              :unit (y / year)))
                  :time (d / date-entity
                        :month 11))
            :mod (o / old)
            :name (n / name
                  :op1 "Pierre"
                  :op2 "Vinken"))
      :ARG1 (b / board))

# ::snt Mr. Vinken is chairman of Elsevier N.V. , the Dutch publishing group .
# ::tok Mr. Vinken is chairman of Elsevier N.V. , the Dutch publishing group .
# ::alignments 11-12|0.0 10-11|0 9-10|0.0.0.0.0+0.0.0.0+0.0.0 5-7|0.0.1.1.1+0.0.1.1.0+0.0.1.1+0.0.1 3-4|0.0.1.0.1+0.0.1.0 0-2|0.0.1.0.0.0.1+0.0.1.0.0.0.0+0.0.1.0.0.0+0.0.1.0.0 ::annotator JAMR dev v0.3 ::date 2018-08-16T11:05:54.517
(p / publish-01
      :ARG0 (g / group
            :domain (t / thing
                  :name (n / name
                        :op1 "Dutch"))
            :mod-of (o / organization
                  :ARG1-of (h / have-org-role-91
                        :ARG0 (t2 / thing
                              :name (n3 / name
                                    :op1 (m / Mr.)
                                    :op2 (v / Vinken)))
                        :ARG2 (c / chairman))
                  :name (n2 / name
                        :op1 "Elsevier"
                        :op2 "N.V."))))
+83 −0
Changes for data/test/exampledata-camr.txt: 83 added lines, 0 removed lines.
Original line number Diff line number Diff line
# ::id 1
# ::snt Xinhua News Agency , Beijing , September 1st , by reporter Guojun Yang
(xap1 / byline-91
        :ARG0 (x1 / publication
                :name (n / name
                        :op1 "Xinhua"))
        :null_edge (x2 / null_tag)
        :location (x5 / city
                :name (n1 / name
                        :op1 "Beijing"))
        :ARG0 (x13 / person
                :name (n2 / name
                        :op1 "Yang")
                :null_edge (x11 / report-01)
                :name (x12 / name
                        :op1 "Guojun"))
        :name (xap0 / date-entity
                :null_edge (x8 / date-entity
                        :null_edge 9)))

# ::id 2
# ::snt When meeting with Chavalit Yoncayu , vice-premier and concurrent Minister of Domestic Affairs of Thailand , at the Diaoyutai State Guesthouse today , Huaqing Liu , vice-chairman of the Central Military Commission said that China placed a great deal of importance in developing friendship with the government , people and Armed Forces of Thailand , especially the economic and trade cooperation between the two countries .
(x33 / say-01
        :time (x2 / meet-03
                :ARG1 (x8 / and
                        :op2 (x4 / name
                                :op1 "Chavalit")
                        :op2 (x7 / vice-premier
                                :ARG0-of (x10 / have-org-role-91
                                        :ARG2 (m / minister)
                                        :ARG1-of (x9 / concurrent-02)
                                        :ARG1 (x12 / government-organization
                                                :name (n5 / name
                                                        :op1 "Domestic"
                                                        :op2 "Affairs")
                                                :location (x15 / country
                                                        :name (n6 / name
                                                                :op1 "Thailand"))))))
                :time (x22 / today
                        :null_edge (x19 / country
                                :name (n2 / name
                                        :op1 "Diaoyutai"))
                        :null_edge (x21 / country
                                :name (n3 / name
                                        :op1 "Guesthouse"))))
        :ARG0 (x25 / person
                :name (n / name
                        :op1 "Liu")
                :null_edge (x24 / name
                        :op1 "Huaqing"))
        :ARG1 (x36 / place-01
                :ARG0 (x35 / country
                        :name (n1 / name
                                :op1 "China"))
                :ARG1 (x39 / deal-01
                        :mod (x38 / great)
                        :ARG2 (x41 / important))
                :ARG2 (x43 / develop-02
                        :ARG0 x35
                        :ARG1 (x44 / friendship
                                :ARG1 (x50 / and
                                        :op1 (x47 / government-organization
                                                :ARG0-of (g / govern-01)
                                                :null_edge (x52 / null_tag
                                                        :null_edge (x51 / newspaper
                                                                :name (n7 / name
                                                                        :op1 "Armed"))
                                                        :null_edge (x58 / economy
                                                                :null_edge "Thailand"
                                                                :op8 (x61 / cooperate-01
                                                                        :ARG2 (x60 / trade-01
                                                                                :mod (x56 / especially))
                                                                        :ARG0 (x65 / country
                                                                                :quant 2)))))))))
        :ARG1 (xap0 / chairman
                :mod (x27 / vice
                        :null_edge (x32 / have-org-role-91
                                :ARG1 (o / organization
                                        :name (n4 / name
                                                :op1 "Commission"))
                                :null_edge (x30 / null_tag)
                                :null_edge (x31 / null_tag)))))
Loading