Sys2text2

From SIGSEM

Jump to: navigation, search
%%% This file was generated by the following command:
%%% bin/boxer --input working/step/text2.ccg --semantics drs --box --resolve --roles verbnet 

:- multifile     sem/5, id/2.
:- discontiguous sem/5, id/2.
:- dynamic       sem/5, id/2.

id(text2,1).

%%% Cervical cancer is caused by a virus . That has been known for some time and it has led to a vaccine that seems to prevent it . Researchers have been looking for other cancers that may be caused by viruses . 

sem(1,
    [word(1001, 'Cervical'), word(1002, cancer), word(1003, is), word(1004, caused), word(1005, by), word(1006, a), word(1007, virus), word(1008, '.'), word(2001, 'That'), word(2002, has), word(2003, been), word(2004, known), word(2005, for), word(2006, some), word(2007, time), word(2008, and), word(2009, it), word(2010, has), word(2011, led), word(2012, to), word(2013, a), word(2014, vaccine), word(2015, that), word(2016, seems), word(2017, to), word(2018, prevent), word(2019, it), word(2020, '.'), word(3001, 'Researchers'), word(3002, have), word(3003, been), word(3004, looking), word(3005, for), word(3006, other), word(3007, cancers), word(3008, that), word(3009, may), word(3010, be), word(3011, caused), word(3012, by), word(3013, viruses), word(3014, '.')],
    [pos(1001, 'JJ'), pos(1002, 'NN'), pos(1003, 'VBZ'), pos(1004, 'VBN'), pos(1005, 'IN'), pos(1006, 'DT'), pos(1007, 'NN'), pos(1008, '.'), pos(2001, 'DT'), pos(2002, 'VBZ'), pos(2003, 'VBN'), pos(2004, 'VBN'), pos(2005, 'IN'), pos(2006, 'DT'), pos(2007, 'NN'), pos(2008, 'CC'), pos(2009, 'PRP'), pos(2010, 'VBZ'), pos(2011, 'VBN'), pos(2012, 'TO'), pos(2013, 'DT'), pos(2014, 'NN'), pos(2015, 'WDT'), pos(2016, 'VBZ'), pos(2017, 'TO'), pos(2018, 'VB'), pos(2019, 'PRP'), pos(2020, '.'), pos(3001, 'NNS'), pos(3002, 'VBP'), pos(3003, 'VBN'), pos(3004, 'VBG'), pos(3005, 'IN'), pos(3006, 'JJ'), pos(3007, 'NNS'), pos(3008, 'WDT'), pos(3009, 'MD'), pos(3010, 'VB'), pos(3011, 'VBN'), pos(3012, 'IN'), pos(3013, 'NNS'), pos(3014, '.')],
    [],
    smerge(drs([[2001]:A, [2009]:B, [2019]:C], [[2001]:pred(A, thing, n, 12), [2009]:pred(B, neuter, a, 0), [2019]:pred(C, neuter, a, 0)]), smerge(drs([[1001, 1002]:D, [1004]:E, [1006]:F], [[1002, 3007]:pred(D, cancer, n, 0), [1001]:pred(D, cervical, a, 0), [1004]:pred(E, cause, v, 0), [1007]:pred(F, virus, n, 0), []:pred(E, event, n, 1), [1004]:rel(E, D, theme, 0), [1005]:rel(E, F, by, 0)]), smerge(drs([[2004]:G, [2006]:H], [[2004]:pred(G, know, v, 0), [2007]:pred(H, time, n, 0), []:pred(G, event, n, 1), [2004]:rel(G, A, theme, 0), [2005]:rel(G, H, for, 0)]), smerge(drs([[2011]:I, [2013]:J, [2016]:K, []:L], [[2011]:pred(I, lead, v, 0), [2014]:pred(J, vaccine, n, 0), [2016]:pred(K, seem, v, 0), [2016]:pred(L, proposition, n, 1), []:pred(K, event, n, 1), []:pred(I, event, n, 1), [2011]:rel(I, B, agent, 0), [2016]:rel(K, J, agent, 0), [2016]:rel(K, L, theme, 0), [2012]:rel(I, J, to, 0), [2016]:prop(L, drs([[2018]:M], [[2018]:pred(M, prevent, v, 0), []:pred(M, event, n, 1), [2018]:rel(M, J, agent, 0), [2018]:rel(M, C, theme, 0)]))]), drs([[3001]:N, [3004]:O, [3006, 3007]:P, [3011]:Q, [3013]:R], [[3001]:pred(N, researcher, n, 0), [3004]:pred(O, look, v, 0), [3004]:rel(O, N, agent, 0), [3007]:pred(P, cancer, n, 0), [3006]:not(drs([], [[]:eq(P, D)])), [3011]:pred(Q, cause, v, 0), [3013]:pred(R, virus, n, 0), []:pred(Q, event, n, 1), [3011]:rel(Q, P, theme, 0), [3012]:rel(Q, R, by, 0), [3005]:rel(O, P, for, 0), []:pred(O, event, n, 1)]))))) ).
%%%   ____________    ______________    ______________    ________________________   _____________________     
%%%  | x0 x1 x2   |  | x3 x4 x5     |  | x6 x7        |  | x8 x9 x10 x11          | | x13 x14 x15 x16 x17 |    
%%%  |------------|  |--------------|  |--------------|  |------------------------| |---------------------|    
%%% (| thing(x0)  |+(| cancer(x3)   |+(| know(x6)     |+(| lead(x8)               |+| researcher(x13)     |))))
%%%  | neuter(x1) |  | cervical(x3) |  | time(x7)     |  | vaccine(x9)            | | look(x14)           |    
%%%  | neuter(x2) |  | cause(x4)    |  | event(x6)    |  | seem(x10)              | | agent(x14,x13)      |    
%%%  |____________|  | virus(x5)    |  | theme(x6,x0) |  | proposition(x11)       | | cancer(x15)         |    
%%%                  | event(x4)    |  | for(x6,x7)   |  | event(x10)             | |      __________     |    
%%%                  | theme(x4,x3) |  |______________|  | event(x8)              | |     |          |    |    
%%%                  | by(x4,x5)    |                    | agent(x8,x1)           | | __  |----------|    |    
%%%                  |______________|                    | agent(x10,x9)          | |   | | x15 = x3 |    |    
%%%                                                      | theme(x10,x11)         | |     |__________|    |    
%%%                                                      | to(x8,x9)              | | cause(x16)          |    
%%%                                                      |       _______________  | | virus(x17)          |    
%%%                                                      |      | x12           | | | event(x16)          |    
%%%                                                      |  x11:|---------------| | | theme(x16,x15)      |    
%%%                                                      |      | prevent(x12)  | | | by(x16,x17)         |    
%%%                                                      |      | event(x12)    | | | for(x14,x15)        |    
%%%                                                      |      | agent(x12,x9) | | | event(x14)          |    
%%%                                                      |      | theme(x12,x2) | | |_____________________|    
%%%                                                      |      |_______________| |                            
%%%                                                      |________________________|                            
Attempted: 3. Completed: 3 (100.00%).
Personal tools