forked from delph-in/zhong
-
Notifications
You must be signed in to change notification settings - Fork 0
/
roots.tdl
22 lines (18 loc) · 846 Bytes
/
roots.tdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
;;; -*- Mode: TDL; Coding: utf-8 -*-
; A sample start symbol: Accept fully-saturated verbal
; projections only; if a grammar makes use of the head-subject and
; head-complement types as provided by the Matrix, this should be a
; good starting point. Note that it is legal to have multiple start
; symbols, but they all need to be listed as the value of
; `*start-symbol' (see `lkb/user-fns.lsp').
root := phrase &
[ SYNSEM[LOCAL [ COORD -,
CAT [ VAL [ SUBJ < >,
COMPS < > ],
MC +,
HEAD +vjpc &
[ FORM finite ] ] ],
NON-LOCAL.SLASH 0-dlist]].
; This start symbol allows you to parse single words as stand-alone
; utterances. This can be useful for grammar debugging purposes.
lex-root := word-or-lexrule.