forked from GitHub/gf-rgl
(zul) changes to improve coverage (VulaBula)
This commit is contained in:
@@ -6,6 +6,7 @@ abstract NguniChunk =
|
||||
ExtraExt,
|
||||
NounExt,
|
||||
VerbExt,
|
||||
PhraseExt,
|
||||
-- MonoLexAbs,
|
||||
PChunk,
|
||||
Symbol - [Symb]
|
||||
|
||||
@@ -6,6 +6,7 @@ concrete NguniChunkZul of NguniChunk =
|
||||
ExtraExtZul,
|
||||
NounExtZul,
|
||||
VerbExtZul,
|
||||
PhraseExtZul,
|
||||
-- MonoLexZul,
|
||||
PChunkZul,
|
||||
SymbolZul - [Symb]
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
-- All functions are explicitly inherited, in order to allow useful probabilities
|
||||
|
||||
abstract NguniGrammar =
|
||||
Noun [DetCN, UsePron, DetQuant, NumSg, NumPl, UseN, AdjCN, RelCN, PossNP,UsePN, RelNP, PredetNP], -- MassNP,AdvCN, AdvNP,
|
||||
Noun [DetCN, UsePron, DetQuant, NumSg, NumPl, UseN, AdjCN, RelCN, PossNP,UsePN, RelNP, PredetNP,AdvNP], -- MassNP,AdvCN, AdvNP,
|
||||
Verb [UseV, ComplVS, ComplVA, SlashV2a, UseComp, AdvVP, CompAP, CompNP, CompAdv, ComplSlash],
|
||||
Adjective [PositA, AdAP],
|
||||
Adverb [PositAdvAdj, SubjS],
|
||||
-- Numeral,
|
||||
Sentence [PredVP, ImpVP, UseCl, UseQCl, UseRCl],
|
||||
Sentence [PredVP, ImpVP, UseCl, UseQCl, UseRCl,AdvS],
|
||||
Question [QuestCl, QuestIAdv, QuestIComp],
|
||||
Relative [RelVP, IdRP],
|
||||
-- Conjunction,
|
||||
Phrase [PhrUtt, UttS, UttQS, UttImpSg, NoPConj, NoVoc],
|
||||
Phrase [PhrUtt, UttS, UttQS, UttImpSg, NoPConj, NoVoc, VocNP],
|
||||
Text - [Temp,Adv,IAdv],
|
||||
Structural [and_Conj,how_IAdv,how8much_IAdv,i_Pron,youSg_Pron,he_Pron,she_Pron,we_Pron,youPl_Pron,they_Pron,this_Quant,that_Quant,all_Predet,only_Predet,very_AdA],
|
||||
-- Idiom,
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
-- All functions are explicitly inherited, in order to allow useful probabilities
|
||||
|
||||
concrete NguniGrammarZul of NguniGrammar =
|
||||
NounZul [DetCN, UsePron, DetQuant, NumSg, NumPl, UseN, AdjCN, RelCN, PossNP,UsePN, RelNP, PredetNP], -- MassNP, AdvCN,AdvNP,
|
||||
NounZul [DetCN, UsePron, DetQuant, NumSg, NumPl, UseN, AdjCN, RelCN, PossNP,UsePN, RelNP, PredetNP,AdvNP], -- MassNP, AdvCN,AdvNP,
|
||||
VerbZul [UseV, ComplVS, ComplVA, SlashV2a, UseComp, AdvVP, CompAP, CompNP, CompAdv, ComplSlash],
|
||||
AdjectiveZul [PositA, AdAP],
|
||||
AdverbZul [PositAdvAdj, SubjS],
|
||||
-- Numeral,
|
||||
SentenceZul [PredVP, ImpVP, UseCl, UseQCl, UseRCl],
|
||||
SentenceZul [PredVP, ImpVP, UseCl, UseQCl, UseRCl,AdvS],
|
||||
QuestionZul [QuestCl, QuestIAdv, QuestIComp],
|
||||
RelativeZul [RelVP, IdRP],
|
||||
-- ConjunctionZul,
|
||||
PhraseZul [PhrUtt, UttS, UttQS, UttImpSg, NoPConj, NoVoc],
|
||||
PhraseZul [PhrUtt, UttS, UttQS, UttImpSg, NoPConj, NoVoc, VocNP],
|
||||
TextX - [Temp,Adv,IAdv],
|
||||
StructuralZul [and_Conj,how_IAdv,how8much_IAdv,i_Pron,youSg_Pron,he_Pron,she_Pron,we_Pron,youPl_Pron,they_Pron,this_Quant,that_Quant,all_Predet,only_Predet,very_AdA],
|
||||
-- Idiom,
|
||||
|
||||
@@ -5,7 +5,8 @@ abstract NguniLang =
|
||||
Backward[ComplV2,ComplV3],
|
||||
ExtraExt,
|
||||
NounExt,
|
||||
VerbExt
|
||||
VerbExt,
|
||||
PhraseExt
|
||||
-- MonoLexAbs,
|
||||
-- Chunk
|
||||
-- Symbol - [Symb],
|
||||
|
||||
@@ -5,7 +5,8 @@ concrete NguniLangZul of NguniLang =
|
||||
BackwardZul[ComplV2,ComplV3],
|
||||
ExtraExtZul,
|
||||
NounExtZul,
|
||||
VerbExtZul
|
||||
VerbExtZul,
|
||||
PhraseExtZul
|
||||
-- MonoLexZul,
|
||||
-- ChunkZul,
|
||||
-- SymbolZul - [Symb],
|
||||
|
||||
Reference in New Issue
Block a user