Skip to content

Commit 3ce9220

Browse files
authored
Add files via upload
Adding remaining files
1 parent af71866 commit 3ce9220

File tree

6 files changed

+95954
-0
lines changed

6 files changed

+95954
-0
lines changed

srg.lisp

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
(in-package :tsdb)
2+
3+
(setf *feature-grandparenting* 2)
4+
5+
(setf *feature-use-preterminal-types-p* t)
6+
7+
(setf *feature-lexicalization-p* nil)
8+
9+
(setf *feature-constituent-weight* 0)
10+
11+
(setf *feature-active-edges-p* nil)
12+
13+
(setf *feature-ngram-size* 0)
14+
15+
(setf *feature-ngram-tag* :type)
16+
17+
(setf *feature-ngram-back-off-p* t)
18+
19+
(setf *feature-item-enhancers* nil)
20+
21+
(setf *feature-lm-p* nil)
22+
23+
(setf *feature-preference-weightings* '((0 :binary)))
24+
25+
(setf *feature-random-sample-size* nil)
26+
27+
(setf %redwoods-items-increment% #-:64bit 100 #+:64bit 200)
28+
29+
(setf %redwoods-items-percentile% 20)

srg.tdl

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
;;; -*- Mode: tdl; Coding: utf-8; -*-
2+
;;;
3+
4+
:begin :type.
5+
6+
;;
7+
;; the type hierarchy
8+
;;
9+
:include "fundamentals".
10+
:include "hdtypes.tdl".
11+
:include "letypes.tdl".
12+
:include "irtypes.tdl".
13+
:include "lrtypes.tdl".
14+
:include "srtypes.tdl".
15+
; :include "cmt.tdl".
16+
:end :type.
17+
18+
;;
19+
;; token mapping: manipulate the token lattice prior to lexical look-up
20+
;; NOT USED
21+
;; :begin :instance :status token-mapping-rule.
22+
;; :include "tmr.tdl".
23+
;; :end :instance.
24+
25+
;;
26+
;; lexical filtering: reduce the chart after lexical instantiation and the
27+
;; application of lexical rules, right before we turn loose syntactic rules.
28+
;;
29+
30+
;;:begin :instance :status lexical-filtering-rule.
31+
;;:include "lfr.tdl".
32+
;;:end :instance.
33+
34+
35+
;;
36+
;; lexicon entries (instances of status lex-entry or generic-lex-entry)
37+
;;
38+
39+
:begin :instance :status lex-entry.
40+
:include "lexicon".
41+
:end :instance.
42+
43+
;:begin :instance :status generic-lex-entry.
44+
;:include "generics".
45+
;:end :instance.
46+
47+
;;
48+
;; grammar rules and lexical rules (instances of status rule)
49+
;;
50+
51+
52+
:begin :instance :status rule.
53+
:include "srules".
54+
:end :instance.
55+
56+
:begin :instance :status lex-rule.
57+
:include "lrules".
58+
:include "inflr".
59+
; :include "inflrl".
60+
:end :instance.
61+
62+
;;
63+
;; parse-tree labels (instances)
64+
;;
65+
66+
:begin :instance.
67+
:include "labels".
68+
:end :instance.
69+
70+
;;
71+
;; start symbols of the grammar (instances)
72+
;;
73+
74+
:begin :instance.
75+
:include "roots".
76+
:end :instance.

0 commit comments

Comments
 (0)