;;; Hey, emacs(1), this is -*- Mode: TDL; Coding: utf-8; -*- got it? ;;; ;;; maybe a genuine difference between the languages: in `Abrams ga Browne også ;;; eppler', the `også' is forced into the NP. according to dan, there is no ;;; corresponding syntactic structure in English for `also' et al. ;;; ;;; according to the NorGram adverb summary (as of 19-sep-06), this is the list ;;; of focal adverbs: ;;; ;;; allerede, bare, ikke minst, nettopp, også, spesielt, særlig, til og med ;;; ;;; --- and what about `ikke den bilen kom.', i wonder. (15-oct-06; oe) ;;; ;;; several of these also have an existence as (ordinary) degree specifiers, ;;; viz. ;;; ;;; allerede, bare (missing in the document), spesielt ;;; ;;; for these we need to check the rules below against other `_x_deg' rules in ;;; the regular lexicon. not sure what will proove the best way of organizing ;;; these files, possible fold the focal adverbs back into the lexcion (as the ;;; conditioning should be unsensitive to SL or TL contexts). (16-sep-06; oe) ;;; ;;; ;;; _fix_me_ ;;; the way i did this there are several issues. ;;; ;;; - detection of the focal adverb configuration is too specific; we fail to ;;; recognize ARG1s of (tensed) predicative phrases, i.e. non-verbs. ;;; - ditching all `_x_deg' EPs at the very end means i risk throwing out the ;;; TL degree specifier. ;;; ;;; i plan to solve both problems by adding a `mark' EP for various focal ;;; adverb configurations first, then process, then ditch `_x_deg' EPs that ;;; carry the mark. (26-sep-06; oe) ;;; --- i believe the above issues are now resolved. (14-oct-06; oe) ;;; focal_mark := monotonic_mtr & [ CONTEXT.RELS < [ PRED quant_rel, LBL #h1 ], [ PRED "~_x_deg_rel", LBL #h1, ARG0 #e2 & e, ARG1 #u3 & u ] >, FILTER.RELS < [ PRED focal_mark, LBL #h1, ARG0 #e2, ARG1 #u3 ] >, OUTPUT.RELS < [ PRED focal_mark, LBL #h1, ARG0 #e2, ARG1 #u3 ] >, FLAGS.EQUAL < #e2, #u3 > ]. focal_name_mark := monotonic_mtr & [ CONTEXT [ RELS < [ PRED quant_rel, LBL #h0, ARG0 #x0, RSTR #h2 & h ], [ PRED focal_mark, LBL #h0, ARG0 #e0, ARG1 #u0 ], [ PRED named_rel, LBL #h1, ARG0 #x1 ] >, HCONS < qeq & [ HARG #h2, LARG #h1 ] > ], FILTER.RELS < [ PRED focal_name_mark, LBL #h0, ARG0 #e0, ARG1 #u0 ] >, OUTPUT.RELS < [ PRED focal_name_mark, LBL #h0, ARG0 #e0, ARG1 #u0 ] >, FLAGS.EQUAL < #h2 > ]. allerede_focal_degree := focal_adverb_degree_specifier_mtr & [ INPUT.RELS < [ PRED "_allerede_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED "_even_x_deg_rel" ] > ]. bare_focal_degree := focal_adverb_degree_specifier_mtr & [ INPUT.RELS < [ PRED "_bare_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED "_only_x_deg_rel" ] > ]. ikke_focal_arg1 := focal_adverb_scopal_arg1_mtr & [ INPUT.RELS < [ PRED "_ikke_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED neg_rel ] > ]. ikke_focal_arg2 := focal_adverb_scopal_arg2_mtr & [ INPUT.RELS < [ PRED "_ikke_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED neg_rel ] > ]. ikke_focal_arg3 := focal_adverb_scopal_arg3_mtr & [ INPUT.RELS < [ PRED "_ikke_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED neg_rel ] > ]. ikke_focal_arg4 := focal_adverb_scopal_arg4_mtr & [ INPUT.RELS < [ PRED "_ikke_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED neg_rel ] > ]. ikke+minst_focal_degree := focal_adverb_degree_specifier_mtr & [ INPUT.RELS < [ PRED "_ikke+minst_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED "_not+least_x_deg_rel" ] > ]. nettopp_focal_degree := focal_adverb_degree_specifier_mtr & [ INPUT.RELS < [ PRED "_nettopp_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED "_just_x_deg_rel" ] > ]. også_focal_arg1 := focal_adverb_scopal_arg1_mtr & [ INPUT.RELS < [ PRED "_også_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED "_too_a_also_rel" ] > ]. også_focal_arg2 := focal_adverb_scopal_arg2_mtr & [ INPUT.RELS < [ PRED "_også_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED "_too_a_also_rel" ] > ]. også_focal_arg3 := focal_adverb_scopal_arg3_mtr & [ INPUT.RELS < [ PRED "_også_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED "_too_a_also_rel" ] > ]. også_focal_arg4 := focal_adverb_scopal_arg4_mtr & [ INPUT.RELS < [ PRED "_også_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED "_too_a_also_rel" ] > ]. spesielt_focal_degree := focal_adverb_degree_specifier_mtr & [ INPUT.RELS < [ PRED "_spesielt_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED "_particularly_x_deg_rel" ] > ]. spesielt_focal_arg1 := focal_adverb_intersective_arg1_mtr & [ INPUT.RELS < [ PRED "_spesielt_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED _in+particular_p_1_rel ] > ]. spesielt_focal_arg2 := focal_adverb_intersective_arg2_mtr & [ INPUT.RELS < [ PRED "_spesielt_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED _in+particular_p_1_rel ] > ]. spesielt_focal_arg3 := focal_adverb_intersective_arg3_mtr & [ INPUT.RELS < [ PRED "_spesielt_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED _in+particular_p_1_rel ] > ]. spesielt_focal_arg4 := focal_adverb_intersective_arg4_mtr & [ INPUT.RELS < [ PRED "_spesielt_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED _in+particular_p_1_rel ] > ]. særlig_focal_degree := focal_adverb_degree_specifier_mtr & [ INPUT.RELS < [ PRED "_særlig_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED "_particularly_x_deg_rel" ] > ]. til+og+med_focal_degree := focal_adverb_degree_specifier_mtr & [ INPUT.RELS < [ PRED "_til+og+med_x_deg_rel" ], ... >, OUTPUT.RELS < [ PRED "_even_x_deg_rel" ] > ]. ;;; ;;; finally, if we have come this far and failed to match a focal adverb, it is ;;; doomed to failure. as a robustness measure, just ditch it, though do that ;;; optionally, so that we also get to see a branch with an error message. ;;; (16-sep-06; oe) focal_ditch_1 := focal_ditch_mtr. focal_ditch_2 := elision_mtr & [ INPUT.RELS < [ PRED focal_mark ] > ]. ;;; ;;; now that we are done with the focal adverbs, process degree specifiers that ;;; go by the same predicate names. ;;; allerede_x := degree_specifier_mtr & [ INPUT.RELS < [ PRED "_allerede_x_deg_rel" ] >, OUTPUT.RELS < [ PRED "_already_a_1_rel" ] > ]. også_x := degree_specifier_mtr & [ INPUT.RELS < [ PRED "_også_x_deg_rel" ] >, OUTPUT.RELS < [ PRED "_further_x_deg_rel" ] > ]. spesielt_x := degree_specifier_mtr & [ INPUT.RELS < [ PRED "_spesielt_x_deg_rel" ] >, OUTPUT.RELS < [ PRED "_especially_x_deg_rel" ] > ]. særlig_x := degree_specifier_mtr & [ INPUT.RELS < [ PRED "_særlig_x_deg_rel" ] >, OUTPUT.RELS < [ PRED "_particularly_x_deg_rel" ] > ].