mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 08:58:55 -06:00
(morphodict) Remove more+most from args to mkA
This commit is contained in:
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 ;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
9
src/morphodict/utils/fixAMost.sh
Executable file
9
src/morphodict/utils/fixAMost.sh
Executable file
@@ -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