-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathroots.tdl
77 lines (52 loc) · 2.01 KB
/
roots.tdl
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
;;; -*- Mode: TDL; Coding: utf-8 -*-
; (ERB 2001-10-03) Root type for NP fragments.
; AO (2003-09-04)
; np-frag-end-root is needed agai, but actually it does not used.
; See global.lsp.
; AO (2003-08-29) BEGIN
; np-frag-root -> np-frag-end-root
; Comment will be added.
;np-frag-root := np-frag-rule-type.
;; not used by lkb
;np-frag-end-root := np-frag-end-rule-type.
; See rule-types.tdl and japgram.tdl
; AO (2003-08-29) END
; (ERB 2001-12-10) Try letting a few things attach to
; utterances (principally, interjections, greetings, other
; discourse particles).
;utterance-root := sign &
;[ SYNSEM.LOCAL.CAT.HEAD utterance_head ].
; (MS 2002-1-7) This would be the version for a 'cleaner' grammar that is not robust, but accurate.
;utterance-root := j-sign &
;[ SYNSEM [LOCAL.CAT.HEAD utterance_head,
; NON-LOCAL.ROBUST -] ].
; (MS 2004-03-24) This is the version with underspecification of ARG binding,
; for example in relative sentences or topics
;utterance-root := j-sign &
;[ SYNSEM [LOCAL.CAT.HEAD utterance_head,
; NON-LOCAL [ROBUST -,
; UNDERSPEC_ARG +] ]].
;utterance-root := j-sign &
;[ SYNSEM [LOCAL.CAT.HEAD utterance_head,
; NON-LOCAL [UNDERSPEC_ARG +] ]].
; (MS-2004-03-24) This is the version, which tries to bind ARGs in
; situations, where the binding is not clear, gives multiple analyses and
; lets further processing decide.
; (FCB 2005-09-25) changed utterance_head to utterance-super to allow fragments
utterance-root := sign &
[ SYNSEM [LOCAL.CAT.HEAD utterance-super,
NON-LOCAL [ROBUST +,
UNDERSPEC_ARG -] ]].
; (MS 2002-12-04) fragment rule type for number fragments
number-frag-root := number-frag-rule-type.
;;;
;;; Idiom Implementation (060804)
;;;
; Used to determine on which candidate root edges to not apply the idiom checks
; (for efficiency)
root_non_idiom := sign &
[ IDIOM - ].
; SSH 2015-06-30 This root type should be used for only robust parsig.
; This cannot be used for generation.
root-bridge := phrase &
[ SYNSEM.LOCAL.CAT.HEAD bridge-head & [ BRIDGED + ] ].