File size: 68,798 Bytes
6fa4bc9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 | {
"paper_id": "P95-1029",
"header": {
"generated_with": "S2ORC 1.0.0",
"date_generated": "2023-01-19T08:33:43.751417Z"
},
"title": "Using Higher-Order Logic Programming for Semantic Interpretation of Coordinate Constructs",
"authors": [
{
"first": "Seth",
"middle": [],
"last": "Kulick",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "University of Pennsylvania",
"location": {
"addrLine": "200 South 33rd Street Philadelphia",
"postCode": "19104-6389",
"region": "PA",
"country": "USA"
}
},
"email": "skulick@linc@edu"
}
],
"year": "",
"venue": null,
"identifiers": {},
"abstract": "Many theories of semantic interpretation use A-term manipulation to compositionally compute the meaning of a sentence. These theories are usually implemented in a language such as Prolog that can simulate A-term operations with first-order unification. However, for some interesting cases, such as a Combinatory Categorial Grammar account of coordination constructs, this can only be done by obscuring the underlying linguistic theory with the \"tricks\" needed for implementation. This paper shows how the use of abstract syntax permitted by higher-order logic programming allows an elegant implementation of the semantics of Combinatory Categorial Grammar, including its handling of coordination constructs.",
"pdf_parse": {
"paper_id": "P95-1029",
"_pdf_hash": "",
"abstract": [
{
"text": "Many theories of semantic interpretation use A-term manipulation to compositionally compute the meaning of a sentence. These theories are usually implemented in a language such as Prolog that can simulate A-term operations with first-order unification. However, for some interesting cases, such as a Combinatory Categorial Grammar account of coordination constructs, this can only be done by obscuring the underlying linguistic theory with the \"tricks\" needed for implementation. This paper shows how the use of abstract syntax permitted by higher-order logic programming allows an elegant implementation of the semantics of Combinatory Categorial Grammar, including its handling of coordination constructs.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Abstract",
"sec_num": null
}
],
"body_text": [
{
"text": "Many theories of semantic interpretation use A-term manipulation to compositionally compute the meaning of a sentence. These theories are usually implemented in a language such as Prolog that can simulate A-term operations with first-order unification. However, there are cases in which this can only be done by obscuring the underlying linguistic theory with the \"tricks\" needed for implementation. For example, Combinatory Categorial Grammar (CCG) (Steedman, 1990 ) is a theory of syntax and semantic interpretation that has the attractive characteristic of handling many coordination constructs that other theories cannot. While many aspects of CCG semantics can be reasonably simulated in first-order unification, the simulation breaks down on some of the most interesting cases that CCG can theoretically handle. The problem in general, and for CCG in particular, is that the implementation language does not have sufficient expressive power to allow a more direct encoding. The solution given in this paper is to show how advances in logic programming allow the implementation of semantic theories in a very direct and natural way, using CCG as a case study.",
"cite_spans": [
{
"start": 450,
"end": 465,
"text": "(Steedman, 1990",
"ref_id": "BIBREF17"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "We begin by briefly illustrating why first-order unification is inadequate for some coordination constructs, and then review two proposed solutions. The sentence in (la) usually has the logical form (LF) in (lb). (la) John and Bill run.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "(15) (and (run John) (run Bill))",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "CCG is one of several theories in which (lb) gets derived by raising John to be the LF AP.(P john),",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "where P is a predicate that takes a NP as an argument to return a sentence. Likewise, Bill gets the LF AP.(P bill), and coordination results in the following LF for John and Bill:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "(2) AP.(and (P john) (P bill))",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "When (2) is applied to the predicate, (15) will result after 13-reduction. However, under first-order unification, this needs to simulated by having the variable z in Az.run(z) unify both with Bill and John, and this is not possible. See (Jowsey, 1990) and (Moore, 1989 ) for a thorough discussion. (Moore, 1989) suggests that the way to overcome this problem is to use explicit A-terms and encode /~-reduction to perform the needed reduction. For example, the logical form in (3) would be produced, where X\\rtm(X) is the representation of Az.run (z).",
"cite_spans": [
{
"start": 238,
"end": 252,
"text": "(Jowsey, 1990)",
"ref_id": "BIBREF3"
},
{
"start": 257,
"end": 269,
"text": "(Moore, 1989",
"ref_id": "BIBREF8"
},
{
"start": 299,
"end": 312,
"text": "(Moore, 1989)",
"ref_id": "BIBREF8"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "(3) and (apply (I\\run(X), j ohn).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "apply (l\\run(l), bill) ) (Park, 1992) proposes a solution within first-order unification that can handle not only sentence (la), but also more complex examples with determiners. The method used is to introduce spurious bindings that subsequently get removed. For example, the semantics of (4a) would be (4b), which would then get simplified to (4c).",
"cite_spans": [
{
"start": 25,
"end": 37,
"text": "(Park, 1992)",
"ref_id": "BIBREF10"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "(4a) A farmer and every senator talk &forall (13, senator (13) =>talk (13))",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "While this pushes first-order unification beyond what it had been previously shown capable of, there are two disadvantages to this technique: (1) For every possible category that can be conjoined, a separate lexical entry for and is required, and (2) As the conjoinable categories become more complex, the and entries become correspondingly more complex and greatly obscure the theoretical background of the grammar formalism.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "The fundamental problem in both cases is that the concept of free and bound occurrences of variables is not supported by Prolog, but instead needs to be implemented by additional programming. While theoretically possible, it becomes quite problematic to actually implement. The solution given in this paper is to use a higher-order logic programming language, AProlog, that already implements these concepts, called \"abstract syntax\" in (Miller, 1991) and \"higher-order abstract syntax\" in (Pfenning and Elliot, 1988) . This allows a natural and elegant implementation of the grammatical theory, with only one lexical entry for and. This paper is meant to be viewed as furthering the exploration of the utility of higher-order logic programming for computational linguistics -see, for example, (Miller & Nadathur, 1986) , (Pareschi, 1989) , and (Pereira, 1990) .",
"cite_spans": [
{
"start": 437,
"end": 451,
"text": "(Miller, 1991)",
"ref_id": "BIBREF5"
},
{
"start": 490,
"end": 517,
"text": "(Pfenning and Elliot, 1988)",
"ref_id": "BIBREF16"
},
{
"start": 794,
"end": 819,
"text": "(Miller & Nadathur, 1986)",
"ref_id": "BIBREF6"
},
{
"start": 822,
"end": 838,
"text": "(Pareschi, 1989)",
"ref_id": "BIBREF9"
},
{
"start": 845,
"end": 860,
"text": "(Pereira, 1990)",
"ref_id": "BIBREF13"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "CCG is a grammatical formalism in which there is a one-to-one correspondence between the rules of composition 1 at the level of syntax and logical form. Each word is (perhaps ambiguously) assigned a category and LF, and when the syntactical operations assign a new category to a constituent, the corresponding semantic operations produce a new LF for that constituent as well. The CCG rules shown in Figure 1 are implemented in the system described 1In the genera] sense, not specifically the CCG rule for function composition. As an illustration of how the semantic rules can be simulated in first-order unification, consider the derivation of the constituent harry found, where harry has the category np with LF harry' and found is a transitive verb of category (s\\np)/np with LF (5) Aobject.Asubject.(found' subject object)",
"cite_spans": [],
"ref_spans": [
{
"start": 400,
"end": 408,
"text": "Figure 1",
"ref_id": null
}
],
"eq_spans": [],
"section": "CCG",
"sec_num": "2"
},
{
"text": "In the CCG formalism, the derivation is as follows: harry gets raised with the > T rule, and then forward composed by the > B rule with found, and the result is a category of type s/rip with LF Az.(found' harry' z). In section 3 it will be seen how the use of abstract syntax allows this to be expressed directly. In first-order unification, it is simulated as shown in Figure 2 . 4",
"cite_spans": [],
"ref_spans": [
{
"start": 370,
"end": 378,
"text": "Figure 2",
"ref_id": "FIGREF2"
}
],
"eq_spans": [],
"section": "CCG",
"sec_num": "2"
},
{
"text": "The final CCG rule to be considered is the coordination rule that specifies that only like categories can coordinate: 2The type-raising rules shown are actually a simplification of what has been implemented. In order to handle determiners, a system similar to NP-complement categories as discussed in (Dowty, 1988) is used. Although a worthwhile further demonstration of the use of abstract syntax, it has been left out of this paper for space reasons.",
"cite_spans": [
{
"start": 301,
"end": 314,
"text": "(Dowty, 1988)",
"ref_id": "BIBREF0"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "CCG",
"sec_num": "2"
},
{
"text": "3The \\ for a backward-looking category should not be confused with the \\ for A-abstraction.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "CCG",
"sec_num": "2"
},
{
"text": "*example adapted from (Steedman, 1990, p. 220 ).",
"cite_spans": [
{
"start": 22,
"end": 45,
"text": "(Steedman, 1990, p. 220",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "CCG",
"sec_num": "2"
},
{
"text": "(6) X \u00a2on3 X => x This is actually a schema for a family of rules, collectively called \"generalized coordination\", since the semantic rule is different for each case. 5 For example, if X is a unary function, then the semantic rule is (Ta), and if the functions have two arguments, then the rule is (7b). s (7a) @FGH = Az.F(Gz)(Hz)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "CCG",
"sec_num": "2"
},
{
"text": "(7b) @~FGH = Az.Ay.F(Gzy)(Hzy)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "CCG",
"sec_num": "2"
},
{
"text": "For example, when processing (la), rule (Ta) would be used with:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "CCG",
"sec_num": "2"
},
{
"text": "\u2022 F = Az.Ay.(~md' z y)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "CCG",
"sec_num": "2"
},
{
"text": "\u2022 G = AP.(P john') , H = AP.(P bill')",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "CCG",
"sec_num": "2"
},
{
"text": "with the result c~FGH = Az.(and' (z john') (z bill'))",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "CCG",
"sec_num": "2"
},
{
"text": "which is c=-equivalent to (2).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "CCG",
"sec_num": "2"
},
{
"text": "AProlog is a logic programming language based on higher-order hereditary Harrop formulae (Miller et al., 1991) . It differs from Prolog in that first-order terms and unification are replaced with simply-typed A-terms and higher-order unification 7, respectively. It also permits universal quantification and implication in the goals of clauses. The crucial aspect for this paper is that together these features permits the usage of abstract syntax to express the logical forms terms computed by CCG. The built-in A-term manipulation is used as a \"meta-language\" in which the \"object-language\" of CCG logical forms is expressed, and variables in the object-language are mapped to variables in the meta-language. The AProlog code fragment shown in Figure 3 declares how the CCG logical forms are represented. Each CCG LF is represented as an untyped A-term, namely type t=. abe represents object-level abstraction Az.M by the meta-level expression (abe I), sit is not established if this schema should actually produce an unbounded family of rules. See (Weir, 1988) and (Weir and Joshi, 1988) for a discussion of the implications for automata-theoretic power of generalized coordination and composition, and (Gazda~, 1988) for linguistic axguments that languages like Dutch may require this power, and (Steedman, 1990) for some further discussion of the issue. In this paper we use the generalized rule to illustrate the elegance of the representation, but it is an easy change to implement a bounded coordination rule.",
"cite_spans": [
{
"start": 89,
"end": 110,
"text": "(Miller et al., 1991)",
"ref_id": "BIBREF5"
},
{
"start": 1051,
"end": 1063,
"text": "(Weir, 1988)",
"ref_id": "BIBREF18"
},
{
"start": 1068,
"end": 1090,
"text": "(Weir and Joshi, 1988)",
"ref_id": "BIBREF19"
},
{
"start": 1206,
"end": 1220,
"text": "(Gazda~, 1988)",
"ref_id": null
}
],
"ref_spans": [
{
"start": 746,
"end": 754,
"text": "Figure 3",
"ref_id": "FIGREF3"
}
],
"eq_spans": [],
"section": "~PROLOG and Abstract Syntax",
"sec_num": "3"
},
{
"text": "eThe ,I~ notation is used because of the combinatory logic background of CCG. See (Steedman, 1990) for details.",
"cite_spans": [
{
"start": 82,
"end": 98,
"text": "(Steedman, 1990)",
"ref_id": "BIBREF17"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "~PROLOG and Abstract Syntax",
"sec_num": "3"
},
{
"text": "7defined as the unification of simply typed A-terms, modulo ~,/conversion. A meta-level A-abstraction Ay.P is written y\\p.S",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "~PROLOG and Abstract Syntax",
"sec_num": "3"
},
{
"text": "Thus, if waZked' has type tat --* tat, then y\\(walked' y) is a AProlog (meta, level) function with type ta -* tat, and (abe y\\(walked' y)) is the object-level representation, with type tat. The LF for found shown in (5) would be represented as Cabs obj\\(abs sub\\(found' sub obj))), app encodes application, and so in the derivation of harry found, the type-raised harry has the AProlog value (abe p\\(app p harry')). 9",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "~PROLOG and Abstract Syntax",
"sec_num": "3"
},
{
"text": "The second part of Figure 3 shows declares how quantifiers are represented, which are required since the sentences to be processed may have determiners. forall and exists are encoded similarly to abstraction, in that they take a functional argument and so object-level binding of variables by quantifiers is handled by meta-hvel A-abstraction. >> and tt are simple constructors for implication and conjunction, to be used with forall and exists respectively, in the typical manner (Pereira and Shieber, 1987) . For example, the sentence every man found a bone has as a possible LF (8a), with the AProlog representation (8b)10:",
"cite_spans": [
{
"start": 481,
"end": 508,
"text": "(Pereira and Shieber, 1987)",
"ref_id": "BIBREF15"
}
],
"ref_spans": [
{
"start": 19,
"end": 27,
"text": "Figure 3",
"ref_id": "FIGREF3"
}
],
"eq_spans": [],
"section": "~PROLOG and Abstract Syntax",
"sec_num": "3"
},
{
"text": "SThis is the same syntax for ~-abstraction as in (3). (Moore, 1989) in fact borrows the notation for Aabstraction from AProlog. The difference, of course, is that here the abstraction is a meta-level, built-in construct, while in (3) the interpretation is dependent on an extra layer of programming. Bound variables in AProlog can be either upper or lower case, since they axe not logic vaxlables, and will be written in lower case in this paper.",
"cite_spans": [
{
"start": 54,
"end": 67,
"text": "(Moore, 1989)",
"ref_id": "BIBREF8"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "~PROLOG and Abstract Syntax",
"sec_num": "3"
},
{
"text": "9It is possible to represent the logical forms at the object-level without using abs and app, so that harry could be simply p\\(p harry'). The original implementation of this system was in fact done in this manner. Space prohibits a full explanation, but essentially the fact that AProlog is a typed language leads to a good deal of formal clutter if this method is used. 1\u00b0The LF for the determiner has the form of a Montagovian generalized quantifier, giving rise to one fully scoped logical form for the sentence. It should be stressed that this particular kind of LF is assumed here purely for the sake of illustration, to make the point that composition at the level of derivation and LF are oneto-one. Section 4 contains an example for which such a type apply tm -> tm -> tm -> o. type compose tm -> tm -> tm -> o.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "~PROLOG and Abstract Syntax",
"sec_num": "3"
},
{
"text": "type raise tm -> tm -> o.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "~PROLOG and Abstract Syntax",
"sec_num": "3"
},
{
"text": "raise Tn (abe P\\(app P Tm)). Figure 4 illustrates how directly the CCG operations can be encoded 11. o is the type of a meta-level proposition, and so the intended usage of apply is to take three arguments of type tm, where the first should be an object-level )~-abstraction, and set the third equal to the application of the first to the second. Thus, for the query ?-apply (abe sub\\(walked' sub)) harry' N.",
"cite_spans": [],
"ref_spans": [
{
"start": 29,
"end": 37,
"text": "Figure 4",
"ref_id": null
}
],
"eq_spans": [],
"section": "apply (abs R) S (R S). compose (abs F) (abs G) (abs x\\(F (G x))).",
"sec_num": null
},
{
"text": "unifies with the ta -~ ta function sub\\(walked ~ sub), S with harry' and M with (It S), the recta-level application of R to S, which by the built-in fi-reduction is (walked' harry' ). In other words, object-level function application is handled simply by the meta-level function application.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "It",
"sec_num": null
},
{
"text": "Function composition is similar. Consider again the derivation of harry found by typeraising and forward composition, harry would get type-raised by the raise clause to produce (abe p\\(app p haxry~)), and then composed with found, with the result shown in the following query:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "It",
"sec_num": null
},
{
"text": "?-compose (abe p\\(app p harry')) (abe obj\\ (abe sub\\ (found' sub obj))) M. M = (abe x\\ (app (abs sub\\(found ~ sub x)) harry' )).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "It",
"sec_num": null
},
{
"text": "derivation fails to yield all available quantifier scopings. We do not address here the further question of how the remaining scoped readings axe derived. Alternatives that appear compatible with the present approach are quantitier movement (Hobbs & Shieber, 1987) , type-ralsing at LF (Paxtee & Rooth, 1983) , or the use of disambiguated quantifers in the derivation itself (Park, 1995) . 11There are other clauses, not shown here, that determine the direction of the CCG rule. For either direction, however, the semantics axe the same and both directiona.I rules call these clauses for the semantic computation. At this point a further/~-reduction is needed. Note however this is not at all the same problem of writing a /~-reducer in Prolog. Instead it is a simple matter of using the meta-level ~-reduction to eliminate ~-redexes to produce the final result (abe x\\(found I harry x)). We won't show the complete declaration of the/~-reducer, but the key clause is simply:",
"cite_spans": [
{
"start": 241,
"end": 264,
"text": "(Hobbs & Shieber, 1987)",
"ref_id": "BIBREF2"
},
{
"start": 286,
"end": 308,
"text": "(Paxtee & Rooth, 1983)",
"ref_id": null
},
{
"start": 375,
"end": 387,
"text": "(Park, 1995)",
"ref_id": "BIBREF11"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "It",
"sec_num": null
},
{
"text": "red (app (abe N) N) (N N).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "It",
"sec_num": null
},
{
"text": "Thus, using the abstract syntax capabilities of ~Prolog, we can have a direct implementation of the underlying linguistic formalism, in stark contrast to the first-order simulation shown in Figure 2 .",
"cite_spans": [],
"ref_spans": [
{
"start": 190,
"end": 198,
"text": "Figure 2",
"ref_id": "FIGREF2"
}
],
"eq_spans": [],
"section": "It",
"sec_num": null
},
{
"text": "A primary goal of abstract-syntax is to support recursion through abstractions with bound variables. This leads to the interpretation of a bound variable as a \"scoped constant\" -it acts like a constant that is not visible from the top of the term, but which becomes visible during the descent through the abstraction. See (Miller, 1991) for a discussion of how this may be used for evaluation of functional programs by \"pushing\" the evaluation through abstractions to reduce redexes that are not at the top-level. This technique is also used in the fl-reducer briefly mentioned at the end of the previous section, and a similar technique will be used here to implement coordination by recursively descending through the two arguments to be coordinated. Before describing the implementation of coordination, it is first necessary to mention how CCG categories are represented in the ~Prolog code. As shown in Figure 5 , cat is declared to be a primitive type, and np, s, conj, noun are the categories used in this implementation, fs and bs are declared to be constructors for forward and backward slash. For example, the CCG category for a transitive verb (s\\np)/np would be represented as (fs np (bs np s)). Also, the predicate atomic-type is declared to be true for the four atomic categories. This will be used in the implementation of coordination as a test for termination of the recursion. Since e is meant to be treated as a generic placeholder for any arbitrary z of the proper type, c must not appear in any terms instantiated for logic variables during the proof of [c/z]G. The significance of this restriction will be illustrated shortly.",
"cite_spans": [
{
"start": 322,
"end": 336,
"text": "(Miller, 1991)",
"ref_id": "BIBREF5"
}
],
"ref_spans": [
{
"start": 908,
"end": 916,
"text": "Figure 5",
"ref_id": "FIGREF5"
}
],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "The code for coordination is shown in Figure 6 . The four arguments to cooed are a category and three terms that are the object-level LF representations of constituents of that category. The last argument will result from the coordination of the second and third arguments. Consider again the earlier problematic example (la) of coordination. Recall that after john is type-raised, its LF will be (abs p\\(app p john')) and similarly for bill.",
"cite_spans": [],
"ref_spans": [
{
"start": 38,
"end": 47,
"text": "Figure 6",
"ref_id": "FIGREF7"
}
],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "They will both have the category (fs (bs np s) s). Thus, to obtain the LF for John and Bill, the following query would be made: ?coord (fs (bs np s) s) (abs p\\(app p john'))",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "Cabs pkCapp p bill'))",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "M. This will match with the first clause for coord, with",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "\u2022 t instantiated to (be np s)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "\u2022 Btos \u2022 It to (p\\(app p john'))",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "\u2022 S to (p\\(app p bill'))",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "\u2022 and T a logic variable waiting instantiation.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "Then, after the meta-level/~-reduction using the new scoped constant c, the following goal is called:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "?-coord s (app \u00a2 john') (app c bill') II.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "where II = (T c). Since s is an atomic type, the third coord clause matches with",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "\u2022 B instantiated to s",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "\u2022 R to (app c john')",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "\u2022 S to (app c bill')",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "\u2022 II to (and' (app c john') (app c bill')) Since I = (T c), higher-order unification is used by AProlog to instantiate T by extracting c from II with the result T = x\\(and' (app x john') (app x bill')) and so H from the original query is (abe x\\(and' (app \u2022 john') (app \u2022 bill')))",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "Note that since c is a scoped constant arising from the proof of an universal quantification, the instantiation T = x\\(and' (app \u00a2 john') (app \u2022 bill'))",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "is prohibited, along with the other extractions that do not remove c from the body of the abstraction.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "This use of universal quantification to extract out c from a term containing c in this case gives the same result as a direct implementation of the rule for cooordination of unary functions (7a) would. However, this same process of recursive descent via scoped constants will work for any member of the conj rule family. For example, the following query corresponds to rule (7b). Note also that the use of the same bound variable names obj and sub causes no difficulty since the use of scoped-constants, meta-level H-reduction, and higher-order unification is used to access and manipulate the inner terms. Also, whereas (Park, 1992) requires careful consideration of handling of determiners with coordination, here such sentences are handled just like any others.",
"cite_spans": [
{
"start": 621,
"end": 633,
"text": "(Park, 1992)",
"ref_id": "BIBREF10"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "For example, the sentence Mary gave every dog a bone and some policeman a flower results in the LF",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Implementation of Coordination",
"sec_num": null
},
{
"text": "12This is a case in which the paxticulax LF assumed here fails to yield another available scoping. See footnote 10. Thus, \"generalized coordination\", instead of being a family of separate rules, can be expressed as a single rule on recursive descent through logical forms. (Steedman, 1990) also discusses \"generalized composition\", and it may well be that a similar implementation is possible for that family of rules as well.",
"cite_spans": [
{
"start": 273,
"end": 289,
"text": "(Steedman, 1990)",
"ref_id": "BIBREF17"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "12.",
"sec_num": null
},
{
"text": "We have shown how higher-order logic programming can be used to elegantly implement the semantic theory of CCG, including the previously difficult case of its handling of coordination constructs. The techniques used here should allow similar advantages for a variety of such theories. An argument can be made that the approach taken here relies on a formalism that entails implementation issues that are more difficult than for the other solutions and inherently not as efficient. However, the implementation issues, although more complex, are also well-understood and it can be expected that future work will bring further improvements. For example, it is a straightforward matter to transform the ,XProlog code into a logic called L~ (Miller, 1990) which requires only a restricted form of unification that is decidable in linear time and space. Also, the declarative nature of ~Prolog programs opens up the possibility for applications of program transformations such as partial evaluation. 6",
"cite_spans": [
{
"start": 736,
"end": 750,
"text": "(Miller, 1990)",
"ref_id": "BIBREF4"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "5"
},
{
"text": "This would then be reduced by the clauses for apply to result in (lb). For this small example, writing such an apply predicate is not difficult. However, as the semantic terms become more complex, it is no trivial matter to write ~-reduction that will correctly handle variable capture. Also, if at some point it was desired to determine if the semantic forms of two different sentences were the same, a predicate would be needed to compare two lambda forms for a-equivalence, which again is not a simple task. Essentially, the logic variable X is meant to be interpreted as a bound variable, which requires an additional layer of programming.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
}
],
"back_matter": [
{
"text": "This work is supported by ARC) grant DAAL03-89-0031, DARPA grant N00014-90-J-1863, and ARO grant DAAH04-94-G-0426. I would like to thank Aravind Joshi, Dale Miller, Jong Park, and Mark Steedman for valuable discussions and comments on earlier drafts.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Acknowledgments",
"sec_num": null
}
],
"bib_entries": {
"BIBREF0": {
"ref_id": "b0",
"title": "Type raising, functional composition, and non-constituent conjunction",
"authors": [
{
"first": "David",
"middle": [],
"last": "Dowty",
"suffix": ""
}
],
"year": 1988,
"venue": "Categorial Grammars and Natural Language Structures. Reidel",
"volume": "",
"issue": "",
"pages": "153--198",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "David Dowty. 1988. Type raising, functional com- position, and non-constituent conjunction. In Richard T. Oehrle, Emmon Bach, and Deirdre Wheeler, editors, Categorial Grammars and Natu- ral Language Structures. Reidel, Dordrecht, pages 153-198.",
"links": null
},
"BIBREF1": {
"ref_id": "b1",
"title": "Applicability of indexed grammars to natural languages",
"authors": [
{
"first": "Gerald",
"middle": [],
"last": "Gazdar",
"suffix": ""
}
],
"year": 1988,
"venue": "Natural language parsing and linguistic theories. Reidel",
"volume": "",
"issue": "",
"pages": "69--94",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Gerald Gazdar. 1988. Applicability of indexed grammars to natural languages. In U. Reyle and C. Rohrer, editors, Natural language parsing and linguistic theories. Reidel, Dordrecht, pages 69-94.",
"links": null
},
"BIBREF2": {
"ref_id": "b2",
"title": "An algorithm for generating quantifier scopings",
"authors": [
{
"first": "Jerry",
"middle": [
"R"
],
"last": "Hobbs",
"suffix": ""
},
{
"first": "Stuart",
"middle": [
"M"
],
"last": "Shieber",
"suffix": ""
}
],
"year": 1987,
"venue": "Computational Linguistics",
"volume": "13",
"issue": "",
"pages": "47--63",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Jerry R. Hobbs and Stuart M. Shieber. 1987. An al- gorithm for generating quantifier scopings. Com- putational Linguistics, 13:47-63.",
"links": null
},
"BIBREF3": {
"ref_id": "b3",
"title": "Constraining Montague Grammar for Computational Applications",
"authors": [
{
"first": "Einar",
"middle": [],
"last": "Jowsey",
"suffix": ""
}
],
"year": 1990,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Einar Jowsey. 1990. Constraining Montague Gram- mar for Computational Applications. PhD thesis, University of Edinburgh.",
"links": null
},
"BIBREF4": {
"ref_id": "b4",
"title": "A logic programming language with lambda abstraction, function variables and simple unification",
"authors": [
{
"first": "Dale",
"middle": [],
"last": "Miller",
"suffix": ""
}
],
"year": 1990,
"venue": "Eztensions of Logic Programming",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Dale Miller. 1990. A logic programming language with lambda abstraction, function variables and simple unification. In P. Schroeder-Heister, ed- itor, Eztensions of Logic Programming, Lecture Notes in Artifical Intelligence, Springer-Verlag, 1990.",
"links": null
},
"BIBREF5": {
"ref_id": "b5",
"title": "Abstract syntax and logic programming",
"authors": [
{
"first": "Dale",
"middle": [],
"last": "Miller",
"suffix": ""
}
],
"year": 1991,
"venue": "Proceedings of the Second Russian Conference on Logic Programming",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Dale Miller. 1991. Abstract syntax and logic pro- gramming. In Proceedings of the Second Rus- sian Conference on Logic Programming, Septem- ber 1991.",
"links": null
},
"BIBREF6": {
"ref_id": "b6",
"title": "Some uses of higher-order logic in computational linguistics",
"authors": [
{
"first": "Dale",
"middle": [],
"last": "Miller",
"suffix": ""
},
{
"first": "Gopalan",
"middle": [],
"last": "Nadathur",
"suffix": ""
}
],
"year": 1986,
"venue": "24th Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "247--255",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Dale Miller and Gopalan Nadathur. 1986. Some uses of higher-order logic in computational linguis- tics. In 24th Annual Meeting of the Association for Computational Linguistics, pages 247-255.",
"links": null
},
"BIBREF7": {
"ref_id": "b7",
"title": "Uniform proofs as a foundation for logic programming",
"authors": [
{
"first": "Dale",
"middle": [],
"last": "Miller",
"suffix": ""
},
{
"first": "Gopalan",
"middle": [],
"last": "Nadathur",
"suffix": ""
},
{
"first": "Frank",
"middle": [],
"last": "Pfenning",
"suffix": ""
},
{
"first": "Andre",
"middle": [],
"last": "Scedrov",
"suffix": ""
}
],
"year": 1991,
"venue": "In Annals of Pure and Applied Logic",
"volume": "51",
"issue": "",
"pages": "125--157",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Dale Miller, Gopalan Nadathur, Frank Pfenning, Andre Scedrov. 1991. Uniform proofs as a foun- dation for logic programming. In Annals of Pure and Applied Logic, 51:125-157.",
"links": null
},
"BIBREF8": {
"ref_id": "b8",
"title": "Unification-based semantic interpretation",
"authors": [
{
"first": "Robert",
"middle": [
"C"
],
"last": "Moore",
"suffix": ""
}
],
"year": 1989,
"venue": "27th Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "33--41",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Robert C. Moore. 1989. Unification-based seman- tic interpretation. In 27th Annual Meeting of the Association for Computational Linguistics, pages 33-41.",
"links": null
},
"BIBREF9": {
"ref_id": "b9",
"title": "Type-Driven Natural Language Aanalysis",
"authors": [
{
"first": "Remo",
"middle": [],
"last": "Pareschi",
"suffix": ""
}
],
"year": 1989,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Remo Pareschi. 1989. Type-Driven Natural Lan- guage Aanalysis. PhD thesis, University of Edin- burgh.",
"links": null
},
"BIBREF10": {
"ref_id": "b10",
"title": "A unification-based semantic interpretation for coordinate constructs",
"authors": [
{
"first": "C",
"middle": [],
"last": "Jong",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Park",
"suffix": ""
}
],
"year": 1992,
"venue": "80th Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "209--215",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Jong C. Park. 1992. A unification-based semantic interpretation for coordinate constructs. In 80th Annual Meeting of the Association for Computa- tional Linguistics, pages 209-215.",
"links": null
},
"BIBREF11": {
"ref_id": "b11",
"title": "Quantifier scope and constituency",
"authors": [
{
"first": "Jong",
"middle": [
"C"
],
"last": "Park",
"suffix": ""
}
],
"year": 1995,
"venue": "33rd Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Jong C. Park. 1995. Quantifier scope and con- stituency. In 33rd Annual Meeting of the Associa- tion for Computational Linguistics (this volume).",
"links": null
},
"BIBREF12": {
"ref_id": "b12",
"title": "Generalized conjunction and type ambiguity",
"authors": [
{
"first": "Barbara",
"middle": [],
"last": "Partee",
"suffix": ""
},
{
"first": "Mats",
"middle": [],
"last": "Rooth",
"suffix": ""
}
],
"year": 1983,
"venue": "Meaning, Use, and Interpretation of Language. W. de Gruyter",
"volume": "",
"issue": "",
"pages": "361--383",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Barbara Partee and Mats Rooth. 1983. General- ized conjunction and type ambiguity. In Rainer Banerle, Christoph Schwarze, and Arnim von Ste- chow, editors, Meaning, Use, and Interpretation of Language. W. de Gruyter, Berlin, pages 361- 383.",
"links": null
},
"BIBREF13": {
"ref_id": "b13",
"title": "Semantic interpretation as higher-order deduction",
"authors": [
{
"first": "C",
"middle": [
"N"
],
"last": "Fernando",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Pereira",
"suffix": ""
}
],
"year": 1990,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Fernando C.N. Pereira. 1990. Semantic interpre- tation as higher-order deduction. In Jan van",
"links": null
},
"BIBREF14": {
"ref_id": "b14",
"title": "Logics in AI: European Workshop JELIA '90",
"authors": [
{
"first": "",
"middle": [],
"last": "Eijck",
"suffix": ""
}
],
"year": null,
"venue": "",
"volume": "478",
"issue": "",
"pages": "78--96",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Eijck, editor, Logics in AI: European Workshop JELIA '90, Lecture Notes in Artificial Intelligence number 478, pages 78-96. Springer-Verlag, Berlin, Germany.",
"links": null
},
"BIBREF15": {
"ref_id": "b15",
"title": "Prolog and Natural-Language Analysis",
"authors": [
{
"first": "C",
"middle": [
"N"
],
"last": "Fernando",
"suffix": ""
},
{
"first": "Stuart",
"middle": [
"M"
],
"last": "Pereira",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Shieber",
"suffix": ""
}
],
"year": 1985,
"venue": "Number 10 in CSLI Lecture Notes. Center for the Study of Language and Information",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Fernando C.N. Pereira and Stuart M. Shieber. 1987. Prolog and Natural-Language Analysis. Number 10 in CSLI Lecture Notes. Center for the Study of Language and Information, Stanford, California, 1985. Distributed by the University of Chicago Press.",
"links": null
},
"BIBREF16": {
"ref_id": "b16",
"title": "Higherorder abstract syntax",
"authors": [
{
"first": "Frank",
"middle": [],
"last": "Pfenning",
"suffix": ""
},
{
"first": "Conal",
"middle": [],
"last": "Elliot",
"suffix": ""
}
],
"year": 1988,
"venue": "Proceedings of the A CM-SIGPLAN Conference on Programming Language Design and Implementation",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Frank Pfenning and Conal Elliot. 1988. Higher- order abstract syntax. In Proceedings of the A CM- SIGPLAN Conference on Programming Language Design and Implementation, 1988.",
"links": null
},
"BIBREF17": {
"ref_id": "b17",
"title": "Gapping as constituent coordination",
"authors": [
{
"first": "J",
"middle": [],
"last": "Mark",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Steedman",
"suffix": ""
}
],
"year": 1990,
"venue": "Linguistics and Philosophy 13",
"volume": "",
"issue": "",
"pages": "207--263",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Mark J. Steedman. 1990. Gapping as constituent coordination. In Linguistics and Philosophy 13, pages 207-263",
"links": null
},
"BIBREF18": {
"ref_id": "b18",
"title": "Characterizing Mildly Conteztsensitive Grammar Formalism",
"authors": [
{
"first": "David",
"middle": [],
"last": "Weir",
"suffix": ""
}
],
"year": 1988,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "David Weir. 1988. Characterizing Mildly Contezt- sensitive Grammar Formalism. CIS-88-74, PhD thesis, University of Pennsylvania.",
"links": null
},
"BIBREF19": {
"ref_id": "b19",
"title": "Combinatory categorial grammars: generative power and relation to linear CF rewriting systems",
"authors": [
{
"first": "David",
"middle": [],
"last": "Weir",
"suffix": ""
},
{
"first": "Aravind",
"middle": [],
"last": "Joshi",
"suffix": ""
}
],
"year": 1988,
"venue": "~6th Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "278--285",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "David Weir and Aravind Joshi. 1988. Combina- tory categorial grammars: generative power and relation to linear CF rewriting systems. In ~6th Annual Meeting of the Association for Computa- tional Linguistics, pages 278-285.",
"links": null
}
},
"ref_entries": {
"FIGREF1": {
"type_str": "figure",
"text": "..... ~ .......... >T S:s/(S:s\\NP:harry') (S:found ~ npl np2\\NP:npl)/NP:np2 >B S:found' harry' np2/NP:np2",
"num": null,
"uris": null
},
"FIGREF2": {
"type_str": "figure",
"text": "CCG derivation of harry found simulated by first-order unification in this paper. 2 3 Each of the three operations have both a forward and backward variant.",
"num": null,
"uris": null
},
"FIGREF3": {
"type_str": "figure",
"text": "Declarations for AProlog representation of CCG logical forms where N is a meta-level function of type ta ---* tat.",
"num": null,
"uris": null
},
"FIGREF4": {
"type_str": "figure",
"text": "Figure 4: ~Prolog implementation of CCG logical form operations",
"num": null,
"uris": null
},
"FIGREF5": {
"type_str": "figure",
"text": "Implementation of the CCG category system",
"num": null,
"uris": null
},
"FIGREF6": {
"type_str": "figure",
"text": "coord B (R x) (S x) (T x)).coord B R S (and' E S) :-atomic-type B.",
"num": null,
"uris": null
},
"FIGREF7": {
"type_str": "figure",
"text": "Implementation of coordination",
"num": null,
"uris": null
},
"FIGREF8": {
"type_str": "figure",
"text": "The implementation of coordination crucially uses the capability of AProlog for universal quantification in the goal of a clause, pi is the meta-level operator for V, and Vz.M is written as pi x\\l|. The operational semantics for AProlog state that pi x\\G is provable if and only if [c/z]G is provable, where c is a new variable of the same type as z that does not otherwise occur in the current signature. In other words, c is a scoped constant and the current signature gets expanded with c for the proof of [c/z]G.",
"num": null,
"uris": null
},
"FIGREF10": {
"type_str": "figure",
"text": "' aaxy' x xl))))) (exists x\\((flover J x) 11 (existu xl\\((poiiceman' xl) IU~ (gave' =axy' x xl))))))",
"num": null,
"uris": null
}
}
}
} |