Advertisement
logicmoo

Untitled

Aug 28th, 2020 (edited)
3,316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 107.37 KB | None | 0 0
  1. andrewdo@ai2:/var/lib/myfrdcsa/codebases/internal/perllib/scripts$ ./test-system-candc-5.pl
  2. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  3. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  4. # this file was generated by the following command(s):
  5. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  6.  
  7. 1 parsed at B=0.075, K=20
  8. 1 coverage 100%
  9. 1 stats 7.03174 562 677
  10. Attempted: 1. Completed: 1 (100.00%).
  11. $VAR1 = {
  12.           'CCG' => '% this file was generated by the following command(s):
  13. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  14.  
  15. :- op(601, xfx, (/)).
  16. :- op(601, xfx, (\\)).
  17. :- multifile ccg/2, id/2.
  18. :- discontiguous ccg/2, id/2.
  19.  
  20. ccg(1,
  21. rp(s:dcl,
  22.  ba(s:dcl,
  23.   fa(np:nb,
  24.    t(np:nb/n, "a", "a", "DT", "I-NP", "O"),
  25.    fa(n,
  26.     t(n/n, "red", "red", "JJ", "I-NP", "O"),
  27.     t(n, "cat", "cat", "NN", "I-NP", "O"))),
  28.   fa(s:dcl\\np,
  29.    t((s:dcl\\np)/(s:dcl\\np), "fastly", "fastly", "RB", "I-ADVP", "O"),
  30.    ba(s:dcl\\np,
  31.     t(s:dcl\\np, "jumped", "jump", "VBD", "I-VP", "O"),
  32.     fa((s:dcl\\np)\\(s:dcl\\np),
  33.      t(((s:dcl\\np)\\(s:dcl\\np))/np, "onto", "onto", "IN", "I-PP", "O"),
  34.      ba(np,
  35.       fa(np:nb,
  36.        t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  37.        t(n, "table", "table", "NN", "I-NP", "O")),
  38.       fa(np\\np,
  39.        t((np\\np)/(s:dcl\\np), "which", "which", "WDT", "B-NP", "O"),
  40.        fa(s:dcl\\np,
  41.         t((s:dcl\\np)/pp, "is", "be", "VBZ", "I-VP", "O"),
  42.         fa(pp,
  43.          t(pp/np, "in", "in", "IN", "I-PP", "O"),
  44.          ba(np,
  45.           fa(np:nb,
  46.            t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  47.            t(n, "kitchen", "kitchen", "NN", "I-NP", "O")),
  48.           fa(np\\np,
  49.            t((np\\np)/np, "of", "of", "IN", "I-PP", "O"),
  50.            fa(np:nb,
  51.             t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  52.             t(n, "house", "house", "NN", "I-NP", "O")))))))))))),
  53.  t(period, ".", ".", ".", "O", "O"))).
  54.  
  55. id(rte, [1]).
  56.  
  57. ',
  58.           'DRS' => '%%% This file was generated by the following command:
  59. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  60.  
  61. :- multifile     sem/5, id/2.
  62. :- discontiguous sem/5, id/2.
  63. :- dynamic       sem/5, id/2.
  64.  
  65. id(rte,1).
  66.  
  67. %%% a red cat fastly jumped onto the table which is in the kitchen of the house .
  68.  
  69. sem(1,
  70.    [word(1001, a), word(1002, red), word(1003, cat), word(1004, fastly), word(1005, jumped), word(1006, onto), word(1007, the), word(1008, table), word(1009, which), word(1010, is), word(1011, in), word(1012, the), word(1013, kitchen), word(1014, of), word(1015, the), word(1016, house), word(1017, ".")],
  71.    [pos(1001, "DT"), pos(1002, "JJ"), pos(1003, "NN"), pos(1004, "RB"), pos(1005, "VBD"), pos(1006, "IN"), pos(1007, "DT"), pos(1008, "NN"), pos(1009, "WDT"), pos(1010, "VBZ"), pos(1011, "IN"), pos(1012, "DT"), pos(1013, "NN"), pos(1014, "IN"), pos(1015, "DT"), pos(1016, "NN"), pos(1017, ".")],
  72.    [],
  73.    smerge(drs([[1007]:A, [1012]:B, [1015]:C], [[1008]:pred(A, table, n, 0), [1013]:pred(B, kitchen, n, 0), [1016]:pred(C, house, n, 0)]), drs([[1001]:D, [1005]:E, [1010]:F], [[1002]:pred(D, red, a, 0), [1003]:pred(D, cat, n, 0), [1005]:pred(E, jump, v, 0), [1005]:rel(E, D, agent, 0), [1010]:pred(F, be, v, 0), [1010]:rel(F, A, agent, 0), [1014]:rel(B, C, of, 0), [1011]:rel(F, B, in, 0), []:pred(F, event, n, 1), [1004]:pred(E, fastly, a, 0), []:pred(E, event, n, 1), [1006]:rel(E, A, onto, 0)])) ).
  74. %%%   _____________   ______________  
  75. %%%  | x0 x1 x2    | | x3 x4 x5     |
  76. %%%  |-------------| |--------------|
  77. %%% (| table(x0)   |+| red(x3)      |)
  78. %%%  | kitchen(x1) | | cat(x3)      |
  79. %%%  | house(x2)   | | jump(x4)     |
  80. %%%  |_____________| | agent(x4,x3) |
  81. %%%                  | be(x5)       |
  82. %%%                  | agent(x5,x0) |
  83. %%%                  | of(x1,x2)    |
  84. %%%                  | in(x5,x1)    |
  85. %%%                  | event(x5)    |
  86. %%%                  | fastly(x4)   |
  87. %%%                  | event(x4)    |
  88. %%%                  | onto(x4,x0)  |
  89. %%%                  |______________|
  90. '
  91.         };
  92. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  93. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  94. # this file was generated by the following command(s):
  95. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  96.  
  97. 1 parsed at B=0.075, K=20
  98. 1 coverage 100%
  99. 1 stats 10.1806 1444 2064
  100. Attempted: 1. Completed: 1 (100.00%).
  101. $VAR1 = {
  102.           'CCG' => '% this file was generated by the following command(s):
  103. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  104.  
  105. :- op(601, xfx, (/)).
  106. :- op(601, xfx, (\\)).
  107. :- multifile ccg/2, id/2.
  108. :- discontiguous ccg/2, id/2.
  109.  
  110. ccg(1,
  111. fa(s:dcl,
  112.  fa(s:dcl/s:dcl,
  113.   t((s:dcl/s:dcl)/np, "After", "after", "IN", "I-PP", "O"),
  114.   lx(np, n,
  115.    t(n, "Slitscan", "Slitscan", "NNP", "I-NP", "I-ORG"))),
  116.  rp(s:dcl,
  117.   lp(s:dcl,
  118.    t(comma, ",", ",", ",", "O", "O"),
  119.    ba(s:dcl,
  120.     lx(np, n,
  121.      t(n, "Laney", "Laney", "NNP", "I-NP", "I-PER")),
  122.     fa(s:dcl\\np,
  123.      t((s:dcl\\np)/pp, "heard", "hear", "VBD", "I-VP", "O"),
  124.      fa(pp,
  125.       t(pp/np, "about", "about", "IN", "I-PP", "O"),
  126.       ba(np,
  127.        ba(np,
  128.         fa(np:nb,
  129.          t(np:nb/n, "another", "another", "DT", "I-NP", "O"),
  130.          t(n, "job", "job", "NN", "I-NP", "O")),
  131.         fa(np\\np,
  132.          t((np\\np)/np, "from", "from", "IN", "I-PP", "O"),
  133.          lx(np, n,
  134.           t(n, "Rydell", "Rydell", "NNP", "I-NP", "I-LOC")))),
  135.        conj(np\\np, np,
  136.         t(comma, ",", ",", ",", "O", "O"),
  137.         ba(np,
  138.          fa(np:nb,
  139.           t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  140.           fa(n,
  141.            t(n/n, "night", "night", "NN", "I-NP", "O"),
  142.            fa(n,
  143.             t(n/n, "security", "security", "NN", "I-NP", "O"),
  144.             t(n, "man", "man", "NN", "I-NP", "O")))),
  145.          fa(np\\np,
  146.           t((np\\np)/np, "at", "at", "IN", "I-PP", "O"),
  147.           fa(np:nb,
  148.            t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  149.            t(n, "Chateau", "Chateau", "NNP", "I-NP", "I-LOC")))))))))),
  150.   t(period, ".", ".", ".", "O", "O")))).
  151.  
  152. id(rte, [1]).
  153.  
  154. ',
  155.           'DRS' => '%%% This file was generated by the following command:
  156. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  157.  
  158. :- multifile     sem/5, id/2.
  159. :- discontiguous sem/5, id/2.
  160. :- dynamic       sem/5, id/2.
  161.  
  162. id(rte,1).
  163.  
  164. %%% After Slitscan , Laney heard about another job from Rydell , the night security man at the Chateau .
  165.  
  166. sem(1,
  167.    [word(1001, "After"), word(1002, "Slitscan"), word(1003, (",")), word(1004, "Laney"), word(1005, heard), word(1006, about), word(1007, another), word(1008, job), word(1009, from), word(1010, "Rydell"), word(1011, (",")), word(1012, the), word(1013, night), word(1014, security), word(1015, man), word(1016, at), word(1017, the), word(1018, "Chateau"), word(1019, ".")],
  168.    [pos(1001, "IN"), pos(1002, "NNP"), pos(1003, (",")), pos(1004, "NNP"), pos(1005, "VBD"), pos(1006, "IN"), pos(1007, "DT"), pos(1008, "NN"), pos(1009, "IN"), pos(1010, "NNP"), pos(1011, (",")), pos(1012, "DT"), pos(1013, "NN"), pos(1014, "NN"), pos(1015, "NN"), pos(1016, "IN"), pos(1017, "DT"), pos(1018, "NNP"), pos(1019, ".")],
  169.    [ne(1002, "I-ORG"), ne(1004, "I-PER"), ne(1010, "I-LOC"), ne(1018, "I-LOC")],
  170.    smerge(drs([[1002]:A, [1004]:B, []:C, [1010]:D, [1014]:E, [1013]:F, [1012]:G, [1017]:H], [[1002]:named(A, slitscan, org, 0), [1004]:named(B, laney, per, 0), [1008]:pred(C, job, n, 0), [1010]:named(D, rydell, loc, 0), [1014]:pred(E, security, n, 0), [1013]:pred(F, night, n, 0), [1015]:pred(G, man, n, 0), []:rel(E, G, nn, 0), []:rel(F, G, nn, 0), [1018]:named(H, chateau, loc, 0)]), drs([[1001]:I, []:J], [[1001]:pred(I, after, v, 0), [1001]:pred(J, proposition, n, 1), []:pred(I, event, n, 1), [1001]:rel(I, A, agent, 0), [1001]:rel(I, J, theme, 0), [1001]:prop(J, drs([[1005]:K, [1007]:L], [[1005]:pred(K, hear, v, 0), [1005]:rel(K, B, agent, 0), [1008]:pred(L, job, n, 0), [1007]:not(drs([], [[]:eq(L, C)])), [1009]:rel(L, D, from, 0), [1006]:rel(K, L, about, 0), [1016]:rel(G, H, at, 0), [1006]:rel(K, G, about, 0), []:pred(K, event, n, 1)]))])) ).
  171. %%%   _________________________   ___________________________  
  172. %%%  | x0 x1 x2 x3 x4 x5 x6 x7 | | x8 x9                     |
  173. %%%  |-------------------------| |---------------------------|
  174. %%% (| named(x0,slitscan,org)  |+| after(x8)                 |)
  175. %%%  | named(x1,laney,per)     | | proposition(x9)           |
  176. %%%  | job(x2)                 | | event(x8)                 |
  177. %%%  | named(x3,rydell,loc)    | | agent(x8,x0)              |
  178. %%%  | security(x4)            | | theme(x8,x9)              |
  179. %%%  | night(x5)               | |       __________________  |
  180. %%%  | man(x6)                 | |      | x10 x11          | |
  181. %%%  | nn(x4,x6)               | |   x9:|------------------| |
  182. %%%  | nn(x5,x6)               | |      | hear(x10)        | |
  183. %%%  | named(x7,chateau,loc)   | |      | agent(x10,x1)    | |
  184. %%%  |_________________________| |      | job(x11)         | |
  185. %%%                              |      |      __________  | |
  186. %%%                              |      |     |          | | |
  187. %%%                              |      | __  |----------| | |
  188. %%%                              |      |   | | x11 = x2 | | |
  189. %%%                              |      |     |__________| | |
  190. %%%                              |      | from(x11,x3)     | |
  191. %%%                              |      | about(x10,x11)   | |
  192. %%%                              |      | at(x6,x7)        | |
  193. %%%                              |      | about(x10,x6)    | |
  194. %%%                              |      | event(x10)       | |
  195. %%%                              |      |__________________| |
  196. %%%                              |___________________________|
  197. '
  198.         };
  199. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  200. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  201. # this file was generated by the following command(s):
  202. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  203.  
  204. 1 parsed at B=0.075, K=20
  205. 1 coverage 100%
  206. 1 stats 13.801 3332 5053
  207. Attempted: 1. Completed: 1 (100.00%).
  208. $VAR1 = {
  209.           'DRS' => '%%% This file was generated by the following command:
  210. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  211.  
  212. :- multifile     sem/5, id/2.
  213. :- discontiguous sem/5, id/2.
  214. :- dynamic       sem/5, id/2.
  215.  
  216. id(rte,1).
  217.  
  218. %%% Rydell was a big quiet Tennessean with a sad shy grin , cheap sunglasses , and a walkie-talkie screwed permanently into one ear .
  219.  
  220. sem(1,
  221.    [word(1001, "Rydell"), word(1002, was), word(1003, a), word(1004, big), word(1005, quiet), word(1006, "Tennessean"), word(1007, with), word(1008, a), word(1009, sad), word(1010, shy), word(1011, grin), word(1012, (",")), word(1013, cheap), word(1014, sunglasses), word(1015, (",")), word(1016, and), word(1017, a), word(1018, "walkie-talkie"), word(1019, screwed), word(1020, permanently), word(1021, into), word(1022, one), word(1023, ear), word(1024, ".")],
  222.    [pos(1001, "NNP"), pos(1002, "VBD"), pos(1003, "DT"), pos(1004, "JJ"), pos(1005, "JJ"), pos(1006, "NN"), pos(1007, "IN"), pos(1008, "DT"), pos(1009, "JJ"), pos(1010, "JJ"), pos(1011, "NN"), pos(1012, (",")), pos(1013, "JJ"), pos(1014, "NNS"), pos(1015, (",")), pos(1016, "CC"), pos(1017, "DT"), pos(1018, "NN"), pos(1019, "VBD"), pos(1020, "RB"), pos(1021, "IN"), pos(1022, "CD"), pos(1023, "NN"), pos(1024, ".")],
  223.    [ne(1001, "I-PER")],
  224.    smerge(drs([[1001]:A, [1003]:B, [1008]:C, [1002]:D, [1013, 1014]:E, [1002]:F], [[1001]:named(A, rydell, per, 0), [1004]:pred(B, big, a, 0), [1005]:pred(B, quiet, a, 0), [1006]:pred(B, tennessean, n, 0), [1009]:pred(C, sad, a, 0), [1010]:pred(C, shy, a, 0), [1011]:pred(C, grin, n, 0), []:pred(D, event, n, 1), [1013]:pred(E, cheap, a, 0), [1014]:pred(E, sunglass, n, 0), []:pred(F, event, n, 1), [1007]:rel(B, C, with, 0), [1007]:rel(B, E, with, 0), [1002]:prop(D, drs([], [[1002]:eq(A, B)])), [1002]:prop(F, drs([], [[1002]:eq(A, B)]))]), drs([[1017]:G, [1019]:H, [1022, 1023]:I], [[1022]:card(I, 1, ge), [1018]:pred(G, "walkie-talkie", n, 0), [1019]:pred(H, screw, v, 0), [1023]:pred(I, ear, n, 0), [1020]:pred(H, permanently, a, 0), []:pred(H, event, n, 1), [1019]:rel(H, G, agent, 0), [1021]:rel(H, I, into, 0)])) ).
  225. %%%   ______________________   ___________________  
  226. %%%  | x0 x1 x2 x3 x4 x5    | | x6 x7 x8          |
  227. %%%  |----------------------| |-------------------|
  228. %%% (| named(x0,rydell,per) |+| |x8| >= 1         |)
  229. %%%  | big(x1)              | | walkie-talkie(x6) |
  230. %%%  | quiet(x1)            | | screw(x7)         |
  231. %%%  | tennessean(x1)       | | ear(x8)           |
  232. %%%  | sad(x2)              | | permanently(x7)   |
  233. %%%  | shy(x2)              | | event(x7)         |
  234. %%%  | grin(x2)             | | agent(x7,x6)      |
  235. %%%  | event(x3)            | | into(x7,x8)       |
  236. %%%  | cheap(x4)            | |___________________|
  237. %%%  | sunglass(x4)         |                      
  238. %%%  | event(x5)            |                      
  239. %%%  | with(x1,x2)          |                      
  240. %%%  | with(x1,x4)          |                      
  241. %%%  |       _________      |                      
  242. %%%  |      |         |     |                      
  243. %%%  |   x3:|---------|     |                      
  244. %%%  |      | x0 = x1 |     |                      
  245. %%%  |      |_________|     |                      
  246. %%%  |       _________      |                      
  247. %%%  |      |         |     |                      
  248. %%%  |   x5:|---------|     |                      
  249. %%%  |      | x0 = x1 |     |                      
  250. %%%  |      |_________|     |                      
  251. %%%  |______________________|                      
  252. ',
  253.           'CCG' => '% this file was generated by the following command(s):
  254. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  255.  
  256. :- op(601, xfx, (/)).
  257. :- op(601, xfx, (\\)).
  258. :- multifile ccg/2, id/2.
  259. :- discontiguous ccg/2, id/2.
  260.  
  261. ccg(1,
  262. rp(s:dcl,
  263.  ba(s:dcl,
  264.   ba(s:dcl,
  265.    lx(np, n,
  266.     t(n, "Rydell", "Rydell", "NNP", "I-NP", "I-PER")),
  267.    fa(s:dcl\\np,
  268.     t((s:dcl\\np)/np, "was", "be", "VBD", "I-VP", "O"),
  269.     ba(np,
  270.      fa(np:nb,
  271.       t(np:nb/n, "a", "a", "DT", "I-NP", "O"),
  272.       fa(n,
  273.        t(n/n, "big", "big", "JJ", "I-NP", "O"),
  274.        fa(n,
  275.         t(n/n, "quiet", "quiet", "JJ", "I-NP", "O"),
  276.         t(n, "Tennessean", "tennessean", "NN", "I-NP", "O")))),
  277.      fa(np\\np,
  278.       t((np\\np)/np, "with", "with", "IN", "I-PP", "O"),
  279.       ba(np,
  280.        fa(np:nb,
  281.         t(np:nb/n, "a", "a", "DT", "I-NP", "O"),
  282.         fa(n,
  283.          t(n/n, "sad", "sad", "JJ", "I-NP", "O"),
  284.          fa(n,
  285.           t(n/n, "shy", "shy", "JJ", "I-NP", "O"),
  286.           t(n, "grin", "grin", "NN", "I-NP", "O")))),
  287.        conj(np\\np, np,
  288.         t(comma, ",", ",", ",", "O", "O"),
  289.         lx(np, n,
  290.          fa(n,
  291.           t(n/n, "cheap", "cheap", "JJ", "I-NP", "O"),
  292.           t(n, "sunglasses", "sunglass", "NNS", "I-NP", "O"))))))))),
  293.   lp(s:dcl\\s:dcl,
  294.    t(comma, ",", ",", ",", "O", "O"),
  295.    conj(s:dcl\\s:dcl, s:dcl,
  296.     t(conj, "and", "and", "CC", "O", "O"),
  297.     ba(s:dcl,
  298.      fa(np:nb,
  299.       t(np:nb/n, "a", "a", "DT", "I-NP", "O"),
  300.       t(n, "walkie-talkie", "walkie-talkie", "NN", "I-NP", "O")),
  301.      fa(s:dcl\\np,
  302.       bxc((s:dcl\\np)/pp,
  303.        t((s:dcl\\np)/pp, "screwed", "screw", "VBD", "I-VP", "O"),
  304.        t((s:dcl\\np)\\(s:dcl\\np), "permanently", "permanently", "RB", "I-ADVP", "O")),
  305.       fa(pp,
  306.        t(pp/np, "into", "into", "IN", "I-PP", "O"),
  307.        lx(np, n,
  308.         fa(n,
  309.          t(n/n, "one", "one", "CD", "I-NP", "O"),
  310.          t(n, "ear", "ear", "NN", "I-NP", "O"))))))))),
  311.  t(period, ".", ".", ".", "O", "O"))).
  312.  
  313. id(rte, [1]).
  314.  
  315. '
  316.         };
  317. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  318. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  319. # this file was generated by the following command(s):
  320. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  321.  
  322. 1 parsed at B=0.075, K=20
  323. 1 coverage 100%
  324. 1 stats 9.201 336 460
  325. Attempted: 1. Completed: 1 (100.00%).
  326. $VAR1 = {
  327.           'DRS' => '%%% This file was generated by the following command:
  328. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  329.  
  330. :- multifile     sem/5, id/2.
  331. :- discontiguous sem/5, id/2.
  332. :- dynamic       sem/5, id/2.
  333.  
  334. id(rte,1).
  335.  
  336. %%% Concrete beams overhead had been hand-painted to vaguely resemble blond oak .
  337.  
  338. sem(1,
  339.    [word(1001, "Concrete"), word(1002, beams), word(1003, overhead), word(1004, had), word(1005, been), word(1006, "hand-painted"), word(1007, to), word(1008, vaguely), word(1009, resemble), word(1010, blond), word(1011, oak), word(1012, ".")],
  340.    [pos(1001, "NNP"), pos(1002, "VBZ"), pos(1003, "NN"), pos(1004, "VBD"), pos(1005, "VBN"), pos(1006, "JJ"), pos(1007, "TO"), pos(1008, "RB"), pos(1009, "VB"), pos(1010, "JJ"), pos(1011, "NN"), pos(1012, ".")],
  341.    [],
  342.    smerge(drs([[1001]:A], [[1001]:named(A, concrete, nam, 0)]), drs([[1002]:B, []:C], [[1002]:pred(B, beam, v, 0), [1002]:pred(C, proposition, n, 1), []:pred(B, event, n, 1), [1002]:rel(B, A, agent, 0), [1002]:rel(B, C, theme, 0), [1002]:prop(C, drs([[1003]:D, [1006]:E, []:F], [[1003]:pred(D, overhead, n, 0), [1006]:pred(F, proposition, n, 1), []:pred(E, event, n, 1), [1006]:rel(E, F, theme, 0), [1006]:prop(E, drs([], [[1006]:pred(D, "hand-painted", a, 0)])), [1006]:prop(F, drs([[1010, 1011]:G, [1009]:H], [[1010]:pred(G, blond, a, 0), [1011]:pred(G, oak, n, 0), [1009]:pred(H, resemble, v, 0), [1008]:pred(H, vaguely, a, 0), []:pred(H, event, n, 1), [1009]:rel(H, D, agent, 0), [1009]:rel(H, G, patient, 0)]))]))])) ).
  343. %%%   ________________________   ____________________________________  
  344. %%%  | x0                     | | x1 x2                              |
  345. %%%  |------------------------| |------------------------------------|
  346. %%% (| named(x0,concrete,nam) |+| beam(x1)                           |)
  347. %%%  |________________________| | proposition(x2)                    |
  348. %%%                             | event(x1)                          |
  349. %%%                             | agent(x1,x0)                       |
  350. %%%                             | theme(x1,x2)                       |
  351. %%%                             |       ___________________________  |
  352. %%%                             |      | x3 x4 x5                  | |
  353. %%%                             |   x2:|---------------------------| |
  354. %%%                             |      | overhead(x3)              | |
  355. %%%                             |      | proposition(x5)           | |
  356. %%%                             |      | event(x4)                 | |
  357. %%%                             |      | theme(x4,x5)              | |
  358. %%%                             |      |       __________________  | |
  359. %%%                             |      |      |                  | | |
  360. %%%                             |      |   x4:|------------------| | |
  361. %%%                             |      |      | hand-painted(x3) | | |
  362. %%%                             |      |      |__________________| | |
  363. %%%                             |      |       ________________    | |
  364. %%%                             |      |      | x6 x7          |   | |
  365. %%%                             |      |   x5:|----------------|   | |
  366. %%%                             |      |      | blond(x6)      |   | |
  367. %%%                             |      |      | oak(x6)        |   | |
  368. %%%                             |      |      | resemble(x7)   |   | |
  369. %%%                             |      |      | vaguely(x7)    |   | |
  370. %%%                             |      |      | event(x7)      |   | |
  371. %%%                             |      |      | agent(x7,x3)   |   | |
  372. %%%                             |      |      | patient(x7,x6) |   | |
  373. %%%                             |      |      |________________|   | |
  374. %%%                             |      |___________________________| |
  375. %%%                             |____________________________________|
  376. ',
  377.           'CCG' => '% this file was generated by the following command(s):
  378. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  379.  
  380. :- op(601, xfx, (/)).
  381. :- op(601, xfx, (\\)).
  382. :- multifile ccg/2, id/2.
  383. :- discontiguous ccg/2, id/2.
  384.  
  385. ccg(1,
  386. rp(s:dcl,
  387.  ba(s:dcl,
  388.   lx(np, n,
  389.    t(n, "Concrete", "Concrete", "NNP", "I-NP", "O")),
  390.   fa(s:dcl\\np,
  391.    t((s:dcl\\np)/s:dcl, "beams", "beam", "VBZ", "I-VP", "O"),
  392.    ba(s:dcl,
  393.     lx(np, n,
  394.      t(n, "overhead", "overhead", "NN", "I-NP", "O")),
  395.     fa(s:dcl\\np,
  396.      t((s:dcl\\np)/(s:pt\\np), "had", "have", "VBD", "I-VP", "O"),
  397.      fa(s:pt\\np,
  398.       t((s:pt\\np)/(s:adj\\np), "been", "be", "VBN", "I-VP", "O"),
  399.       fa(s:adj\\np,
  400.        t((s:adj\\np)/(s:to\\np), "hand-painted", "hand-painted", "JJ", "I-ADJP", "O"),
  401.        fa(s:to\\np,
  402.         bxc((s:to\\np)/(s:b\\np),
  403.          t((s:to\\np)/(s:b\\np), "to", "to", "TO", "I-VP", "O"),
  404.          t((s:to\\np)\\(s:to\\np), "vaguely", "vaguely", "RB", "I-VP", "O")),
  405.         fa(s:b\\np,
  406.          t((s:b\\np)/np, "resemble", "resemble", "VB", "I-VP", "O"),
  407.          lx(np, n,
  408.           fa(n,
  409.            t(n/n, "blond", "blond", "JJ", "I-NP", "O"),
  410.            t(n, "oak", "oak", "NN", "I-NP", "O"))))))))))),
  411.  t(period, ".", ".", ".", "O", "O"))).
  412.  
  413. id(rte, [1]).
  414.  
  415. '
  416.         };
  417. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  418. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  419. # this file was generated by the following command(s):
  420. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  421.  
  422. 1 parsed at B=0.075, K=20
  423. 1 coverage 100%
  424. 1 stats 15.1619 2902 4964
  425. Attempted: 1. Completed: 1 (100.00%).
  426. $VAR1 = {
  427.           'CCG' => '% this file was generated by the following command(s):
  428. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  429.  
  430. :- op(601, xfx, (/)).
  431. :- op(601, xfx, (\\)).
  432. :- multifile ccg/2, id/2.
  433. :- discontiguous ccg/2, id/2.
  434.  
  435. ccg(1,
  436. ba(s:dcl,
  437.  fa(np:nb,
  438.   t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  439.   t(n, "chairs", "chair", "NNS", "I-NP", "O")),
  440.  lp(s:dcl\\np,
  441.   t(comma, ",", ",", ",", "O", "O"),
  442.   fa(s:dcl\\np,
  443.    fa((s:dcl\\np)/(s:dcl\\np),
  444.     t(((s:dcl\\np)/(s:dcl\\np))/np, "like", "like", "IN", "I-PP", "O"),
  445.     ba(np,
  446.      fa(np:nb,
  447.       t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  448.       t(n, "rest", "rest", "NN", "I-NP", "O")),
  449.      fa(np\\np,
  450.       t((np\\np)/np, "of", "of", "IN", "I-PP", "O"),
  451.       ba(np,
  452.        fa(np:nb,
  453.         t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  454.         t(n, "furniture", "furniture", "NN", "I-NP", "O")),
  455.        fa(np\\np,
  456.         t((np\\np)/np, "in", "in", "IN", "I-PP", "O"),
  457.         fa(np:nb,
  458.          ba(np:nb/n,
  459.           fa(np:nb,
  460.            t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  461.            t(n, "Chateau", "Chateau", "NNP", "I-NP", "I-LOC")),
  462.           t((np:nb/n)\\np, "\\"s", "\\"s", "POS", "B-NP", "O")),
  463.          t(n, "lobby", "lobby", "NN", "I-NP", "O"))))))),
  464.    lp(s:dcl\\np,
  465.     t(comma, ",", ",", ",", "O", "O"),
  466.     fa(s:dcl\\np,
  467.      t((s:dcl\\np)/(s:pss\\np), "were", "be", "VBD", "I-VP", "O"),
  468.      ba(s:pss\\np,
  469.       t(s:pss\\np, "oversized", "oversize", "VBN", "I-VP", "O"),
  470.       fa((s:pss\\np)\\(s:pss\\np),
  471.        t(((s:pss\\np)\\(s:pss\\np))/np, "to", "to", "TO", "I-PP", "O"),
  472.        fa(np:nb,
  473.         t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  474.         fa(n,
  475.          t(n/s:em, "extent", "extent", "NN", "I-NP", "O"),
  476.          fa(s:em,
  477.           t(s:em/s:dcl, "that", "that", "IN", "I-SBAR", "O"),
  478.           rp(s:dcl,
  479.            ba(s:dcl,
  480.             fa(np,
  481.              t(np/(s:dcl\\np), "whoever", "whoever", "WP", "I-NP", "O"),
  482.              ba(s:dcl\\np,
  483.               t(s:dcl\\np, "sat", "sit", "VBD", "I-VP", "O"),
  484.               fa((s:dcl\\np)\\(s:dcl\\np),
  485.                t(((s:dcl\\np)\\(s:dcl\\np))/np, "in", "in", "IN", "I-PP", "O"),
  486.                t(np, "them", "they", "PRP", "I-NP", "O")))),
  487.             fa(s:dcl\\np,
  488.              t((s:dcl\\np)/(s:pss\\np), "seemed", "seem", "VBD", "I-VP", "O"),
  489.              fa(s:pss\\np,
  490.               t((s:pss\\np)/pp, "built", "build", "VBN", "I-VP", "O"),
  491.               fa(pp,
  492.                t(pp/np, "to", "to", "TO", "I-PP", "O"),
  493.                fa(np:nb,
  494.                 t(np:nb/n, "a", "a", "DT", "I-NP", "O"),
  495.                 fa(n,
  496.                  t(n/n, "smaller", "smaller", "JJR", "I-NP", "O"),
  497.                  t(n, "scale", "scale", "NN", "I-NP", "O"))))))),
  498.            t(period, ".", ".", ".", "O", "O"))))))))))))).
  499.  
  500. id(rte, [1]).
  501.  
  502. ',
  503.           'DRS' => '%%% This file was generated by the following command:
  504. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  505.  
  506. :- multifile     sem/5, id/2.
  507. :- discontiguous sem/5, id/2.
  508. :- dynamic       sem/5, id/2.
  509.  
  510. id(rte,1).
  511.  
  512. %%% The chairs , like the rest of the furniture in the Chateau "s lobby , were oversized to the extent that whoever sat in them seemed built to a smaller scale .
  513.  
  514. sem(1,
  515.    [word(1001, "The"), word(1002, chairs), word(1003, (",")), word(1004, like), word(1005, the), word(1006, rest), word(1007, of), word(1008, the), word(1009, furniture), word(1010, in), word(1011, the), word(1012, "Chateau"), word(1013, "\\"s"), word(1014, lobby), word(1015, (",")), word(1016, were), word(1017, oversized), word(1018, to), word(1019, the), word(1020, extent), word(1021, that), word(1022, whoever), word(1023, sat), word(1024, in), word(1025, them), word(1026, seemed), word(1027, built), word(1028, to), word(1029, a), word(1030, smaller), word(1031, scale), word(1032, ".")],
  516.    [pos(1001, "DT"), pos(1002, "NNS"), pos(1003, (",")), pos(1004, "IN"), pos(1005, "DT"), pos(1006, "NN"), pos(1007, "IN"), pos(1008, "DT"), pos(1009, "NN"), pos(1010, "IN"), pos(1011, "DT"), pos(1012, "NNP"), pos(1013, "POS"), pos(1014, "NN"), pos(1015, (",")), pos(1016, "VBD"), pos(1017, "VBN"), pos(1018, "TO"), pos(1019, "DT"), pos(1020, "NN"), pos(1021, "IN"), pos(1022, "WP"), pos(1023, "VBD"), pos(1024, "IN"), pos(1025, "PRP"), pos(1026, "VBD"), pos(1027, "VBN"), pos(1028, "TO"), pos(1029, "DT"), pos(1030, "JJR"), pos(1031, "NN"), pos(1032, ".")],
  517.    [ne(1012, "I-LOC")],
  518.    smerge(drs([[1001]:A, [1025]:B, [1019]:C, [1005]:D, [1008]:E, [1011]:F, [1013]:G], [[1002]:pred(A, chair, n, 0), [1025]:pred(B, thing, n, 12), [1020]:pred(C, extent, n, 0), [1022]:whq([], drs([[1022]:H], [[1022]:pred(H, thing, n, 12)]), H, drs([[1023]:I, [1027]:J, [1029]:K], [[1023]:pred(I, sit, v, 0), [1023]:rel(I, H, agent, 0), []:pred(I, event, n, 1), [1024]:rel(I, B, in, 0), [1027]:pred(J, build, v, 0), [1030]:pred(K, smaller, a, 0), [1031]:pred(K, scale, n, 0), [1027]:rel(J, H, patient, 0), [1028]:rel(J, K, to, 0), [1020]:rel(J, C, rel, 0)])), [1006]:pred(D, rest, n, 0), [1009]:pred(E, furniture, n, 0), [1012]:named(F, chateau, loc, 0), [1014]:pred(G, lobby, n, 0), [1013]:rel(G, F, of, 0)]), drs([[1017]:L], [[1017]:pred(L, oversize, v, 0), [1017]:rel(L, A, patient, 0), [1018]:rel(L, C, to, 0), []:pred(L, event, n, 1), [1010]:rel(E, G, in, 0), [1007]:rel(D, E, of, 0), [1004]:rel(L, D, like, 0)])) ).
  519. %%%   ____________________________________   _________________  
  520. %%%  | x0 x1 x2 x3 x4 x5 x6               | | x11             |
  521. %%%  |------------------------------------| |-----------------|
  522. %%% (| chair(x0)                          |+| oversize(x11)   |)
  523. %%%  | thing(x1)                          | | patient(x11,x0) |
  524. %%%  | extent(x2)                         | | to(x11,x2)      |
  525. %%%  |  ___________     ________________  | | event(x11)      |
  526. %%%  | | x7        |   | x8 x9 x10      | | | in(x4,x6)       |
  527. %%%  | |-----------|   |----------------| | | of(x3,x4)       |
  528. %%%  | | thing(x7) | ? | sit(x8)        | | | like(x11,x3)    |
  529. %%%  | |___________|   | agent(x8,x7)   | | |_________________|
  530. %%%  |                 | event(x8)      | |                    
  531. %%%  |                 | in(x8,x1)      | |                    
  532. %%%  |                 | build(x9)      | |                    
  533. %%%  |                 | smaller(x10)   | |                    
  534. %%%  |                 | scale(x10)     | |                    
  535. %%%  |                 | patient(x9,x7) | |                    
  536. %%%  |                 | to(x9,x10)     | |                    
  537. %%%  |                 | rel(x9,x2)     | |                    
  538. %%%  |                 |________________| |                    
  539. %%%  | rest(x3)                           |                    
  540. %%%  | furniture(x4)                      |                    
  541. %%%  | named(x5,chateau,loc)              |                    
  542. %%%  | lobby(x6)                          |                    
  543. %%%  | of(x6,x5)                          |                    
  544. %%%  |____________________________________|                    
  545. '
  546.         };
  547. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  548. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  549. # this file was generated by the following command(s):
  550. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  551.  
  552. 1 parsed at B=0.075, K=20
  553. 1 coverage 100%
  554. 1 stats 15.9775 2682 4412
  555. Attempted: 1. Completed: 1 (100.00%).
  556. $VAR1 = {
  557.           'DRS' => '%%% This file was generated by the following command:
  558. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  559.  
  560. :- multifile     sem/5, id/2.
  561. :- discontiguous sem/5, id/2.
  562. :- dynamic       sem/5, id/2.
  563.  
  564. id(rte,1).
  565.  
  566. %%% Rydell used his straw to stir the foam and ice remaining at the bottom of his tall plastic cup , as though he were hoping to find a secret prize .
  567.  
  568. sem(1,
  569.    [word(1001, "Rydell"), word(1002, used), word(1003, his), word(1004, straw), word(1005, to), word(1006, stir), word(1007, the), word(1008, foam), word(1009, and), word(1010, ice), word(1011, remaining), word(1012, at), word(1013, the), word(1014, bottom), word(1015, of), word(1016, his), word(1017, tall), word(1018, plastic), word(1019, cup), word(1020, (",")), word(1021, as), word(1022, though), word(1023, he), word(1024, were), word(1025, hoping), word(1026, to), word(1027, find), word(1028, a), word(1029, secret), word(1030, prize), word(1031, ".")],
  570.    [pos(1001, "NNP"), pos(1002, "VBD"), pos(1003, "PRP$"), pos(1004, "NN"), pos(1005, "TO"), pos(1006, "VB"), pos(1007, "DT"), pos(1008, "NN"), pos(1009, "CC"), pos(1010, "NN"), pos(1011, "VBG"), pos(1012, "IN"), pos(1013, "DT"), pos(1014, "NN"), pos(1015, "IN"), pos(1016, "PRP$"), pos(1017, "JJ"), pos(1018, "NN"), pos(1019, "NN"), pos(1020, (",")), pos(1021, "IN"), pos(1022, "IN"), pos(1023, "PRP"), pos(1024, "VBD"), pos(1025, "VBG"), pos(1026, "TO"), pos(1027, "VB"), pos(1028, "DT"), pos(1029, "JJ"), pos(1030, "NN"), pos(1031, ".")],
  571.    [ne(1001, "I-PER")],
  572.    smerge(drs([[1001]:A, [1003]:B, [1007]:C, [1013]:D, [1018]:E, [1016]:F], [[1003, 1016, 1023]:pred(A, male, a, 0), [1001]:named(A, rydell, per, 0), [1004]:pred(B, straw, n, 0), [1003]:rel(B, A, of, 0), [1008]:pred(C, foam, n, 0), [1010]:pred(C, ice, n, 0), [1014]:pred(D, bottom, n, 0), [1018]:pred(E, plastic, n, 0), [1017]:pred(F, tall, a, 0), [1019]:pred(F, cup, n, 0), []:rel(E, F, nn, 0), [1016]:rel(F, A, of, 0)]), drs([[1002]:G, []:H, [1021]:I], [[1002]:pred(G, use, v, 0), [1002]:pred(H, proposition, n, 1), [1021]:pred(I, proposition, n, 1), []:pred(G, event, n, 1), [1002]:rel(G, B, patient, 0), [1002]:rel(G, A, agent, 0), [1002]:rel(G, H, theme, 0), [1021]:rel(G, I, as, 0), [1002]:prop(H, drs([[1011]:J, [1006]:K], [[1011]:pred(J, remain, v, 0), [1011]:rel(J, C, agent, 0), []:pred(J, event, n, 1), [1015]:rel(D, F, of, 0), [1012]:rel(J, D, at, 0), [1006]:pred(K, stir, v, 0), []:pred(K, event, n, 1), [1006]:rel(K, B, agent, 0), [1006]:rel(K, C, patient, 0)])), [1021]:prop(I, drs([[1025]:L, []:M], [[1025]:pred(L, hope, v, 0), [1025]:pred(M, proposition, n, 1), []:pred(L, event, n, 1), [1025]:rel(L, A, agent, 0), [1025]:rel(L, M, theme, 0), [1025]:prop(M, drs([[1028]:N, [1027]:O], [[1029]:pred(N, secret, a, 0), [1030]:pred(N, prize, n, 0), [1027]:pred(O, find, v, 0), []:pred(O, event, n, 1), [1027]:rel(O, A, agent, 0), [1027]:rel(O, N, patient, 0)]))]))])) ).
  573. %%%   ______________________   ____________________________________  
  574. %%%  | x0 x1 x2 x3 x4 x5    | | x6 x7 x8                           |
  575. %%%  |----------------------| |------------------------------------|
  576. %%% (| male(x0)             |+| use(x6)                            |)
  577. %%%  | named(x0,rydell,per) | | proposition(x7)                    |
  578. %%%  | straw(x1)            | | proposition(x8)                    |
  579. %%%  | of(x1,x0)            | | event(x6)                          |
  580. %%%  | foam(x2)             | | patient(x6,x1)                     |
  581. %%%  | ice(x2)              | | agent(x6,x0)                       |
  582. %%%  | bottom(x3)           | | theme(x6,x7)                       |
  583. %%%  | plastic(x4)          | | as(x6,x8)                          |
  584. %%%  | tall(x5)             | |       _________________            |
  585. %%%  | cup(x5)              | |      | x9 x10          |           |
  586. %%%  | nn(x4,x5)            | |   x7:|-----------------|           |
  587. %%%  | of(x5,x0)            | |      | remain(x9)      |           |
  588. %%%  |______________________| |      | agent(x9,x2)    |           |
  589. %%%                           |      | event(x9)       |           |
  590. %%%                           |      | of(x3,x5)       |           |
  591. %%%                           |      | at(x9,x3)       |           |
  592. %%%                           |      | stir(x10)       |           |
  593. %%%                           |      | event(x10)      |           |
  594. %%%                           |      | agent(x10,x1)   |           |
  595. %%%                           |      | patient(x10,x2) |           |
  596. %%%                           |      |_________________|           |
  597. %%%                           |       ___________________________  |
  598. %%%                           |      | x11 x12                   | |
  599. %%%                           |   x8:|---------------------------| |
  600. %%%                           |      | hope(x11)                 | |
  601. %%%                           |      | proposition(x12)          | |
  602. %%%                           |      | event(x11)                | |
  603. %%%                           |      | agent(x11,x0)             | |
  604. %%%                           |      | theme(x11,x12)            | |
  605. %%%                           |      |       __________________  | |
  606. %%%                           |      |      | x13 x14          | | |
  607. %%%                           |      |  x12:|------------------| | |
  608. %%%                           |      |      | secret(x13)      | | |
  609. %%%                           |      |      | prize(x13)       | | |
  610. %%%                           |      |      | find(x14)        | | |
  611. %%%                           |      |      | event(x14)       | | |
  612. %%%                           |      |      | agent(x14,x0)    | | |
  613. %%%                           |      |      | patient(x14,x13) | | |
  614. %%%                           |      |      |__________________| | |
  615. %%%                           |      |___________________________| |
  616. %%%                           |____________________________________|
  617. ',
  618.           'CCG' => '% this file was generated by the following command(s):
  619. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  620.  
  621. :- op(601, xfx, (/)).
  622. :- op(601, xfx, (\\)).
  623. :- multifile ccg/2, id/2.
  624. :- discontiguous ccg/2, id/2.
  625.  
  626. ccg(1,
  627. rp(s:dcl,
  628.  ba(s:dcl,
  629.   lx(np, n,
  630.    t(n, "Rydell", "Rydell", "NNP", "I-NP", "I-PER")),
  631.   ba(s:dcl\\np,
  632.    rp(s:dcl\\np,
  633.     fa(s:dcl\\np,
  634.      fa((s:dcl\\np)/(s:to\\np),
  635.       t(((s:dcl\\np)/(s:to\\np))/np, "used", "use", "VBD", "I-VP", "O"),
  636.       fa(np:nb,
  637.        t(np:nb/n, "his", "his", "PRP$", "I-NP", "O"),
  638.        t(n, "straw", "straw", "NN", "I-NP", "O"))),
  639.      fa(s:to\\np,
  640.       t((s:to\\np)/(s:b\\np), "to", "to", "TO", "I-VP", "O"),
  641.       fa(s:b\\np,
  642.        t((s:b\\np)/np, "stir", "stir", "VB", "I-VP", "O"),
  643.        ba(np,
  644.         fa(np:nb,
  645.          t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  646.          ba(n,
  647.           t(n, "foam", "foam", "NN", "I-NP", "O"),
  648.           conj(n\\n, n,
  649.            t(conj, "and", "and", "CC", "I-NP", "O"),
  650.            t(n, "ice", "ice", "NN", "I-NP", "O")))),
  651.         lx(np\\np, s:ng\\np,
  652.          ba(s:ng\\np,
  653.           t(s:ng\\np, "remaining", "remain", "VBG", "I-NP", "O"),
  654.           fa((s:ng\\np)\\(s:ng\\np),
  655.            t(((s:ng\\np)\\(s:ng\\np))/np, "at", "at", "IN", "I-PP", "O"),
  656.            ba(np,
  657.             fa(np:nb,
  658.              t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  659.              t(n, "bottom", "bottom", "NN", "I-NP", "O")),
  660.             fa(np\\np,
  661.              t((np\\np)/np, "of", "of", "IN", "I-PP", "O"),
  662.              fa(np:nb,
  663.               t(np:nb/n, "his", "his", "PRP$", "I-NP", "O"),
  664.               fa(n,
  665.                t(n/n, "tall", "tall", "JJ", "I-NP", "O"),
  666.                fa(n,
  667.                 t(n/n, "plastic", "plastic", "NN", "I-NP", "O"),
  668.                 t(n, "cup", "cup", "NN", "I-NP", "O"))))))))))))),
  669.     t(comma, ",", ",", ",", "O", "O")),
  670.    fa((s:dcl\\np)\\(s:dcl\\np),
  671.     t(((s:dcl\\np)\\(s:dcl\\np))/s:poss, "as", "as", "IN", "I-SBAR", "O"),
  672.     fa(s:poss,
  673.      t(s:poss/s:dcl, "though", "though", "IN", "I-SBAR", "O"),
  674.      ba(s:dcl,
  675.       t(np, "he", "he", "PRP", "I-NP", "O"),
  676.       fa(s:dcl\\np,
  677.        t((s:dcl\\np)/(s:ng\\np), "were", "be", "VBD", "I-VP", "O"),
  678.        fa(s:ng\\np,
  679.         t((s:ng\\np)/(s:to\\np), "hoping", "hope", "VBG", "I-VP", "O"),
  680.         fa(s:to\\np,
  681.          t((s:to\\np)/(s:b\\np), "to", "to", "TO", "I-VP", "O"),
  682.          fa(s:b\\np,
  683.           t((s:b\\np)/np, "find", "find", "VB", "I-VP", "O"),
  684.           fa(np:nb,
  685.            t(np:nb/n, "a", "a", "DT", "I-NP", "O"),
  686.            fa(n,
  687.             t(n/n, "secret", "secret", "JJ", "I-NP", "O"),
  688.             t(n, "prize", "prize", "NN", "I-NP", "O")))))))))))),
  689.  t(period, ".", ".", ".", "O", "O"))).
  690.  
  691. id(rte, [1]).
  692.  
  693. '
  694.         };
  695. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  696. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  697. # this file was generated by the following command(s):
  698. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  699.  
  700. 1 attempt nospan at B=0.075, K=20
  701. 1 parsed at B=0.03, K=20
  702. 1 coverage 100%
  703. 1 stats 18.65 7118 15807
  704. Attempted: 1. Completed: 1 (100.00%).
  705. $VAR1 = {
  706.           'CCG' => '% this file was generated by the following command(s):
  707. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  708.  
  709. :- op(601, xfx, (/)).
  710. :- op(601, xfx, (\\)).
  711. :- multifile ccg/2, id/2.
  712. :- discontiguous ccg/2, id/2.
  713.  
  714. ccg(1,
  715. ba(np,
  716.  lp(np,
  717.   t(lqu, "``", "``", "LQU", "O", "O"),
  718.   ba(np,
  719.    fa(np:nb,
  720.     t(np:nb/n, "A", "a", "DT", "I-NP", "O"),
  721.     fa(n,
  722.      t(n/n, "little", "little", "JJ", "I-NP", "O"),
  723.      t(n, "tribute", "tribute", "NN", "I-NP", "O"))),
  724.    fa(np\\np,
  725.     t((np\\np)/np, "to", "to", "TO", "I-PP", "O"),
  726.     rp(np,
  727.      lx(np, n,
  728.       t(n, "Gibson", "Gibson", "NNP", "I-NP", "I-PER")),
  729.      t(rqu, "\\"\\"", "\\"\\"", "RQU", "O", "O"))))),
  730.  lx(np\\np, s:dcl,
  731.   rp(s:dcl,
  732.    ba(s:dcl,
  733.     t(np, "You", "you", "PRP", "I-NP", "O"),
  734.     ba(s:dcl\\np,
  735.      fa(s:dcl\\np,
  736.       t((s:dcl\\np)/pp, "look", "look", "VBP", "I-VP", "O"),
  737.       fa(pp,
  738.        t(pp/np, "like", "like", "IN", "I-PP", "O"),
  739.        ba(np,
  740.         fa(np:nb,
  741.          t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  742.          t(n, "cat", "cat", "NN", "I-NP", "O")),
  743.         fa(np\\np,
  744.          t((np\\np)/(s:dcl\\np), "that", "that", "WDT", "B-NP", "O"),
  745.          ba(s:dcl\\np,
  746.           fa(s:dcl\\np,
  747.            t((s:dcl\\np)/np, "swallowed", "swallow", "VBD", "I-VP", "O"),
  748.            fa(np:nb,
  749.             t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  750.             t(n, "canary", "canary", "JJ", "I-NP", "O"))),
  751.           lp((s:dcl\\np)\\(s:dcl\\np),
  752.            t(comma, ",", ",", ",", "O", "O"),
  753.            rtc((s:dcl\\np)\\(s:dcl\\np),
  754.             fc(s:dcl/s:dcl,
  755.              tr(s:dcl/(s:dcl\\np),
  756.               lp(np,
  757.                t(lqu, "``", "``", "LQU", "O", "O"),
  758.                t(np, "he", "he", "PRP", "I-NP", "O"))),
  759.              t((s:dcl\\np)/s:dcl, "said", "say", "VBD", "I-VP", "O")),
  760.             t(comma, ",", ",", ",", "O", "O")))))))),
  761.      lx((s:dcl\\np)\\(s:dcl\\np), s:ng\\np,
  762.       fa(s:ng\\np,
  763.        fa((s:ng\\np)/np,
  764.         t(((s:ng\\np)/np)/np, "giving", "give", "VBG", "I-VP", "O"),
  765.         lx(np, n,
  766.          t(n, "her", "her", "PRP$", "I-NP", "O"))),
  767.        fa(np:nb,
  768.         t(np:nb/n, "a", "a", "DT", "B-NP", "O"),
  769.         fa(n,
  770.          t(n/n, "puzzled", "puzzled", "JJ", "I-VP", "O"),
  771.          t(n, "look", "look", "NN", "I-NP", "O"))))))),
  772.    t(period, ".", ".", ".", "O", "O"))))).
  773.  
  774. id(rte, [1]).
  775.  
  776. ',
  777.           'DRS' => '%%% This file was generated by the following command:
  778. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  779.  
  780. :- multifile     sem/5, id/2.
  781. :- discontiguous sem/5, id/2.
  782. :- dynamic       sem/5, id/2.
  783.  
  784. id(rte,1).
  785.  
  786. %%% `` A little tribute to Gibson "" You look like the cat that swallowed the canary , `` he said , giving her a puzzled look .
  787.  
  788. sem(1,
  789.    [word(1001, ``), word(1002, "A"), word(1003, little), word(1004, tribute), word(1005, to), word(1006, "Gibson"), word(1007, "\\"\\""), word(1008, "You"), word(1009, look), word(1010, like), word(1011, the), word(1012, cat), word(1013, that), word(1014, swallowed), word(1015, the), word(1016, canary), word(1017, (",")), word(1018, ``), word(1019, he), word(1020, said), word(1021, (",")), word(1022, giving), word(1023, her), word(1024, a), word(1025, puzzled), word(1026, look), word(1027, ".")],
  790.    [pos(1001, "LQU"), pos(1002, "DT"), pos(1003, "JJ"), pos(1004, "NN"), pos(1005, "TO"), pos(1006, "NNP"), pos(1007, "RQU"), pos(1008, "PRP"), pos(1009, "VBP"), pos(1010, "IN"), pos(1011, "DT"), pos(1012, "NN"), pos(1013, "WDT"), pos(1014, "VBD"), pos(1015, "DT"), pos(1016, "JJ"), pos(1017, (",")), pos(1018, "LQU"), pos(1019, "PRP"), pos(1020, "VBD"), pos(1021, (",")), pos(1022, "VBG"), pos(1023, "PRP$"), pos(1024, "DT"), pos(1025, "JJ"), pos(1026, "NN"), pos(1027, ".")],
  791.    [ne(1006, "I-PER")],
  792.    smerge(drs([[1006]:A, [1008]:B, [1011]:C, [1015]:D], [[1019]:pred(A, male, a, 0), [1006]:named(A, gibson, per, 0), [1008]:pred(B, person, n, 1), [1012]:pred(C, cat, n, 0), [1016]:pred(D, canary, n, 0)]), drs([[1002]:E, [1009]:F, [1020]:G, []:H, [1022, 1024, 1025, 1026]:I, [1024]:J, [1023]:K, [1022]:L], [[1003]:pred(E, little, a, 0), [1004]:pred(E, tribute, n, 0), []:pred(E, topic, a, 1), [1005]:rel(E, A, to, 0), [1009]:pred(F, look, v, 0), [1009]:rel(F, B, agent, 0), [1020]:pred(G, say, v, 0), [1020]:pred(H, proposition, n, 1), []:pred(G, event, n, 1), [1020]:rel(G, A, agent, 0), [1020]:rel(G, H, theme, 0), [1020]:prop(H, drs([[1014]:M], [[1014]:pred(M, swallow, v, 0), []:pred(M, event, n, 1), [1014]:rel(M, C, agent, 0), [1014]:rel(M, D, patient, 0)])), [1010]:rel(F, C, like, 0), []:pred(F, event, n, 1), []:rel(F, E, rel, 0), [1025]:pred(J, puzzled, a, 0), [1026]:pred(J, look, n, 0), [1023]:pred(K, her, n, 0), [1022]:pred(L, give, v, 0), []:pred(L, event, n, 1), [1022]:rel(L, I, agent, 0), [1022]:rel(L, J, recipient, 0), [1022]:rel(L, K, theme, 0)])) ).
  793. %%%   ______________________   ___________________________  
  794. %%%  | x0 x1 x2 x3          | | x4 x5 x6 x7 x8 x9 x10 x11 |
  795. %%%  |----------------------| |---------------------------|
  796. %%% (| male(x0)             |+| little(x4)                |)
  797. %%%  | named(x0,gibson,per) | | tribute(x4)               |
  798. %%%  | person(x1)           | | topic(x4)                 |
  799. %%%  | cat(x2)              | | to(x4,x0)                 |
  800. %%%  | canary(x3)           | | look(x5)                  |
  801. %%%  |______________________| | agent(x5,x1)              |
  802. %%%                           | say(x6)                   |
  803. %%%                           | proposition(x7)           |
  804. %%%                           | event(x6)                 |
  805. %%%                           | agent(x6,x0)              |
  806. %%%                           | theme(x6,x7)              |
  807. %%%                           |       _________________   |
  808. %%%                           |      | x12             |  |
  809. %%%                           |   x7:|-----------------|  |
  810. %%%                           |      | swallow(x12)    |  |
  811. %%%                           |      | event(x12)      |  |
  812. %%%                           |      | agent(x12,x2)   |  |
  813. %%%                           |      | patient(x12,x3) |  |
  814. %%%                           |      |_________________|  |
  815. %%%                           | like(x5,x2)               |
  816. %%%                           | event(x5)                 |
  817. %%%                           | rel(x5,x4)                |
  818. %%%                           | puzzled(x9)               |
  819. %%%                           | look(x9)                  |
  820. %%%                           | her(x10)                  |
  821. %%%                           | give(x11)                 |
  822. %%%                           | event(x11)                |
  823. %%%                           | agent(x11,x8)             |
  824. %%%                           | recipient(x11,x9)         |
  825. %%%                           | theme(x11,x10)            |
  826. %%%                           |___________________________|
  827. '
  828.         };
  829. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  830. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  831. # this file was generated by the following command(s):
  832. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  833.  
  834. 1 parsed at B=0.075, K=20
  835. 1 coverage 100%
  836. 1 stats 6.02587 406 481
  837. Attempted: 1. Completed: 1 (100.00%).
  838. $VAR1 = {
  839.           'DRS' => '%%% This file was generated by the following command:
  840. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  841.  
  842. :- multifile     sem/5, id/2.
  843. :- discontiguous sem/5, id/2.
  844. :- dynamic       sem/5, id/2.
  845.  
  846. id(rte,1).
  847.  
  848. %%% The monkey heard about the very next ship which is yellow and green .
  849.  
  850. sem(1,
  851.    [word(1001, "The"), word(1002, monkey), word(1003, heard), word(1004, about), word(1005, the), word(1006, very), word(1007, next), word(1008, ship), word(1009, which), word(1010, is), word(1011, yellow), word(1012, and), word(1013, green), word(1014, ".")],
  852.    [pos(1001, "DT"), pos(1002, "NN"), pos(1003, "VBD"), pos(1004, "IN"), pos(1005, "DT"), pos(1006, "RB"), pos(1007, "JJ"), pos(1008, "NN"), pos(1009, "WDT"), pos(1010, "VBZ"), pos(1011, "JJ"), pos(1012, "CC"), pos(1013, "JJ"), pos(1014, ".")],
  853.    [],
  854.    smerge(drs([[1001]:A, [1005]:B], [[1002]:pred(A, monkey, n, 0), [1007]:pred(B, next, a, 0), [1008]:pred(B, ship, n, 0), [1006]:pred(B, very, a, 0)]), drs([[1003]:C, [1011]:D, [1013]:E], [[1003]:pred(C, hear, v, 0), [1003]:rel(C, A, agent, 0), []:pred(D, event, n, 1), []:pred(E, event, n, 1), [1004]:rel(C, B, about, 0), [1011]:prop(D, drs([], [[1011]:pred(B, yellow, a, 0)])), [1013]:prop(E, drs([], [[1013]:pred(B, green, a, 0)])), []:pred(C, event, n, 1)])) ).
  855. %%%   ____________   _____________________  
  856. %%%  | x0 x1      | | x2 x3 x4            |
  857. %%%  |------------| |---------------------|
  858. %%% (| monkey(x0) |+| hear(x2)            |)
  859. %%%  | next(x1)   | | agent(x2,x0)        |
  860. %%%  | ship(x1)   | | event(x3)           |
  861. %%%  | very(x1)   | | event(x4)           |
  862. %%%  |____________| | about(x2,x1)        |
  863. %%%                 |       ____________  |
  864. %%%                 |      |            | |
  865. %%%                 |   x3:|------------| |
  866. %%%                 |      | yellow(x1) | |
  867. %%%                 |      |____________| |
  868. %%%                 |       ___________   |
  869. %%%                 |      |           |  |
  870. %%%                 |   x4:|-----------|  |
  871. %%%                 |      | green(x1) |  |
  872. %%%                 |      |___________|  |
  873. %%%                 | event(x2)           |
  874. %%%                 |_____________________|
  875. ',
  876.           'CCG' => '% this file was generated by the following command(s):
  877. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  878.  
  879. :- op(601, xfx, (/)).
  880. :- op(601, xfx, (\\)).
  881. :- multifile ccg/2, id/2.
  882. :- discontiguous ccg/2, id/2.
  883.  
  884. ccg(1,
  885. rp(s:dcl,
  886.  ba(s:dcl,
  887.   fa(np:nb,
  888.    t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  889.    t(n, "monkey", "monkey", "NN", "I-NP", "O")),
  890.   fa(s:dcl\\np,
  891.    t((s:dcl\\np)/pp, "heard", "hear", "VBD", "I-VP", "O"),
  892.    fa(pp,
  893.     t(pp/np, "about", "about", "IN", "I-PP", "O"),
  894.     ba(np,
  895.      fa(np:nb,
  896.       t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  897.       fa(n,
  898.        fa(n/n,
  899.         t((n/n)/(n/n), "very", "very", "RB", "I-NP", "O"),
  900.         t(n/n, "next", "next", "JJ", "I-NP", "O")),
  901.        t(n, "ship", "ship", "NN", "I-NP", "O"))),
  902.      fa(np\\np,
  903.       t((np\\np)/(s:dcl\\np), "which", "which", "WDT", "B-NP", "O"),
  904.       fa(s:dcl\\np,
  905.        t((s:dcl\\np)/(s:adj\\np), "is", "be", "VBZ", "I-VP", "O"),
  906.        ba(s:adj\\np,
  907.         t(s:adj\\np, "yellow", "yellow", "JJ", "I-ADJP", "O"),
  908.         conj((s:adj\\np)\\(s:adj\\np), s:adj\\np,
  909.          t(conj, "and", "and", "CC", "I-ADJP", "O"),
  910.          t(s:adj\\np, "green", "green", "JJ", "I-ADJP", "O"))))))))),
  911.  t(period, ".", ".", ".", "O", "O"))).
  912.  
  913. id(rte, [1]).
  914.  
  915. '
  916.         };
  917. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  918. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  919. # this file was generated by the following command(s):
  920. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  921.  
  922. 1 parsed at B=0.075, K=20
  923. 1 coverage 100%
  924. 1 stats 2.56495 166 188
  925. Attempted: 1. Completed: 1 (100.00%).
  926. $VAR1 = {
  927.           'CCG' => '% this file was generated by the following command(s):
  928. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  929.  
  930. :- op(601, xfx, (/)).
  931. :- op(601, xfx, (\\)).
  932. :- multifile ccg/2, id/2.
  933. :- discontiguous ccg/2, id/2.
  934.  
  935. ccg(1,
  936. rp(np,
  937.  ba(np,
  938.   fa(np:nb,
  939.    t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  940.    fa(n,
  941.     t(n/n, "Brit", "Brit", "NNP", "I-NP", "O"),
  942.     t(n, "lives", "life", "NNS", "I-NP", "O"))),
  943.   fa(np\\np,
  944.    t((np\\np)/np, "in", "in", "IN", "I-PP", "O"),
  945.    fa(np:nb,
  946.     t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  947.     fa(n,
  948.      t(n/n, "red", "red", "JJ", "I-NP", "O"),
  949.      t(n, "house", "house", "NN", "I-NP", "O"))))),
  950.  t(period, ".", ".", ".", "O", "O"))).
  951.  
  952. id(rte, [1]).
  953.  
  954. ',
  955.           'DRS' => '%%% This file was generated by the following command:
  956. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  957.  
  958. :- multifile     sem/5, id/2.
  959. :- discontiguous sem/5, id/2.
  960. :- dynamic       sem/5, id/2.
  961.  
  962. id(rte,1).
  963.  
  964. %%% The Brit lives in the red house .
  965.  
  966. sem(1,
  967.    [word(1001, "The"), word(1002, "Brit"), word(1003, lives), word(1004, in), word(1005, the), word(1006, red), word(1007, house), word(1008, ".")],
  968.    [pos(1001, "DT"), pos(1002, "NNP"), pos(1003, "NNS"), pos(1004, "IN"), pos(1005, "DT"), pos(1006, "JJ"), pos(1007, "NN"), pos(1008, ".")],
  969.    [],
  970.    smerge(drs([[1002]:A, [1001]:B, [1005]:C], [[1003]:pred(B, life, n, 0), []:rel(A, B, nn, 0), [1002]:named(A, brit, nam, 0), [1006]:pred(C, red, a, 0), [1007]:pred(C, house, n, 0)]), drs([], [[]:pred(B, topic, a, 1), [1004]:rel(B, C, in, 0)])) ).
  971. %%%   ____________________   ___________  
  972. %%%  | x0 x1 x2           | |           |
  973. %%%  |--------------------| |-----------|
  974. %%% (| life(x1)           |+| topic(x1) |)
  975. %%%  | nn(x0,x1)          | | in(x1,x2) |
  976. %%%  | named(x0,brit,nam) | |___________|
  977. %%%  | red(x2)            |              
  978. %%%  | house(x2)          |              
  979. %%%  |____________________|              
  980. '
  981.         };
  982. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  983. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  984. # this file was generated by the following command(s):
  985. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  986.  
  987. 1 parsed at B=0.075, K=20
  988. 1 coverage 100%
  989. 1 stats 4.78749 194 241
  990. Attempted: 1. Completed: 1 (100.00%).
  991. $VAR1 = {
  992.           'CCG' => '% this file was generated by the following command(s):
  993. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  994.  
  995. :- op(601, xfx, (/)).
  996. :- op(601, xfx, (\\)).
  997. :- multifile ccg/2, id/2.
  998. :- discontiguous ccg/2, id/2.
  999.  
  1000. ccg(1,
  1001. rp(s:dcl,
  1002.  ba(s:dcl,
  1003.   fa(np:nb,
  1004.    t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1005.    t(n, "Swede", "swede", "NN", "I-NP", "O")),
  1006.   fa(s:dcl\\np,
  1007.    fa((s:dcl\\np)/pp,
  1008.     t(((s:dcl\\np)/pp)/np, "keeps", "keep", "VBZ", "I-VP", "O"),
  1009.     lx(np, n,
  1010.      t(n, "dogs", "dog", "NNS", "I-NP", "O"))),
  1011.    fa(pp,
  1012.     t(pp/np, "as", "as", "IN", "I-PP", "O"),
  1013.     lx(np, n,
  1014.      t(n, "pets", "pet", "NNS", "I-NP", "O"))))),
  1015.  t(period, ".", ".", ".", "O", "O"))).
  1016.  
  1017. id(rte, [1]).
  1018.  
  1019. ',
  1020.           'DRS' => '%%% This file was generated by the following command:
  1021. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1022.  
  1023. :- multifile     sem/5, id/2.
  1024. :- discontiguous sem/5, id/2.
  1025. :- dynamic       sem/5, id/2.
  1026.  
  1027. id(rte,1).
  1028.  
  1029. %%% The Swede keeps dogs as pets .
  1030.  
  1031. sem(1,
  1032.    [word(1001, "The"), word(1002, "Swede"), word(1003, keeps), word(1004, dogs), word(1005, as), word(1006, pets), word(1007, ".")],
  1033.    [pos(1001, "DT"), pos(1002, "NN"), pos(1003, "VBZ"), pos(1004, "NNS"), pos(1005, "IN"), pos(1006, "NNS"), pos(1007, ".")],
  1034.    [],
  1035.    smerge(drs([[1001]:A], [[1002]:pred(A, swede, n, 0)]), drs([[1004]:B, [1003]:C, [1006]:D], [[1004]:pred(B, dog, n, 0), [1003]:pred(C, keep, v, 0), [1006]:pred(D, pet, n, 0), []:pred(C, event, n, 1), [1003]:rel(C, A, agent, 0), [1003]:rel(C, B, patient, 0), [1005]:rel(C, D, as, 0)])) ).
  1036. %%%   ___________   ________________  
  1037. %%%  | x0        | | x1 x2 x3       |
  1038. %%%  |-----------| |----------------|
  1039. %%% (| swede(x0) |+| dog(x1)        |)
  1040. %%%  |___________| | keep(x2)       |
  1041. %%%                | pet(x3)        |
  1042. %%%                | event(x2)      |
  1043. %%%                | agent(x2,x0)   |
  1044. %%%                | patient(x2,x1) |
  1045. %%%                | as(x2,x3)      |
  1046. %%%                |________________|
  1047. '
  1048.         };
  1049. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1050. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1051. # this file was generated by the following command(s):
  1052. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1053.  
  1054. 1 parsed at B=0.075, K=20
  1055. 1 coverage 100%
  1056. 1 stats 1.38629 77 101
  1057. Attempted: 1. Completed: 1 (100.00%).
  1058. $VAR1 = {
  1059.           'CCG' => '% this file was generated by the following command(s):
  1060. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1061.  
  1062. :- op(601, xfx, (/)).
  1063. :- op(601, xfx, (\\)).
  1064. :- multifile ccg/2, id/2.
  1065. :- discontiguous ccg/2, id/2.
  1066.  
  1067. ccg(1,
  1068. rp(np:nb,
  1069.  fa(np:nb,
  1070.   t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1071.   fa(n,
  1072.    t(n/n, "Dane", "Dane", "NNP", "I-NP", "I-ORG"),
  1073.    fa(n,
  1074.     t(n/n, "drinks", "drink", "NNS", "I-NP", "O"),
  1075.     t(n, "tea", "tea", "NN", "I-NP", "O")))),
  1076.  t(period, ".", ".", ".", "O", "O"))).
  1077.  
  1078. id(rte, [1]).
  1079.  
  1080. ',
  1081.           'DRS' => '%%% This file was generated by the following command:
  1082. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1083.  
  1084. :- multifile     sem/5, id/2.
  1085. :- discontiguous sem/5, id/2.
  1086. :- dynamic       sem/5, id/2.
  1087.  
  1088. id(rte,1).
  1089.  
  1090. %%% The Dane drinks tea .
  1091.  
  1092. sem(1,
  1093.    [word(1001, "The"), word(1002, "Dane"), word(1003, drinks), word(1004, tea), word(1005, ".")],
  1094.    [pos(1001, "DT"), pos(1002, "NNP"), pos(1003, "NNS"), pos(1004, "NN"), pos(1005, ".")],
  1095.    [ne(1002, "I-ORG")],
  1096.    smerge(drs([[1003]:A, [1002]:B, [1001]:C], [[1003]:pred(A, drink, n, 0), [1004]:pred(C, tea, n, 0), []:rel(A, C, nn, 0), []:rel(B, C, nn, 0), [1002]:named(B, dane, org, 0)]), drs([], [[]:pred(C, topic, a, 1)])) ).
  1097. %%%   ____________________   ___________  
  1098. %%%  | x0 x1 x2           | |           |
  1099. %%%  |--------------------| |-----------|
  1100. %%% (| drink(x0)          |+| topic(x2) |)
  1101. %%%  | tea(x2)            | |___________|
  1102. %%%  | nn(x0,x2)          |              
  1103. %%%  | nn(x1,x2)          |              
  1104. %%%  | named(x1,dane,org) |              
  1105. %%%  |____________________|              
  1106. '
  1107.         };
  1108. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1109. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1110. # this file was generated by the following command(s):
  1111. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1112.  
  1113. 1 parsed at B=0.075, K=20
  1114. 1 coverage 100%
  1115. 1 stats 4.33073 334 378
  1116. Attempted: 1. Completed: 1 (100.00%).
  1117. $VAR1 = {
  1118.           'DRS' => '%%% This file was generated by the following command:
  1119. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1120.  
  1121. :- multifile     sem/5, id/2.
  1122. :- discontiguous sem/5, id/2.
  1123. :- dynamic       sem/5, id/2.
  1124.  
  1125. id(rte,1).
  1126.  
  1127. %%% The green house is on the immediate left of the white house .
  1128.  
  1129. sem(1,
  1130.    [word(1001, "The"), word(1002, green), word(1003, house), word(1004, is), word(1005, on), word(1006, the), word(1007, immediate), word(1008, left), word(1009, of), word(1010, the), word(1011, white), word(1012, house), word(1013, ".")],
  1131.    [pos(1001, "DT"), pos(1002, "JJ"), pos(1003, "NN"), pos(1004, "VBZ"), pos(1005, "IN"), pos(1006, "DT"), pos(1007, "JJ"), pos(1008, "NN"), pos(1009, "IN"), pos(1010, "DT"), pos(1011, "JJ"), pos(1012, "NN"), pos(1013, ".")],
  1132.    [],
  1133.    smerge(drs([[1001]:A, [1006]:B], [[1011]:pred(A, white, a, 0), [1003, 1012]:pred(A, house, n, 0), [1002]:pred(A, green, a, 0), [1007]:pred(B, immediate, a, 0), [1008]:pred(B, left, n, 0)]), drs([[1004]:C], [[1004]:pred(C, be, v, 0), [1004]:rel(C, A, agent, 0), [1009]:rel(B, A, of, 0), [1005]:rel(C, B, on, 0), []:pred(C, event, n, 1)])) ).
  1134. %%%   _______________   ______________  
  1135. %%%  | x0 x1         | | x2           |
  1136. %%%  |---------------| |--------------|
  1137. %%% (| white(x0)     |+| be(x2)       |)
  1138. %%%  | house(x0)     | | agent(x2,x0) |
  1139. %%%  | green(x0)     | | of(x1,x0)    |
  1140. %%%  | immediate(x1) | | on(x2,x1)    |
  1141. %%%  | left(x1)      | | event(x2)    |
  1142. %%%  |_______________| |______________|
  1143. ',
  1144.           'CCG' => '% this file was generated by the following command(s):
  1145. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1146.  
  1147. :- op(601, xfx, (/)).
  1148. :- op(601, xfx, (\\)).
  1149. :- multifile ccg/2, id/2.
  1150. :- discontiguous ccg/2, id/2.
  1151.  
  1152. ccg(1,
  1153. rp(s:dcl,
  1154.  ba(s:dcl,
  1155.   fa(np:nb,
  1156.    t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1157.    fa(n,
  1158.     t(n/n, "green", "green", "JJ", "I-NP", "O"),
  1159.     t(n, "house", "house", "NN", "I-NP", "O"))),
  1160.   fa(s:dcl\\np,
  1161.    t((s:dcl\\np)/pp, "is", "be", "VBZ", "I-VP", "O"),
  1162.    fa(pp,
  1163.     t(pp/np, "on", "on", "IN", "I-PP", "O"),
  1164.     ba(np,
  1165.      fa(np:nb,
  1166.       t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  1167.       fa(n,
  1168.        t(n/n, "immediate", "immediate", "JJ", "I-NP", "O"),
  1169.        t(n, "left", "left", "NN", "I-NP", "O"))),
  1170.      fa(np\\np,
  1171.       t((np\\np)/np, "of", "of", "IN", "I-PP", "O"),
  1172.       fa(np:nb,
  1173.        t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  1174.        fa(n,
  1175.         t(n/n, "white", "white", "JJ", "I-NP", "O"),
  1176.         t(n, "house", "house", "NN", "I-NP", "O")))))))),
  1177.  t(period, ".", ".", ".", "O", "O"))).
  1178.  
  1179. id(rte, [1]).
  1180.  
  1181. '
  1182.         };
  1183. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1184. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1185. # this file was generated by the following command(s):
  1186. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1187.  
  1188. 1 parsed at B=0.075, K=20
  1189. 1 coverage 100%
  1190. 1 stats 1.38629 150 176
  1191. Attempted: 1. Completed: 1 (100.00%).
  1192. $VAR1 = {
  1193.           'DRS' => '%%% This file was generated by the following command:
  1194. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1195.  
  1196. :- multifile     sem/5, id/2.
  1197. :- discontiguous sem/5, id/2.
  1198. :- dynamic       sem/5, id/2.
  1199.  
  1200. id(rte,1).
  1201.  
  1202. %%% The green house "s owner drinks coffee .
  1203.  
  1204. sem(1,
  1205.    [word(1001, "The"), word(1002, green), word(1003, house), word(1004, "\\"s"), word(1005, owner), word(1006, drinks), word(1007, coffee), word(1008, ".")],
  1206.    [pos(1001, "DT"), pos(1002, "JJ"), pos(1003, "NN"), pos(1004, "POS"), pos(1005, "NN"), pos(1006, "NNS"), pos(1007, "NN"), pos(1008, ".")],
  1207.    [],
  1208.    smerge(drs([[1001]:A, [1006]:B, [1005]:C, [1004]:D], [[1002]:pred(A, green, a, 0), [1003]:pred(A, house, n, 0), [1006]:pred(B, drink, n, 0), [1005]:pred(C, owner, n, 0), [1007]:pred(D, coffee, n, 0), []:rel(B, D, nn, 0), []:rel(C, D, nn, 0), [1004]:rel(D, A, of, 0)]), drs([], [[]:pred(D, topic, a, 1)])) ).
  1209. %%%   _____________   ___________  
  1210. %%%  | x0 x1 x2 x3 | |           |
  1211. %%%  |-------------| |-----------|
  1212. %%% (| green(x0)   |+| topic(x3) |)
  1213. %%%  | house(x0)   | |___________|
  1214. %%%  | drink(x1)   |              
  1215. %%%  | owner(x2)   |              
  1216. %%%  | coffee(x3)  |              
  1217. %%%  | nn(x1,x3)   |              
  1218. %%%  | nn(x2,x3)   |              
  1219. %%%  | of(x3,x0)   |              
  1220. %%%  |_____________|              
  1221. ',
  1222.           'CCG' => '% this file was generated by the following command(s):
  1223. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1224.  
  1225. :- op(601, xfx, (/)).
  1226. :- op(601, xfx, (\\)).
  1227. :- multifile ccg/2, id/2.
  1228. :- discontiguous ccg/2, id/2.
  1229.  
  1230. ccg(1,
  1231. rp(np:nb,
  1232.  fa(np:nb,
  1233.   ba(np:nb/n,
  1234.    fa(np:nb,
  1235.     t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1236.     fa(n,
  1237.      t(n/n, "green", "green", "JJ", "I-NP", "O"),
  1238.      t(n, "house", "house", "NN", "I-NP", "O"))),
  1239.    t((np:nb/n)\\np, "\\"s", "\\"s", "POS", "B-NP", "O")),
  1240.   fa(n,
  1241.    t(n/n, "owner", "owner", "NN", "I-NP", "O"),
  1242.    fa(n,
  1243.     t(n/n, "drinks", "drink", "NNS", "I-NP", "O"),
  1244.     t(n, "coffee", "coffee", "NN", "I-NP", "O")))),
  1245.  t(period, ".", ".", ".", "O", "O"))).
  1246.  
  1247. id(rte, [1]).
  1248.  
  1249. '
  1250.         };
  1251. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1252. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1253. # this file was generated by the following command(s):
  1254. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1255.  
  1256. 1 parsed at B=0.075, K=20
  1257. 1 coverage 100%
  1258. 1 stats 4.33073 200 232
  1259. Attempted: 1. Completed: 1 (100.00%).
  1260. $VAR1 = {
  1261.           'CCG' => '% this file was generated by the following command(s):
  1262. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1263.  
  1264. :- op(601, xfx, (/)).
  1265. :- op(601, xfx, (\\)).
  1266. :- multifile ccg/2, id/2.
  1267. :- discontiguous ccg/2, id/2.
  1268.  
  1269. ccg(1,
  1270. rp(s:dcl,
  1271.  ba(s:dcl,
  1272.   ba(np,
  1273.    fa(np:nb,
  1274.     t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1275.     t(n, "owner", "owner", "NN", "I-NP", "O")),
  1276.    fa(np\\np,
  1277.     t((np\\np)/(s:dcl\\np), "who", "who", "WP", "B-NP", "O"),
  1278.     fa(s:dcl\\np,
  1279.      t((s:dcl\\np)/np, "smokes", "smoke", "VBZ", "I-VP", "O"),
  1280.      lx(np, n,
  1281.       fa(n,
  1282.        t(n/n, "Pall", "Pall", "NNP", "I-NP", "I-ORG"),
  1283.        t(n, "Mall", "Mall", "NNP", "I-NP", "I-ORG")))))),
  1284.   fa(s:dcl\\np,
  1285.    t((s:dcl\\np)/np, "rears", "rear", "VBZ", "I-VP", "O"),
  1286.    lx(np, n,
  1287.     t(n, "birds", "bird", "NNS", "I-NP", "O")))),
  1288.  t(period, ".", ".", ".", "O", "O"))).
  1289.  
  1290. id(rte, [1]).
  1291.  
  1292. ',
  1293.           'DRS' => '%%% This file was generated by the following command:
  1294. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1295.  
  1296. :- multifile     sem/5, id/2.
  1297. :- discontiguous sem/5, id/2.
  1298. :- dynamic       sem/5, id/2.
  1299.  
  1300. id(rte,1).
  1301.  
  1302. %%% The owner who smokes Pall Mall rears birds .
  1303.  
  1304. sem(1,
  1305.    [word(1001, "The"), word(1002, owner), word(1003, who), word(1004, smokes), word(1005, "Pall"), word(1006, "Mall"), word(1007, rears), word(1008, birds), word(1009, ".")],
  1306.    [pos(1001, "DT"), pos(1002, "NN"), pos(1003, "WP"), pos(1004, "VBZ"), pos(1005, "NNP"), pos(1006, "NNP"), pos(1007, "VBZ"), pos(1008, "NNS"), pos(1009, ".")],
  1307.    [ne(1005, "I-ORG"), ne(1006, "I-ORG")],
  1308.    smerge(drs([[1001]:A, [1005, 1006]:B], [[1002]:pred(A, owner, n, 0), [1005, 1006]:named(B, pall_mall, org, 0)]), drs([[1004]:C, [1008]:D, [1007]:E], [[1004]:pred(C, smoke, v, 0), []:pred(C, event, n, 1), [1004]:rel(C, A, agent, 0), [1004]:rel(C, B, patient, 0), [1008]:pred(D, bird, n, 0), [1007]:pred(E, rear, v, 0), []:pred(E, event, n, 1), [1007]:rel(E, A, agent, 0), [1007]:rel(E, D, patient, 0)])) ).
  1309. %%%   _________________________   ________________  
  1310. %%%  | x0 x1                   | | x2 x3 x4       |
  1311. %%%  |-------------------------| |----------------|
  1312. %%% (| owner(x0)               |+| smoke(x2)      |)
  1313. %%%  | named(x1,pall_mall,org) | | event(x2)      |
  1314. %%%  |_________________________| | agent(x2,x0)   |
  1315. %%%                              | patient(x2,x1) |
  1316. %%%                              | bird(x3)       |
  1317. %%%                              | rear(x4)       |
  1318. %%%                              | event(x4)      |
  1319. %%%                              | agent(x4,x0)   |
  1320. %%%                              | patient(x4,x3) |
  1321. %%%                              |________________|
  1322. '
  1323.         };
  1324. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1325. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1326. # this file was generated by the following command(s):
  1327. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1328.  
  1329. 1 parsed at B=0.075, K=20
  1330. 1 coverage 100%
  1331. 1 stats 4.02535 340 404
  1332. Attempted: 1. Completed: 1 (100.00%).
  1333. $VAR1 = {
  1334.           'DRS' => '%%% This file was generated by the following command:
  1335. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1336.  
  1337. :- multifile     sem/5, id/2.
  1338. :- discontiguous sem/5, id/2.
  1339. :- dynamic       sem/5, id/2.
  1340.  
  1341. id(rte,1).
  1342.  
  1343. %%% The owner of the yellow house smokes Dunhill .
  1344.  
  1345. sem(1,
  1346.    [word(1001, "The"), word(1002, owner), word(1003, of), word(1004, the), word(1005, yellow), word(1006, house), word(1007, smokes), word(1008, "Dunhill"), word(1009, ".")],
  1347.    [pos(1001, "DT"), pos(1002, "NN"), pos(1003, "IN"), pos(1004, "DT"), pos(1005, "JJ"), pos(1006, "NN"), pos(1007, "VBZ"), pos(1008, "NNP"), pos(1009, ".")],
  1348.    [ne(1008, "I-ORG")],
  1349.    smerge(drs([[1001]:A, [1004]:B, [1008]:C], [[1002]:pred(A, owner, n, 0), [1005]:pred(B, yellow, a, 0), [1006]:pred(B, house, n, 0), [1008]:named(C, dunhill, org, 0)]), drs([[1007]:D], [[1003]:rel(A, B, of, 0), [1007]:pred(D, smoke, v, 0), []:pred(D, event, n, 1), [1007]:rel(D, A, agent, 0), [1007]:rel(D, C, patient, 0)])) ).
  1350. %%%   _______________________   ________________  
  1351. %%%  | x0 x1 x2              | | x3             |
  1352. %%%  |-----------------------| |----------------|
  1353. %%% (| owner(x0)             |+| of(x0,x1)      |)
  1354. %%%  | yellow(x1)            | | smoke(x3)      |
  1355. %%%  | house(x1)             | | event(x3)      |
  1356. %%%  | named(x2,dunhill,org) | | agent(x3,x0)   |
  1357. %%%  |_______________________| | patient(x3,x2) |
  1358. %%%                            |________________|
  1359. ',
  1360.           'CCG' => '% this file was generated by the following command(s):
  1361. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1362.  
  1363. :- op(601, xfx, (/)).
  1364. :- op(601, xfx, (\\)).
  1365. :- multifile ccg/2, id/2.
  1366. :- discontiguous ccg/2, id/2.
  1367.  
  1368. ccg(1,
  1369. rp(s:dcl,
  1370.  ba(s:dcl,
  1371.   ba(np,
  1372.    fa(np:nb,
  1373.     t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1374.     t(n, "owner", "owner", "NN", "I-NP", "O")),
  1375.    fa(np\\np,
  1376.     t((np\\np)/np, "of", "of", "IN", "I-PP", "O"),
  1377.     fa(np:nb,
  1378.      t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  1379.      fa(n,
  1380.       t(n/n, "yellow", "yellow", "JJ", "I-NP", "O"),
  1381.       t(n, "house", "house", "NN", "I-NP", "O"))))),
  1382.   fa(s:dcl\\np,
  1383.    t((s:dcl\\np)/np, "smokes", "smoke", "VBZ", "I-VP", "O"),
  1384.    lx(np, n,
  1385.     t(n, "Dunhill", "Dunhill", "NNP", "I-NP", "I-ORG")))),
  1386.  t(period, ".", ".", ".", "O", "O"))).
  1387.  
  1388. id(rte, [1]).
  1389.  
  1390. '
  1391.         };
  1392. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1393. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1394. # this file was generated by the following command(s):
  1395. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1396.  
  1397. 1 parsed at B=0.075, K=20
  1398. 1 coverage 100%
  1399. 1 stats 2.56495 202 239
  1400. Attempted: 1. Completed: 1 (100.00%).
  1401. $VAR1 = {
  1402.           'CCG' => '% this file was generated by the following command(s):
  1403. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1404.  
  1405. :- op(601, xfx, (/)).
  1406. :- op(601, xfx, (\\)).
  1407. :- multifile ccg/2, id/2.
  1408. :- discontiguous ccg/2, id/2.
  1409.  
  1410. ccg(1,
  1411. rp(np,
  1412.  ba(np,
  1413.   fa(np:nb,
  1414.    t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1415.    fa(n,
  1416.     t(n/n, "owner", "owner", "NN", "I-NP", "O"),
  1417.     t(n, "living", "living", "NN", "I-NP", "O"))),
  1418.   fa(np\\np,
  1419.    t((np\\np)/np, "in", "in", "IN", "I-PP", "O"),
  1420.    fa(np:nb,
  1421.     t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  1422.     fa(n,
  1423.      t(n/n, "center", "center", "NN", "I-NP", "O"),
  1424.      fa(n,
  1425.       t(n/n, "house", "house", "NN", "I-NP", "O"),
  1426.       fa(n,
  1427.        t(n/n, "drinks", "drink", "NNS", "I-NP", "O"),
  1428.        t(n, "milk", "milk", "NN", "I-NP", "O"))))))),
  1429.  t(period, ".", ".", ".", "O", "O"))).
  1430.  
  1431. id(rte, [1]).
  1432.  
  1433. ',
  1434.           'DRS' => '%%% This file was generated by the following command:
  1435. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1436.  
  1437. :- multifile     sem/5, id/2.
  1438. :- discontiguous sem/5, id/2.
  1439. :- dynamic       sem/5, id/2.
  1440.  
  1441. id(rte,1).
  1442.  
  1443. %%% The owner living in the center house drinks milk .
  1444.  
  1445. sem(1,
  1446.    [word(1001, "The"), word(1002, owner), word(1003, living), word(1004, in), word(1005, the), word(1006, center), word(1007, house), word(1008, drinks), word(1009, milk), word(1010, ".")],
  1447.    [pos(1001, "DT"), pos(1002, "NN"), pos(1003, "NN"), pos(1004, "IN"), pos(1005, "DT"), pos(1006, "NN"), pos(1007, "NN"), pos(1008, "NNS"), pos(1009, "NN"), pos(1010, ".")],
  1448.    [],
  1449.    smerge(drs([[1002]:A, [1001]:B, [1008]:C, [1007]:D, [1006]:E, [1005]:F], [[1002]:pred(A, owner, n, 0), [1003]:pred(B, living, n, 0), []:rel(A, B, nn, 0), [1008]:pred(C, drink, n, 0), [1007]:pred(D, house, n, 0), [1006]:pred(E, center, n, 0), [1009]:pred(F, milk, n, 0), []:rel(C, F, nn, 0), []:rel(D, F, nn, 0), []:rel(E, F, nn, 0)]), drs([], [[]:pred(B, topic, a, 1), [1004]:rel(B, F, in, 0)])) ).
  1450. %%%   ___________________   ___________  
  1451. %%%  | x0 x1 x2 x3 x4 x5 | |           |
  1452. %%%  |-------------------| |-----------|
  1453. %%% (| owner(x0)         |+| topic(x1) |)
  1454. %%%  | living(x1)        | | in(x1,x5) |
  1455. %%%  | nn(x0,x1)         | |___________|
  1456. %%%  | drink(x2)         |              
  1457. %%%  | house(x3)         |              
  1458. %%%  | center(x4)        |              
  1459. %%%  | milk(x5)          |              
  1460. %%%  | nn(x2,x5)         |              
  1461. %%%  | nn(x3,x5)         |              
  1462. %%%  | nn(x4,x5)         |              
  1463. %%%  |___________________|              
  1464. '
  1465.         };
  1466. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1467. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1468. # this file was generated by the following command(s):
  1469. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1470.  
  1471. 1 parsed at B=0.075, K=20
  1472. 1 coverage 100%
  1473. 1 stats 2.19722 155 176
  1474. Attempted: 1. Completed: 1 (100.00%).
  1475. $VAR1 = {
  1476.           'DRS' => '%%% This file was generated by the following command:
  1477. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1478.  
  1479. :- multifile     sem/5, id/2.
  1480. :- discontiguous sem/5, id/2.
  1481. :- dynamic       sem/5, id/2.
  1482.  
  1483. id(rte,1).
  1484.  
  1485. %%% The Norwegian lives in the first house .
  1486.  
  1487. sem(1,
  1488.    [word(1001, "The"), word(1002, "Norwegian"), word(1003, lives), word(1004, in), word(1005, the), word(1006, first), word(1007, house), word(1008, ".")],
  1489.    [pos(1001, "DT"), pos(1002, "JJ"), pos(1003, "NNS"), pos(1004, "IN"), pos(1005, "DT"), pos(1006, "JJ"), pos(1007, "NN"), pos(1008, ".")],
  1490.    [],
  1491.    smerge(drs([[1001]:A, [1005]:B], [[1002]:pred(A, norwegian, a, 0), [1003]:pred(A, life, n, 0), [1006]:pred(B, first, a, 0), [1007]:pred(B, house, n, 0)]), drs([], [[]:pred(A, topic, a, 1), [1004]:rel(A, B, in, 0)])) ).
  1492. %%%   _______________   ___________  
  1493. %%%  | x0 x1         | |           |
  1494. %%%  |---------------| |-----------|
  1495. %%% (| norwegian(x0) |+| topic(x0) |)
  1496. %%%  | life(x0)      | | in(x0,x1) |
  1497. %%%  | first(x1)     | |___________|
  1498. %%%  | house(x1)     |              
  1499. %%%  |_______________|              
  1500. ',
  1501.           'CCG' => '% this file was generated by the following command(s):
  1502. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1503.  
  1504. :- op(601, xfx, (/)).
  1505. :- op(601, xfx, (\\)).
  1506. :- multifile ccg/2, id/2.
  1507. :- discontiguous ccg/2, id/2.
  1508.  
  1509. ccg(1,
  1510. rp(np,
  1511.  ba(np,
  1512.   fa(np:nb,
  1513.    t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1514.    fa(n,
  1515.     t(n/n, "Norwegian", "norwegian", "JJ", "I-NP", "O"),
  1516.     t(n, "lives", "life", "NNS", "I-NP", "O"))),
  1517.   fa(np\\np,
  1518.    t((np\\np)/np, "in", "in", "IN", "I-PP", "O"),
  1519.    fa(np:nb,
  1520.     t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  1521.     fa(n,
  1522.      t(n/n, "first", "first", "JJ", "I-NP", "O"),
  1523.      t(n, "house", "house", "NN", "I-NP", "O"))))),
  1524.  t(period, ".", ".", ".", "O", "O"))).
  1525.  
  1526. id(rte, [1]).
  1527.  
  1528. '
  1529.         };
  1530. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1531. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1532. # this file was generated by the following command(s):
  1533. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1534.  
  1535. 1 parsed at B=0.075, K=20
  1536. 1 coverage 100%
  1537. 1 stats 7.39388 457 578
  1538. Attempted: 1. Completed: 1 (100.00%).
  1539. $VAR1 = {
  1540.           'DRS' => '%%% This file was generated by the following command:
  1541. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1542.  
  1543. :- multifile     sem/5, id/2.
  1544. :- discontiguous sem/5, id/2.
  1545. :- dynamic       sem/5, id/2.
  1546.  
  1547. id(rte,1).
  1548.  
  1549. %%% The owner who smokes Blends lives next to the one who keeps cats .
  1550.  
  1551. sem(1,
  1552.    [word(1001, "The"), word(1002, owner), word(1003, who), word(1004, smokes), word(1005, "Blends"), word(1006, lives), word(1007, next), word(1008, to), word(1009, the), word(1010, one), word(1011, who), word(1012, keeps), word(1013, cats), word(1014, ".")],
  1553.    [pos(1001, "DT"), pos(1002, "NN"), pos(1003, "WP"), pos(1004, "VBZ"), pos(1005, "NNPS"), pos(1006, "VBZ"), pos(1007, "JJ"), pos(1008, "TO"), pos(1009, "DT"), pos(1010, "NN"), pos(1011, "WP"), pos(1012, "VBZ"), pos(1013, "NNS"), pos(1014, ".")],
  1554.    [ne(1005, "I-ORG")],
  1555.    smerge(drs([[1001]:A, [1005]:B, [1009]:C], [[1002]:pred(A, owner, n, 0), [1005]:named(B, blends, org, 0), [1010]:pred(C, one, n, 0)]), drs([[1004]:D, [1006]:E, [1013]:F, [1012]:G], [[1004]:pred(D, smoke, v, 0), []:pred(D, event, n, 1), [1004]:rel(D, A, agent, 0), [1004]:rel(D, B, patient, 0), [1006]:pred(E, live, v, 0), [1006]:rel(E, A, agent, 0), [1013]:pred(F, cat, n, 0), [1012]:pred(G, keep, v, 0), []:pred(G, event, n, 1), [1012]:rel(G, C, agent, 0), [1012]:rel(G, F, patient, 0), [1008]:rel(E, C, to, 0), []:pred(E, event, n, 1)])) ).
  1556. %%%   ______________________   ________________  
  1557. %%%  | x0 x1 x2             | | x3 x4 x5 x6    |
  1558. %%%  |----------------------| |----------------|
  1559. %%% (| owner(x0)            |+| smoke(x3)      |)
  1560. %%%  | named(x1,blends,org) | | event(x3)      |
  1561. %%%  | one(x2)              | | agent(x3,x0)   |
  1562. %%%  |______________________| | patient(x3,x1) |
  1563. %%%                           | live(x4)       |
  1564. %%%                           | agent(x4,x0)   |
  1565. %%%                           | cat(x5)        |
  1566. %%%                           | keep(x6)       |
  1567. %%%                           | event(x6)      |
  1568. %%%                           | agent(x6,x2)   |
  1569. %%%                           | patient(x6,x5) |
  1570. %%%                           | to(x4,x2)      |
  1571. %%%                           | event(x4)      |
  1572. %%%                           |________________|
  1573. ',
  1574.           'CCG' => '% this file was generated by the following command(s):
  1575. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1576.  
  1577. :- op(601, xfx, (/)).
  1578. :- op(601, xfx, (\\)).
  1579. :- multifile ccg/2, id/2.
  1580. :- discontiguous ccg/2, id/2.
  1581.  
  1582. ccg(1,
  1583. rp(s:dcl,
  1584.  ba(s:dcl,
  1585.   ba(np,
  1586.    fa(np:nb,
  1587.     t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1588.     t(n, "owner", "owner", "NN", "I-NP", "O")),
  1589.    fa(np\\np,
  1590.     t((np\\np)/(s:dcl\\np), "who", "who", "WP", "B-NP", "O"),
  1591.     fa(s:dcl\\np,
  1592.      t((s:dcl\\np)/np, "smokes", "smoke", "VBZ", "I-VP", "O"),
  1593.      lx(np, n,
  1594.       t(n, "Blends", "Blends", "NNPS", "I-NP", "I-ORG"))))),
  1595.   ba(s:dcl\\np,
  1596.    t(s:dcl\\np, "lives", "live", "VBZ", "I-VP", "O"),
  1597.    fa((s:dcl\\np)\\(s:dcl\\np),
  1598.     t(((s:dcl\\np)\\(s:dcl\\np))/pp, "next", "next", "JJ", "I-ADVP", "O"),
  1599.     fa(pp,
  1600.      t(pp/np, "to", "to", "TO", "I-PP", "O"),
  1601.      ba(np,
  1602.       fa(np:nb,
  1603.        t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  1604.        t(n, "one", "one", "NN", "I-NP", "O")),
  1605.       fa(np\\np,
  1606.        t((np\\np)/(s:dcl\\np), "who", "who", "WP", "B-NP", "O"),
  1607.        fa(s:dcl\\np,
  1608.         t((s:dcl\\np)/np, "keeps", "keep", "VBZ", "I-VP", "O"),
  1609.         lx(np, n,
  1610.          t(n, "cats", "cat", "NNS", "I-NP", "O"))))))))),
  1611.  t(period, ".", ".", ".", "O", "O"))).
  1612.  
  1613. id(rte, [1]).
  1614.  
  1615. '
  1616.         };
  1617. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1618. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1619. # this file was generated by the following command(s):
  1620. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1621.  
  1622. 1 parsed at B=0.075, K=20
  1623. 1 coverage 100%
  1624. 1 stats 7.19143 468 574
  1625. Attempted: 1. Completed: 1 (100.00%).
  1626. $VAR1 = {
  1627.           'DRS' => '%%% This file was generated by the following command:
  1628. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1629.  
  1630. :- multifile     sem/5, id/2.
  1631. :- discontiguous sem/5, id/2.
  1632. :- dynamic       sem/5, id/2.
  1633.  
  1634. id(rte,1).
  1635.  
  1636. %%% The owner who keeps the horse lives next to the one who smokes Dunhills .
  1637.  
  1638. sem(1,
  1639.    [word(1001, "The"), word(1002, owner), word(1003, who), word(1004, keeps), word(1005, the), word(1006, horse), word(1007, lives), word(1008, next), word(1009, to), word(1010, the), word(1011, one), word(1012, who), word(1013, smokes), word(1014, "Dunhills"), word(1015, ".")],
  1640.    [pos(1001, "DT"), pos(1002, "NN"), pos(1003, "WP"), pos(1004, "VBZ"), pos(1005, "DT"), pos(1006, "NN"), pos(1007, "VBZ"), pos(1008, "JJ"), pos(1009, "TO"), pos(1010, "DT"), pos(1011, "CD"), pos(1012, "WP"), pos(1013, "VBZ"), pos(1014, "NNP"), pos(1015, ".")],
  1641.    [ne(1014, "I-ORG")],
  1642.    smerge(drs([[1001]:A, [1005]:B, [1010]:C, [1014]:D], [[1002]:pred(A, owner, n, 0), [1006]:pred(B, horse, n, 0), [1011]:card(C, 1, ge), [1011]:pred(C, thing, n, 12), [1014]:named(D, dunhills, org, 0)]), drs([[1004]:E, [1007]:F, [1013]:G], [[1004]:pred(E, keep, v, 0), []:pred(E, event, n, 1), [1004]:rel(E, A, agent, 0), [1004]:rel(E, B, patient, 0), [1007]:pred(F, live, v, 0), [1007]:rel(F, A, agent, 0), [1013]:pred(G, smoke, v, 0), []:pred(G, event, n, 1), [1013]:rel(G, C, agent, 0), [1013]:rel(G, D, patient, 0), [1009]:rel(F, C, to, 0), []:pred(F, event, n, 1)])) ).
  1643. %%%   ________________________   ________________  
  1644. %%%  | x0 x1 x2 x3            | | x4 x5 x6       |
  1645. %%%  |------------------------| |----------------|
  1646. %%% (| owner(x0)              |+| keep(x4)       |)
  1647. %%%  | horse(x1)              | | event(x4)      |
  1648. %%%  | |x2| >= 1              | | agent(x4,x0)   |
  1649. %%%  | thing(x2)              | | patient(x4,x1) |
  1650. %%%  | named(x3,dunhills,org) | | live(x5)       |
  1651. %%%  |________________________| | agent(x5,x0)   |
  1652. %%%                             | smoke(x6)      |
  1653. %%%                             | event(x6)      |
  1654. %%%                             | agent(x6,x2)   |
  1655. %%%                             | patient(x6,x3) |
  1656. %%%                             | to(x5,x2)      |
  1657. %%%                             | event(x5)      |
  1658. %%%                             |________________|
  1659. ',
  1660.           'CCG' => '% this file was generated by the following command(s):
  1661. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1662.  
  1663. :- op(601, xfx, (/)).
  1664. :- op(601, xfx, (\\)).
  1665. :- multifile ccg/2, id/2.
  1666. :- discontiguous ccg/2, id/2.
  1667.  
  1668. ccg(1,
  1669. rp(s:dcl,
  1670.  ba(s:dcl,
  1671.   ba(np,
  1672.    fa(np:nb,
  1673.     t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1674.     t(n, "owner", "owner", "NN", "I-NP", "O")),
  1675.    fa(np\\np,
  1676.     t((np\\np)/(s:dcl\\np), "who", "who", "WP", "B-NP", "O"),
  1677.     fa(s:dcl\\np,
  1678.      t((s:dcl\\np)/np, "keeps", "keep", "VBZ", "I-VP", "O"),
  1679.      fa(np:nb,
  1680.       t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  1681.       t(n, "horse", "horse", "NN", "I-NP", "O"))))),
  1682.   ba(s:dcl\\np,
  1683.    t(s:dcl\\np, "lives", "live", "VBZ", "I-VP", "O"),
  1684.    fa((s:dcl\\np)\\(s:dcl\\np),
  1685.     t(((s:dcl\\np)\\(s:dcl\\np))/pp, "next", "next", "JJ", "I-ADVP", "O"),
  1686.     fa(pp,
  1687.      t(pp/np, "to", "to", "TO", "I-PP", "O"),
  1688.      ba(np,
  1689.       fa(np:nb,
  1690.        t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  1691.        t(n, "one", "one", "CD", "I-NP", "O")),
  1692.       fa(np\\np,
  1693.        t((np\\np)/(s:dcl\\np), "who", "who", "WP", "B-NP", "O"),
  1694.        fa(s:dcl\\np,
  1695.         t((s:dcl\\np)/np, "smokes", "smoke", "VBZ", "I-VP", "O"),
  1696.         lx(np, n,
  1697.          t(n, "Dunhills", "Dunhills", "NNP", "I-NP", "I-ORG"))))))))),
  1698.  t(period, ".", ".", ".", "O", "O"))).
  1699.  
  1700. id(rte, [1]).
  1701.  
  1702. '
  1703.         };
  1704. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1705. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1706. # this file was generated by the following command(s):
  1707. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1708.  
  1709. 1 parsed at B=0.075, K=20
  1710. 1 coverage 100%
  1711. 1 stats 2.63906 151 182
  1712. Attempted: 1. Completed: 1 (100.00%).
  1713. $VAR1 = {
  1714.           'DRS' => '%%% This file was generated by the following command:
  1715. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1716.  
  1717. :- multifile     sem/5, id/2.
  1718. :- discontiguous sem/5, id/2.
  1719. :- dynamic       sem/5, id/2.
  1720.  
  1721. id(rte,1).
  1722.  
  1723. %%% The owner who smokes Bluemasters drinks beer .
  1724.  
  1725. sem(1,
  1726.    [word(1001, "The"), word(1002, owner), word(1003, who), word(1004, smokes), word(1005, "Bluemasters"), word(1006, drinks), word(1007, beer), word(1008, ".")],
  1727.    [pos(1001, "DT"), pos(1002, "NN"), pos(1003, "WP"), pos(1004, "VBZ"), pos(1005, "NNS"), pos(1006, "NNS"), pos(1007, "NN"), pos(1008, ".")],
  1728.    [],
  1729.    smerge(drs([[1001]:A], [[1002]:pred(A, owner, n, 0)]), drs([[1006]:B, [1005]:C, [1005, 1006, 1007]:D, [1004]:E], [[1006]:pred(B, drink, n, 0), [1005]:pred(C, bluemaster, n, 0), [1007]:pred(D, beer, n, 0), [1004]:pred(E, smoke, v, 0), []:pred(E, event, n, 1), []:pred(A, topic, a, 1), []:rel(B, D, nn, 0), []:rel(C, D, nn, 0), [1004]:rel(E, A, agent, 0), [1004]:rel(E, D, patient, 0)])) ).
  1730. %%%   ___________   ________________  
  1731. %%%  | x0        | | x1 x2 x3 x4    |
  1732. %%%  |-----------| |----------------|
  1733. %%% (| owner(x0) |+| drink(x1)      |)
  1734. %%%  |___________| | bluemaster(x2) |
  1735. %%%                | beer(x3)       |
  1736. %%%                | smoke(x4)      |
  1737. %%%                | event(x4)      |
  1738. %%%                | topic(x0)      |
  1739. %%%                | nn(x1,x3)      |
  1740. %%%                | nn(x2,x3)      |
  1741. %%%                | agent(x4,x0)   |
  1742. %%%                | patient(x4,x3) |
  1743. %%%                |________________|
  1744. ',
  1745.           'CCG' => '% this file was generated by the following command(s):
  1746. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1747.  
  1748. :- op(601, xfx, (/)).
  1749. :- op(601, xfx, (\\)).
  1750. :- multifile ccg/2, id/2.
  1751. :- discontiguous ccg/2, id/2.
  1752.  
  1753. ccg(1,
  1754. rp(np,
  1755.  ba(np,
  1756.   fa(np:nb,
  1757.    t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1758.    t(n, "owner", "owner", "NN", "I-NP", "O")),
  1759.   fa(np\\np,
  1760.    t((np\\np)/(s:dcl\\np), "who", "who", "WP", "B-NP", "O"),
  1761.    fa(s:dcl\\np,
  1762.     t((s:dcl\\np)/np, "smokes", "smoke", "VBZ", "I-VP", "O"),
  1763.     lx(np, n,
  1764.      fa(n,
  1765.       t(n/n, "Bluemasters", "bluemaster", "NNS", "I-NP", "O"),
  1766.       fa(n,
  1767.        t(n/n, "drinks", "drink", "NNS", "I-NP", "O"),
  1768.        t(n, "beer", "beer", "NN", "I-NP", "O"))))))),
  1769.  t(period, ".", ".", ".", "O", "O"))).
  1770.  
  1771. id(rte, [1]).
  1772.  
  1773. '
  1774.         };
  1775. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1776. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1777. # this file was generated by the following command(s):
  1778. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1779.  
  1780. 1 parsed at B=0.075, K=20
  1781. 1 coverage 100%
  1782. 1 stats 1.94591 162 189
  1783. Attempted: 1. Completed: 1 (100.00%).
  1784. $VAR1 = {
  1785.           'DRS' => '%%% This file was generated by the following command:
  1786. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1787.  
  1788. :- multifile     sem/5, id/2.
  1789. :- discontiguous sem/5, id/2.
  1790. :- dynamic       sem/5, id/2.
  1791.  
  1792. id(rte,1).
  1793.  
  1794. %%% The German smokes Prince .
  1795.  
  1796. sem(1,
  1797.    [word(1001, "The"), word(1002, "German"), word(1003, smokes), word(1004, "Prince"), word(1005, ".")],
  1798.    [pos(1001, "DT"), pos(1002, "JJ"), pos(1003, "NNS"), pos(1004, "NNP"), pos(1005, ".")],
  1799.    [],
  1800.    smerge(drs([[1003]:A, [1001]:B], [[1003]:pred(A, smoke, n, 0), [1002]:pred(B, german, a, 0), []:rel(A, B, nn, 0), [1004]:named(B, prince, nam, 0)]), drs([], [[]:pred(B, topic, a, 1)])) ).
  1801. %%%   ______________________   ___________  
  1802. %%%  | x0 x1                | |           |
  1803. %%%  |----------------------| |-----------|
  1804. %%% (| smoke(x0)            |+| topic(x1) |)
  1805. %%%  | german(x1)           | |___________|
  1806. %%%  | nn(x0,x1)            |              
  1807. %%%  | named(x1,prince,nam) |              
  1808. %%%  |______________________|              
  1809. ',
  1810.           'CCG' => '% this file was generated by the following command(s):
  1811. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1812.  
  1813. :- op(601, xfx, (/)).
  1814. :- op(601, xfx, (\\)).
  1815. :- multifile ccg/2, id/2.
  1816. :- discontiguous ccg/2, id/2.
  1817.  
  1818. ccg(1,
  1819. fa(np:nb,
  1820.  t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1821.  fa(n,
  1822.   t(n/n, "German", "german", "JJ", "I-NP", "O"),
  1823.   fa(n,
  1824.    t(n/n, "smokes", "smoke", "NNS", "I-NP", "O"),
  1825.    rp(n,
  1826.     t(n, "Prince", "Prince", "NNP", "I-NP", "O"),
  1827.     t(period, ".", ".", ".", "O", "O")))))).
  1828.  
  1829. id(rte, [1]).
  1830.  
  1831. '
  1832.         };
  1833. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1834. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1835. # this file was generated by the following command(s):
  1836. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1837.  
  1838. 1 parsed at B=0.075, K=20
  1839. 1 coverage 100%
  1840. 1 stats 2.77259 173 197
  1841. Attempted: 1. Completed: 1 (100.00%).
  1842. $VAR1 = {
  1843.           'CCG' => '% this file was generated by the following command(s):
  1844. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1845.  
  1846. :- op(601, xfx, (/)).
  1847. :- op(601, xfx, (\\)).
  1848. :- multifile ccg/2, id/2.
  1849. :- discontiguous ccg/2, id/2.
  1850.  
  1851. ccg(1,
  1852. rp(np,
  1853.  ba(np,
  1854.   fa(np:nb,
  1855.    t(np:nb/n, "The", "the", "DT", "I-NP", "O"),
  1856.    fa(n,
  1857.     t(n/n, "Norwegian", "norwegian", "JJ", "I-NP", "O"),
  1858.     t(n, "lives", "life", "NNS", "I-NP", "O"))),
  1859.   fa(np\\np,
  1860.    t((np\\np)/pp, "next", "next", "IN", "B-NP", "O"),
  1861.    fa(pp,
  1862.     t(pp/np, "to", "to", "TO", "I-PP", "O"),
  1863.     fa(np:nb,
  1864.      t(np:nb/n, "the", "the", "DT", "I-NP", "O"),
  1865.      fa(n,
  1866.       t(n/n, "blue", "blue", "JJ", "I-NP", "O"),
  1867.       t(n, "house", "house", "NN", "I-NP", "O")))))),
  1868.  t(period, ".", ".", ".", "O", "O"))).
  1869.  
  1870. id(rte, [1]).
  1871.  
  1872. ',
  1873.           'DRS' => '%%% This file was generated by the following command:
  1874. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1875.  
  1876. :- multifile     sem/5, id/2.
  1877. :- discontiguous sem/5, id/2.
  1878. :- dynamic       sem/5, id/2.
  1879.  
  1880. id(rte,1).
  1881.  
  1882. %%% The Norwegian lives next to the blue house .
  1883.  
  1884. sem(1,
  1885.    [word(1001, "The"), word(1002, "Norwegian"), word(1003, lives), word(1004, next), word(1005, to), word(1006, the), word(1007, blue), word(1008, house), word(1009, ".")],
  1886.    [pos(1001, "DT"), pos(1002, "JJ"), pos(1003, "NNS"), pos(1004, "IN"), pos(1005, "TO"), pos(1006, "DT"), pos(1007, "JJ"), pos(1008, "NN"), pos(1009, ".")],
  1887.    [],
  1888.    smerge(drs([[1001]:A, [1006]:B], [[1002]:pred(A, norwegian, a, 0), [1003]:pred(A, life, n, 0), [1007]:pred(B, blue, a, 0), [1008]:pred(B, house, n, 0)]), drs([], [[1004]:pred(A, next, n, 0), [1005]:rel(A, B, to, 0), []:pred(A, topic, a, 1)])) ).
  1889. %%%   _______________   ___________  
  1890. %%%  | x0 x1         | |           |
  1891. %%%  |---------------| |-----------|
  1892. %%% (| norwegian(x0) |+| next(x0)  |)
  1893. %%%  | life(x0)      | | to(x0,x1) |
  1894. %%%  | blue(x1)      | | topic(x0) |
  1895. %%%  | house(x1)     | |___________|
  1896. %%%  |_______________|              
  1897. '
  1898.         };
  1899. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1900. cd /var/lib/myfrdcsa/sandbox/nutcracker-1.0/nutcracker-1.0/candc && bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1901. # this file was generated by the following command(s):
  1902. #   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1903.  
  1904. 1 attempt nospan at B=0.075, K=20
  1905. 1 attempt nospan at B=0.03, K=20
  1906. 1 attempt nospan at B=0.01, K=20
  1907. 1 attempt nospan at B=0.005, K=20
  1908. 1 attempt nospan at B=0.001, K=150
  1909. 1 failed no span at B=0.001, K=150
  1910. Attempted: 1. Completed: 0 (0.00%).
  1911. $VAR1 = {
  1912.           'DRS' => '%%% This file was generated by the following command:
  1913. %%% bin/boxer --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.drs --resolve --vpe --box
  1914.  
  1915. :- multifile     sem/5, id/2.
  1916. :- discontiguous sem/5, id/2.
  1917. :- dynamic       sem/5, id/2.
  1918. ',
  1919.           'CCG' => '% this file was generated by the following command(s):
  1920. %   bin/candc --input /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.met --output /var/lib/myfrdcsa/codebases/internal/perllib/data/candc/candc-text.ccg --models models/boxer --candc-printer boxer
  1921.  
  1922. :- op(601, xfx, (/)).
  1923. :- op(601, xfx, (\\)).
  1924. :- multifile ccg/2, id/2.
  1925. :- discontiguous ccg/2, id/2.
  1926.  
  1927.  
  1928. id(rte, [1]).
  1929.  
  1930. '
  1931.         };
  1932. andrewdo@ai2:/var/lib/myfrdcsa/codebases/internal/perllib/scripts$
  1933.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement