Skip to content

Commit

Permalink
multiple fixes
Browse files Browse the repository at this point in the history
1. core profiles was created
2. fixes on adj-lex for blocking a WH reading
3. fixes on lexical entries
4. comment on missing inflection rule
  • Loading branch information
arademaker committed Feb 2, 2023
1 parent 4b7ba63 commit 9eb7dfe
Show file tree
Hide file tree
Showing 26 changed files with 17,698 additions and 5 deletions.
4 changes: 0 additions & 4 deletions lexicon/my-determiners.tdl
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ quantas := qu-fpl-det-lex &
[ STEM < "quantas" >,
SYNSEM.LKEYS.KEYREL.PRED "_quanto_q_rel" ].

quais := qu-pl-det-lex &
[ STEM < "qual" >,
SYNSEM.LKEYS.KEYREL.PRED "_qual_q_rel" ].

dois := 3mpl-det-lex &
[ STEM < "dois" >,
SYNSEM.LKEYS.KEYREL.PRED "_dois_q_rel" ].
Expand Down
4 changes: 4 additions & 0 deletions my-irregs.tab
Original file line number Diff line number Diff line change
Expand Up @@ -571,4 +571,8 @@ caiais PRES-SUBJ-2PL-SUFFIX cair
caias PRES-SUBJ-2SG-SUFFIX cair
caiam PRES-SUBJ-3PL-SUFFIX cair
caia PRES-SUBJ-3SG-SUFFIX cair
atraído PAST-PART-SUFFIX atrair
atraíam IMPF-IND-3PL-SUFFIX atrair
atraía IMPF-IND-1SG-SUFFIX atrair
atraías IMPF-IND-2SG-SUFFIX atrair
"
2 changes: 1 addition & 1 deletion my-irules.tdl
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ pres-part-suffix :=
pres-part-lex-rule.

past-part-suffix :=
; (partir partido) (puir puído) (seguir seguido) (vender vendido) (doar doado)
; (partir partido) (puir puído) (seguir seguido) (vender vendido) (doar doado) // missing: (atrair atraído)
%suffix (!lir !lido) (!kuir !kuído) (!quir !quido) (er ido) (ar ado)
past-part-lex-rule.

Expand Down
12 changes: 12 additions & 0 deletions my-portuguese.tdl
Original file line number Diff line number Diff line change
Expand Up @@ -901,3 +901,15 @@ a-que-cl-verb-lex := subj-cl-verb-lex & clausal-nom-verb-lex & clausal-second-ar
CONT.HOOK.INDEX.SF prop ] ] >,
NON-LOCAL.QUE.LIST < > ] ].



; correcting a missing constraint from matrix. For 'cachorro amarelo'
; we don't want wh question reading.

