forked from GitHub/gf-core
checked words for wsj-100 experiments
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
--# -path=.:alltenses:prelude
|
--# -path=.:alltenses:prelude
|
||||||
|
|
||||||
resource TryFin = SyntaxFin, LexiconFin-[mkOrd], ParadigmsFin - [mkAdv] ;
|
resource TryFin = SyntaxFin, LexiconFin-[mkOrd], ParadigmsFin - [mkAdv,mkAdN,mkDet,mkQuant,mkPConj] ;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@ import qualified Data.Set as S
|
|||||||
-- comment out words that are predefined in another lexicon
|
-- comment out words that are predefined in another lexicon
|
||||||
-- runghc ElimPredef.hs <DictEngFin.gf
|
-- runghc ElimPredef.hs <DictEngFin.gf
|
||||||
removeFile = "todo.txt"
|
removeFile = "todo.txt"
|
||||||
removeMsg = "LLLL"
|
removeMsg = "WWWW"
|
||||||
|
|
||||||
-- also used for temporarily eliminating whatever from compilation
|
-- also used for temporarily eliminating whatever from compilation
|
||||||
--removeFile = "commentOut"
|
--removeFile = "commentOut"
|
||||||
|
|||||||
@@ -129,8 +129,12 @@ oper
|
|||||||
|
|
||||||
-- Nouns where the parts are separate (should perhaps be treated as CN)
|
-- Nouns where the parts are separate (should perhaps be treated as CN)
|
||||||
|
|
||||||
separateN : Str -> N -> N
|
separateN = overload {
|
||||||
= \s,n -> mkN (s + "_") n ;
|
separateN : Str -> N -> N
|
||||||
|
= \s,n -> mkN (s + "_") n ;
|
||||||
|
separateN : N -> N -> N
|
||||||
|
= \oma, asunto -> lin N {s = \\c => oma.s ! c + "_" + asunto.s ! c ; h = asunto.h} ;
|
||||||
|
} ;
|
||||||
|
|
||||||
-- Nouns used as functions need a case, of which the default is
|
-- Nouns used as functions need a case, of which the default is
|
||||||
-- the genitive.
|
-- the genitive.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
concrete SymbolFin of Symbol = CatFin ** open Prelude, NounFin, ResFin, MorphoFin, StemFin in {
|
concrete SymbolFin of Symbol = CatFin ** open Prelude, NounFin, ResFin, MorphoFin, StemFin in {
|
||||||
|
|
||||||
lin
|
lin
|
||||||
SymbPN i = {s = \\c => i.s ++ bindIfS c ++ defaultStemEnding c ; h = Back} ; --- c
|
SymbPN i = {s = \\c => i.s ++ bindColonIfS c ++ defaultStemEnding c ; h = Back} ; --- c
|
||||||
IntPN i = {s = \\c => i.s ++ bindColonIfS c ++ defaultStemEnding c ; h = Back} ; --- c
|
IntPN i = {s = \\c => i.s ++ bindColonIfS c ++ defaultStemEnding c ; h = Back} ; --- c
|
||||||
FloatPN i = {s = \\c => i.s ++ bindColonIfS c ++ defaultStemEnding c ; h = Back} ; --- c
|
FloatPN i = {s = \\c => i.s ++ bindColonIfS c ++ defaultStemEnding c ; h = Back} ; --- c
|
||||||
NumPN i = {s = \\c => i.s!Sg!Nom ; h = Back} ; --- c
|
NumPN i = {s = \\c => i.s!Sg!Nom ; h = Back} ; --- c
|
||||||
|
|||||||
Reference in New Issue
Block a user