-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
128 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
transfer := yes. | ||
|
||
grammar-top := "top.tdl". | ||
|
||
input-vpm := "../in.vpm". | ||
output-vpm := "../out.vpm". | ||
|
||
top-type := top. | ||
semarg-type := u. | ||
list-type := list. | ||
cons-type := cons. | ||
null-type := null. | ||
diff-list-type := diff-list. | ||
|
||
mrs-rels-list := RELS. | ||
mrs-hcons-list := HCONS. | ||
|
||
invent-ltop := no. | ||
hook-path := . | ||
|
||
enable-icons := yes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
:begin :type. | ||
:include "../../mrs.tdl". | ||
:include "../../mtr.tdl". | ||
:include "../../predicates.tdl". | ||
:include "../../predicates.erg.tdl". | ||
:include "../types.tdl". | ||
:end :type. | ||
|
||
:begin :instance :status rule. | ||
:include "../test.mtr". | ||
:end :instance. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
E.ASPECT : ASPECT | ||
* >> * | ||
|
||
PNG.PERNUM : PERS NUM | ||
sg >> ! sg | ||
pl >> ! pl | ||
1st >> 1 ! | ||
2nd >> 2 ! | ||
3rd >> 3 ! | ||
1sg >> 1 sg | ||
2sg >> 2 sg | ||
3sg >> 3 sg | ||
1pl >> 1 pl | ||
2pl >> 2 pl | ||
3pl >> 3 pl | ||
|
||
PNG.GENDER : GEND | ||
* >> * | ||
|
||
PNG.ANIMACY : ANIMACY | ||
* >> * | ||
|
||
SPECI : SPECI | ||
* >> * | ||
|
||
COG-ST : COG-ST | ||
* >> * | ||
|
||
SF : SF | ||
* >> * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
ASPECT : E.ASPECT | ||
* >> * | ||
|
||
PERS NUM : PNG.PERNUM | ||
! sg >> sg | ||
! pl >> pl | ||
1 ! >> 1st | ||
2 ! >> 2nd | ||
3 ! >> 3rd | ||
sg 1 >> 1sg | ||
2 sg >> 2sg | ||
3 sg >> 3sg | ||
1 pl >> 1pl | ||
2 pl >> 2pl | ||
3 pl >> 3pl | ||
* * >> pernum | ||
|
||
GEND : PNG.GENDER | ||
* >> * | ||
|
||
ANIMACY : PNG.ANIMACY | ||
* >> * | ||
|
||
SPECI : SPECI | ||
* >> * | ||
|
||
COG-ST : COG-ST | ||
* >> * | ||
|
||
SF : SF | ||
* >> * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
intensifier_rule_1 := monotonic_mtr & | ||
[ INPUT.RELS < [ PRED "redup_x_rel" ] >, | ||
OUTPUT.RELS < +copy+ & [ PRED intensifier_x_rel ] > ]. | ||
|
||
intensifier_rule_2 := monotonic_mtr & | ||
[ INPUT.RELS < [ PRED "_hen_x_rel" ] >, | ||
OUTPUT.RELS < +copy+ & [ PRED intensifier_x_rel ] > ]. | ||
|
||
intensifier_rule_3 := monotonic_mtr & | ||
[ INPUT.RELS < [ PRED "_feichang_x_rel" ] >, | ||
OUTPUT.RELS < +copy+ & [ PRED intensifier_x_rel ] > ]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
semsort := u. | ||
tense := top. | ||
present := tense. | ||
prop-or-ques := sforce. | ||
|
||
animacy := top. | ||
human := animacy. | ||
non-human := animacy. | ||
animate := non-human. | ||
inanimate := non-human. | ||
|
||
i :+ [ SORT semsort, SF sforce ]. | ||
x :+ [ GENDER gender, ANIMACY animacy, SPECI bool, COG-ST cog-st ]. | ||
|