1
0
forked from GitHub/gf-core

added ParseEng/ParseEngAbs which is the grammar used for parsing PennTreebank

This commit is contained in:
kr.angelov
2011-09-28 07:51:10 +00:00
parent 38df24c3c9
commit 1964660d67
3 changed files with 14603 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
abstract PennTreebank =
Tense,
Cat,
Noun,
Adjective,
Numeral,
Symbol,
Conjunction,
Verb - [SlashV2V, PassV2],
Adverb,
Phrase,
Sentence,
Relative,
Idiom [VP, ProgrVP],
Extra [NP, Quant, VPSlash, VP, GenNP, PassVPSlash],
DictEngAbs ** {
fun CompoundCN : Num -> N -> CN -> CN ;
DashCN : N -> N -> N ;
GerundN : V -> N ;
GerundAP : V -> AP ;
PastPartAP : V2 -> AP ;
myself_NP : NP ;
yourselfSg_NP : NP ;
himself_NP : NP ;
herself_NP : NP ;
itself_NP : NP ;
ourself_NP : NP ;
yourselfPl_NP : NP ;
themself_NP : NP ;
OrdCompar : A -> Ord ;
PositAdVAdj : A -> AdV ;
UseQuantPN : Quant -> PN -> NP;
SlashV2V : V2V -> Pol -> VP -> VPSlash ;
ComplPredVP : NP -> VP -> Cl ;
that_RP, no_RP : RP ;
CompS : S -> Comp ;
CompVP : VP -> Comp ;
}