mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-09-18 16:26:01 -06:00
(morphodict) Remove more+most from args to mkA
This commit is contained in:
+56590
-56589
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,4 @@
|
|||||||
|
--# -path=.:alltenses
|
||||||
concrete MorphoDictEng of MorphoDictEngAbs =
|
concrete MorphoDictEng of MorphoDictEngAbs =
|
||||||
CatEng [N,A,V,Adv,Prep] **
|
CatEng [N,A,V,Adv,Prep] **
|
||||||
open
|
open
|
||||||
@@ -5,3 +6,6 @@ concrete MorphoDictEng of MorphoDictEngAbs =
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
|
oper mkAMost : Str -> Str -> A = \ajar,ly -> mkA ajar ("more" ++ ajar) ("most" ++ ajar) ly ;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+56570
-56571
File diff suppressed because it is too large
Load Diff
Executable
+9
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cp MorphoDictEng.gf{,.bak}
|
||||||
|
sed -E 's/mkA "(.*)" "DUMMY" "DUMMY" "(.*)"/mkAMost "\1" "\2"/g' < MorphoDictEng.gf.bak > MorphoDictEng.gf
|
||||||
|
|
||||||
|
# If you need to recreate the morphodict, do this.
|
||||||
|
# ResEng.gf line 162 and ParadigmsEng.gf line 514, fill the inflection table with the word DUMMY instead of nonExist.
|
||||||
|
# Then recompile RGL and MorphoDictEng.
|
||||||
|
# Then run MkMorphodict, and it will output a file with "DUMMY" in it.
|
||||||
Reference in New Issue
Block a user