; head-adj-phrase :+
; [ SYNSEM.NON-LOCAL.QUE.LIST #que,
; NH-DTR.SYNSEM.NON-LOCAL.QUE.LIST #que ].

basic-adjective-lex :+
[ SYNSEM.NON-LOCAL.QUE.LIST < > ].

520 changes: 520 additions & 0 deletions tsdb/skeletons/core/item

Large diffs are not rendered by default.

251 changes: 251 additions & 0 deletions tsdb/skeletons/core/relations
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
item:
i-id :integer :key
i-origin :string
i-register :string
i-format :string
i-difficulty :integer
i-category :string
i-input :string
i-tokens :string
i-gloss :string
i-translation :string
i-wf :integer
i-length :integer
i-comment :string
i-author :string
i-date :date

analysis:
i-id :integer :key
a-position :string
a-instance :string
a-category :string
a-function :string
a-domain :string
a-tag :string
a-comment :string

phenomenon:
p-id :integer :key
p-name :string
p-supertypes :string
p-presupposition :string
p-interaction :string
p-purpose :string
p-restrictions :string
p-comment :string
p-author :string
p-date :date

parameter:
ip-id :integer :key
position :string
attribute :string
value :string
instance :string
pa-comment :string

set:
s-id :integer :key
p-id :integer :key :partial
s-author :string
s-date :date

item-phenomenon:
ip-id :integer :key
i-id :integer :key
p-id :integer :key
ip-author :string
ip-date :date

item-set:
i-id :integer :key :partial
s-id :integer :key
polarity :integer

run:
run-id :integer :key # unique test run identifier
run-comment :string # descriptive narrative
platform :string # implementation platform (version)
protocol :integer # [incr tsdb()] protocol version
tsdb :string # tsdb(1) (version) used
application :string # application (version) used
environment :string # application-specific information
grammar :string # grammar (version) used
avms :integer # number of avm types in image
sorts :integer # number of sort types in image
templates :integer # number of templates in image
lexicon :integer # number of lexical entries
lrules :integer # number of lexical rules
rules :integer # number of (non-lexical) rules
user :string # user who did the test run
host :string # machine used for this run
os :string # operating system (version)
start :date # start time of this test run
end :date # end time for this test run
items :integer # number of test items in this run
status :string # exit status (PVM only)

parse:
parse-id :integer :key # unique parse identifier
run-id :integer :key # test run for this parse
i-id :integer :key # item parsed
ninputs :integer # number of initial tokens
p-input :string # initial (pre-processed) parser input
ntokens :integer # number of internal tokens
p-tokens :string # internal parser input: lexical lookup
readings :integer # number of readings obtained
first :integer # time to find first reading (msec)
total :integer # total time for parsing (msec)
tcpu :integer # total (cpu) processing time (msec)
tgc :integer # gc time used (msec)
treal :integer # overall real time (msec)
words :integer # lexical entries retrieved
l-stasks :integer # successful lexical rule applications
p-ctasks :integer # parser contemplated tasks (LKB)
p-ftasks :integer # parser filtered tasks
p-etasks :integer # parser executed tasks
p-stasks :integer # parser succeeding tasks
aedges :integer # active items in chart
pedges :integer # passive items in chart
raedges :integer # active items contributing to result
rpedges :integer # passive items contributing to result
tedges :integer # type-0 entries in (visible) forest
eedges :integer # type-1 entries in (visible) forest
ledges :integer # type-2 entries in (visible) forest
sedges :integer # type-3 entries in (visible) forest
redges :integer # type-4 entries in (visible) forest
unifications :integer # number of (top-level) unifications
copies :integer # number of (top-level) copy operations
conses :integer # cons() cells allocated
symbols :integer # symbols allocated
others :integer # bytes of memory allocated
gcs :integer # number of garbage collections
i-load :integer # initial load (start of parse)
a-load :integer # average load
date :date # date and time of parse
error :string # error string (if applicable |:-)
comment :string # application-specific comment

result:
parse-id :integer :key # parse for this result
result-id :integer # unique result identifier
time :integer # time to find this result (msec)
r-ctasks :integer # parser contemplated tasks
r-ftasks :integer # parser filtered tasks
r-etasks :integer # parser executed tasks
r-stasks :integer # parser succeeding tasks
size :integer # size of feature structure
r-aedges :integer # active items for this result
r-pedges :integer # passive items in this result
derivation :string # derivation tree for this reading
surface :string # surface string (e.g. realization)
tree :string # phrase structure tree (CSLI labels)
mrs :string # mrs for this reading
flags :string # arbitrary annotation (e.g. BLEU)

rule:
parse-id :integer :key # parse for this rule summary
rule :string # rule name
filtered :integer # rule postulations filtered
executed :integer # rule postulations executed
successes :integer # successful rule postulations
actives :integer # active edges built from this rule
passives :integer # passive edges built from this rule

output:
i-id :integer :key # item for this output specification
o-application :string # applicable application(s)
o-grammar :string # applicable grammar(s)
o-ignore :string # ignore this item flag
o-wf :integer # application-specific grammaticality
o-gc :integer # maximal number of garbage collections
o-derivation :string # expected derivation
o-surface :string # expected surface string
o-tree :string # expected phrase structure tree
o-mrs :string # expected mrs
o-edges :integer # maximal number of edges to build
o-user :string # author of this output specification
o-date :date # creation date

edge:
e-id :integer :key # unique edge identifier
parse-id :integer :key # parse for this edge
e-label :string # edge label (as in ‘derivation’)
e-type :integer # item type for edge (0 -- 4)
e-status :integer # bit-coded item flags
e-start :integer # start vertex for this edge
e-end :integer # end vertex for this edge
e-score :string # platform-specific figure of merit
e-daughters :string # space-separated list of daughters
e-parents :string # space-separated list of parents
e-alternates :string # alternates packed into this edge

tree:
parse-id :integer :key
t-version :integer
t-active :integer :key
t-confidence :integer
t-author :string
t-start :date
t-end :date
t-comment :string

decision:
parse-id :integer :key
t-version :integer
d-state :integer
d-type :integer
d-key :string
d-value :string
d-start :integer
d-end :integer
d-date :date

preference:
parse-id :integer :key
t-version :integer
result-id :integer

update:
parse-id :integer :key
t-version :integer
u-matches :integer
u-mismatches :integer
u-new :integer
u-gin :integer
u-gout :integer
u-pin :integer
u-pout :integer
u-in :integer
u-out :integer

fold:
f-id :integer :key
f-train :integer
f-trains :string
f-test :integer
f-tests :string
f-events :integer
f-features :integer
f-environment :string
f-iterations :integer
f-etime :integer
f-estimation :string
f-accuracy :string
f-extras :string
f-user :string
f-host :string
f-start :date
f-end :date
f-comment :string

score:
parse-id :integer :key
result-id :integer
score-start :integer
score-end :integer
score-id :integer
learner :string
rank :integer
score :string
Empty file added tsdb/working/core/analysis
Empty file.
25 changes: 25 additions & 0 deletions tsdb/working/core/decision
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
13@-1@1@7@zero-refl-mark-lex\spres-ind-3sg-suffix\sque-subj-cl-verb-lex@@2@3@23-6-2013 14:28:24
14@-1@1@7@zero-refl-mark-lex\spres-ind-3sg-suffix\sind-cl-verb-lex@@2@3@23-6-2013 14:28:24
23@-1@1@7@refl-mark-3-suffix\sperf-ind-3pl-suffix\srefl-int-verb-lex@@1@2@23-6-2013 14:28:24
24@-1@1@7@zero-refl-mark-lex\sperf-ind-3pl-suffix\snonrefl-int-verb-lex@@2@3@23-6-2013 14:28:24
25@-1@1@7@refl-mark-3-suffix\sperf-ind-3pl-suffix\srefl-int-verb-lex@@2@3@23-6-2013 14:28:24
26@-1@1@7@q-particle1-lex@@0@2@23-6-2013 14:28:24
29@-1@1@7@ex-subj\szero-refl-mark-lex\sperf-ind-3pl-suffix\snonrefl-int-verb-lex@@2@3@23-6-2013 14:28:24
34@-1@1@7@subj-head@@0@4@23-6-2013 14:28:24
35@-1@1@7@subj-head@@0@4@23-6-2013 14:28:24
36@-1@1@7@subj-head@@0@4@23-6-2013 14:28:24
37@-1@1@7@subj-head@@0@4@23-6-2013 14:28:24
38@-1@1@7@subj-head@@0@4@23-6-2013 14:28:24
39@-1@1@7@subj-head@@0@4@23-6-2013 14:28:24
40@-1@1@7@subj-head@@0@4@23-6-2013 14:28:24
40@-1@1@7@zero-refl-mark-lex\sperf-ind-3pl-suffix\snonrefl-int-verb-lex@@3@4@23-6-2013 14:28:24
41@-1@1@7@subj-head@@0@4@23-6-2013 14:28:24
41@-1@1@7@zero-refl-mark-lex\sperf-ind-3pl-suffix\snonrefl-int-verb-lex@@3@4@23-6-2013 14:28:24
42@-1@1@7@subj-head@@0@4@23-6-2013 14:28:24
42@-1@1@7@zero-refl-mark-lex\sperf-ind-3pl-suffix\snonrefl-int-verb-lex@@3@4@23-6-2013 14:28:24
43@-1@1@7@subj-head@@0@4@23-6-2013 14:28:24
43@-1@1@7@zero-refl-mark-lex\sperf-ind-3pl-suffix\snonrefl-int-verb-lex@@3@4@23-6-2013 14:28:24
44@-1@1@7@subj-head@@0@4@23-6-2013 14:28:24
44@-1@1@7@zero-refl-mark-lex\sperf-ind-3pl-suffix\snonrefl-int-verb-lex@@3@4@23-6-2013 14:28:24
45@-1@1@7@subj-head@@0@4@23-6-2013 14:28:24
45@-1@1@7@zero-refl-mark-lex\sperf-ind-3pl-suffix\snonrefl-int-verb-lex@@3@4@23-6-2013 14:28:24
Loading

0 comments on commit 9eb7dfe

Please sign in to comment.