mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
enabled many more functions, in particular verb patterns, in App, to increase translation quality. This comes with 30% longer translation time with my benchmark but should still be OK.
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
abstract App =
|
abstract App =
|
||||||
Translate - [
|
Translate - [
|
||||||
-- Verb
|
-- Verb
|
||||||
ComplVS, ComplVQ, ComplVA,
|
SlashV2V,
|
||||||
Slash2V3, Slash3V3, SlashV2V, SlashV2S, SlashV2Q, SlashV2A,
|
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
|
||||||
SlashVV, SlashV2VNP,
|
SlashVV, SlashV2VNP,
|
||||||
PassVP, ReflVP,
|
|
||||||
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
||||||
-- Sentence
|
-- Sentence
|
||||||
PredSCVP,
|
PredSCVP,
|
||||||
@@ -14,11 +13,7 @@ abstract App =
|
|||||||
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
||||||
-- Idiom
|
-- Idiom
|
||||||
CleftNP, CleftAdv,
|
CleftNP, CleftAdv,
|
||||||
ExistIP,
|
ImpP3
|
||||||
ExistNPAdv, ExistIPAdv,
|
|
||||||
ImpP3,
|
|
||||||
SelfAdvVP, SelfAdVVP, SelfNP
|
|
||||||
|
|
||||||
-- Construction
|
-- Construction
|
||||||
-- Extensions
|
-- Extensions
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,10 +4,9 @@ concrete AppBul of App =
|
|||||||
|
|
||||||
TranslateBul - [
|
TranslateBul - [
|
||||||
-- Verb
|
-- Verb
|
||||||
ComplVS, ComplVQ, ComplVA,
|
SlashV2V,
|
||||||
Slash2V3, Slash3V3, SlashV2V, SlashV2S, SlashV2Q, SlashV2A,
|
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
|
||||||
SlashVV, SlashV2VNP,
|
SlashVV, SlashV2VNP,
|
||||||
PassVP, ReflVP,
|
|
||||||
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
||||||
-- Sentence
|
-- Sentence
|
||||||
PredSCVP,
|
PredSCVP,
|
||||||
@@ -17,11 +16,7 @@ concrete AppBul of App =
|
|||||||
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
||||||
-- Idiom
|
-- Idiom
|
||||||
CleftNP, CleftAdv,
|
CleftNP, CleftAdv,
|
||||||
ExistIP,
|
ImpP3
|
||||||
ExistNPAdv, ExistIPAdv,
|
|
||||||
ImpP3,
|
|
||||||
SelfAdvVP, SelfAdVVP, SelfNP
|
|
||||||
|
|
||||||
-- Construction
|
-- Construction
|
||||||
-- Extensions
|
-- Extensions
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,10 +4,9 @@ concrete AppChi of App =
|
|||||||
|
|
||||||
TranslateChi - [
|
TranslateChi - [
|
||||||
-- Verb
|
-- Verb
|
||||||
ComplVS, ComplVQ, ComplVA,
|
SlashV2V,
|
||||||
Slash2V3, Slash3V3, SlashV2V, SlashV2S, SlashV2Q, SlashV2A,
|
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
|
||||||
SlashVV, SlashV2VNP,
|
SlashVV, SlashV2VNP,
|
||||||
PassVP, ReflVP,
|
|
||||||
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
||||||
-- Sentence
|
-- Sentence
|
||||||
PredSCVP,
|
PredSCVP,
|
||||||
@@ -17,11 +16,7 @@ concrete AppChi of App =
|
|||||||
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
||||||
-- Idiom
|
-- Idiom
|
||||||
CleftNP, CleftAdv,
|
CleftNP, CleftAdv,
|
||||||
ExistIP,
|
ImpP3
|
||||||
ExistNPAdv, ExistIPAdv,
|
|
||||||
ImpP3,
|
|
||||||
SelfAdvVP, SelfAdVVP, SelfNP
|
|
||||||
|
|
||||||
-- Construction
|
-- Construction
|
||||||
-- Extensions
|
-- Extensions
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,10 +4,9 @@ concrete AppDut of App =
|
|||||||
|
|
||||||
TranslateDut - [
|
TranslateDut - [
|
||||||
-- Verb
|
-- Verb
|
||||||
ComplVS, ComplVQ, ComplVA,
|
SlashV2V,
|
||||||
Slash2V3, Slash3V3, SlashV2V, SlashV2S, SlashV2Q, SlashV2A,
|
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
|
||||||
SlashVV, SlashV2VNP,
|
SlashVV, SlashV2VNP,
|
||||||
PassVP, ReflVP,
|
|
||||||
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
||||||
-- Sentence
|
-- Sentence
|
||||||
PredSCVP,
|
PredSCVP,
|
||||||
@@ -17,11 +16,7 @@ concrete AppDut of App =
|
|||||||
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
||||||
-- Idiom
|
-- Idiom
|
||||||
CleftNP, CleftAdv,
|
CleftNP, CleftAdv,
|
||||||
ExistIP,
|
ImpP3
|
||||||
ExistNPAdv, ExistIPAdv,
|
|
||||||
ImpP3,
|
|
||||||
SelfAdvVP, SelfAdVVP, SelfNP
|
|
||||||
|
|
||||||
-- Construction
|
-- Construction
|
||||||
-- Extensions
|
-- Extensions
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,10 +4,9 @@ concrete AppEng of App =
|
|||||||
|
|
||||||
TranslateEng - [
|
TranslateEng - [
|
||||||
-- Verb
|
-- Verb
|
||||||
ComplVS, ComplVQ, ComplVA,
|
SlashV2V,
|
||||||
Slash2V3, Slash3V3, SlashV2V, SlashV2S, SlashV2Q, SlashV2A,
|
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
|
||||||
SlashVV, SlashV2VNP,
|
SlashVV, SlashV2VNP,
|
||||||
PassVP, ReflVP,
|
|
||||||
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
||||||
-- Sentence
|
-- Sentence
|
||||||
PredSCVP,
|
PredSCVP,
|
||||||
@@ -17,11 +16,7 @@ concrete AppEng of App =
|
|||||||
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
||||||
-- Idiom
|
-- Idiom
|
||||||
CleftNP, CleftAdv,
|
CleftNP, CleftAdv,
|
||||||
ExistIP,
|
ImpP3
|
||||||
ExistNPAdv, ExistIPAdv,
|
|
||||||
ImpP3,
|
|
||||||
SelfAdvVP, SelfAdVVP, SelfNP
|
|
||||||
|
|
||||||
-- Construction
|
-- Construction
|
||||||
-- Extensions
|
-- Extensions
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,10 +4,9 @@ concrete AppFin of App =
|
|||||||
|
|
||||||
TranslateFin - [
|
TranslateFin - [
|
||||||
-- Verb
|
-- Verb
|
||||||
ComplVS, ComplVQ, ComplVA,
|
SlashV2V,
|
||||||
Slash2V3, Slash3V3, SlashV2V, SlashV2S, SlashV2Q, SlashV2A,
|
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
|
||||||
SlashVV, SlashV2VNP,
|
SlashVV, SlashV2VNP,
|
||||||
PassVP, ReflVP,
|
|
||||||
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
||||||
-- Sentence
|
-- Sentence
|
||||||
PredSCVP,
|
PredSCVP,
|
||||||
@@ -17,11 +16,7 @@ concrete AppFin of App =
|
|||||||
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
||||||
-- Idiom
|
-- Idiom
|
||||||
CleftNP, CleftAdv,
|
CleftNP, CleftAdv,
|
||||||
ExistIP,
|
ImpP3
|
||||||
ExistNPAdv, ExistIPAdv,
|
|
||||||
ImpP3,
|
|
||||||
SelfAdvVP, SelfAdVVP, SelfNP
|
|
||||||
|
|
||||||
-- Construction
|
-- Construction
|
||||||
-- Extensions
|
-- Extensions
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,10 +4,9 @@ concrete AppFre of App =
|
|||||||
|
|
||||||
TranslateFre - [
|
TranslateFre - [
|
||||||
-- Verb
|
-- Verb
|
||||||
ComplVS, ComplVQ, ComplVA,
|
SlashV2V,
|
||||||
Slash2V3, Slash3V3, SlashV2V, SlashV2S, SlashV2Q, SlashV2A,
|
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
|
||||||
SlashVV, SlashV2VNP,
|
SlashVV, SlashV2VNP,
|
||||||
PassVP, ReflVP,
|
|
||||||
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
||||||
-- Sentence
|
-- Sentence
|
||||||
PredSCVP,
|
PredSCVP,
|
||||||
@@ -17,11 +16,7 @@ concrete AppFre of App =
|
|||||||
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
||||||
-- Idiom
|
-- Idiom
|
||||||
CleftNP, CleftAdv,
|
CleftNP, CleftAdv,
|
||||||
ExistIP,
|
ImpP3
|
||||||
ExistNPAdv, ExistIPAdv,
|
|
||||||
ImpP3,
|
|
||||||
SelfAdvVP, SelfAdVVP, SelfNP
|
|
||||||
|
|
||||||
-- Construction
|
-- Construction
|
||||||
-- Extensions
|
-- Extensions
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,10 +4,9 @@ concrete AppGer of App =
|
|||||||
|
|
||||||
TranslateGer - [
|
TranslateGer - [
|
||||||
-- Verb
|
-- Verb
|
||||||
ComplVS, ComplVQ, ComplVA,
|
SlashV2V,
|
||||||
Slash2V3, Slash3V3, SlashV2V, SlashV2S, SlashV2Q, SlashV2A,
|
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
|
||||||
SlashVV, SlashV2VNP,
|
SlashVV, SlashV2VNP,
|
||||||
PassVP, ReflVP,
|
|
||||||
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
||||||
-- Sentence
|
-- Sentence
|
||||||
PredSCVP,
|
PredSCVP,
|
||||||
@@ -17,11 +16,7 @@ concrete AppGer of App =
|
|||||||
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
||||||
-- Idiom
|
-- Idiom
|
||||||
CleftNP, CleftAdv,
|
CleftNP, CleftAdv,
|
||||||
ExistIP,
|
ImpP3
|
||||||
ExistNPAdv, ExistIPAdv,
|
|
||||||
ImpP3,
|
|
||||||
SelfAdvVP, SelfAdVVP, SelfNP
|
|
||||||
|
|
||||||
-- Construction
|
-- Construction
|
||||||
-- Extensions
|
-- Extensions
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,10 +4,9 @@ concrete AppHin of App =
|
|||||||
|
|
||||||
TranslateHin - [
|
TranslateHin - [
|
||||||
-- Verb
|
-- Verb
|
||||||
ComplVS, ComplVQ, ComplVA,
|
SlashV2V,
|
||||||
Slash2V3, Slash3V3, SlashV2V, SlashV2S, SlashV2Q, SlashV2A,
|
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
|
||||||
SlashVV, SlashV2VNP,
|
SlashVV, SlashV2VNP,
|
||||||
PassVP, ReflVP,
|
|
||||||
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
||||||
-- Sentence
|
-- Sentence
|
||||||
PredSCVP,
|
PredSCVP,
|
||||||
@@ -17,11 +16,7 @@ concrete AppHin of App =
|
|||||||
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
||||||
-- Idiom
|
-- Idiom
|
||||||
CleftNP, CleftAdv,
|
CleftNP, CleftAdv,
|
||||||
ExistIP,
|
ImpP3
|
||||||
ExistNPAdv, ExistIPAdv,
|
|
||||||
ImpP3,
|
|
||||||
SelfAdvVP, SelfAdVVP, SelfNP
|
|
||||||
|
|
||||||
-- Construction
|
-- Construction
|
||||||
-- Extensions
|
-- Extensions
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,10 +4,9 @@ concrete AppIta of App =
|
|||||||
|
|
||||||
TranslateIta - [
|
TranslateIta - [
|
||||||
-- Verb
|
-- Verb
|
||||||
ComplVS, ComplVQ, ComplVA,
|
SlashV2V,
|
||||||
Slash2V3, Slash3V3, SlashV2V, SlashV2S, SlashV2Q, SlashV2A,
|
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
|
||||||
SlashVV, SlashV2VNP,
|
SlashVV, SlashV2VNP,
|
||||||
PassVP, ReflVP,
|
|
||||||
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
||||||
-- Sentence
|
-- Sentence
|
||||||
PredSCVP,
|
PredSCVP,
|
||||||
@@ -17,11 +16,7 @@ concrete AppIta of App =
|
|||||||
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
||||||
-- Idiom
|
-- Idiom
|
||||||
CleftNP, CleftAdv,
|
CleftNP, CleftAdv,
|
||||||
ExistIP,
|
ImpP3
|
||||||
ExistNPAdv, ExistIPAdv,
|
|
||||||
ImpP3,
|
|
||||||
SelfAdvVP, SelfAdVVP, SelfNP
|
|
||||||
|
|
||||||
-- Construction
|
-- Construction
|
||||||
-- Extensions
|
-- Extensions
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -5,10 +5,9 @@ concrete AppSpa of App =
|
|||||||
|
|
||||||
TranslateSpa - [
|
TranslateSpa - [
|
||||||
-- Verb
|
-- Verb
|
||||||
ComplVS, ComplVQ, ComplVA,
|
SlashV2V,
|
||||||
Slash2V3, Slash3V3, SlashV2V, SlashV2S, SlashV2Q, SlashV2A,
|
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
|
||||||
SlashVV, SlashV2VNP,
|
SlashVV, SlashV2VNP,
|
||||||
PassVP, ReflVP,
|
|
||||||
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
||||||
-- Sentence
|
-- Sentence
|
||||||
PredSCVP,
|
PredSCVP,
|
||||||
@@ -18,11 +17,7 @@ concrete AppSpa of App =
|
|||||||
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
||||||
-- Idiom
|
-- Idiom
|
||||||
CleftNP, CleftAdv,
|
CleftNP, CleftAdv,
|
||||||
ExistIP,
|
ImpP3
|
||||||
ExistNPAdv, ExistIPAdv,
|
|
||||||
ImpP3,
|
|
||||||
SelfAdvVP, SelfAdVVP, SelfNP
|
|
||||||
|
|
||||||
-- Construction
|
-- Construction
|
||||||
-- Extensions
|
-- Extensions
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -3,10 +3,9 @@
|
|||||||
concrete AppSwe of App =
|
concrete AppSwe of App =
|
||||||
TranslateSwe - [
|
TranslateSwe - [
|
||||||
-- Verb
|
-- Verb
|
||||||
ComplVS, ComplVQ, ComplVA,
|
SlashV2V,
|
||||||
Slash2V3, Slash3V3, SlashV2V, SlashV2S, SlashV2Q, SlashV2A,
|
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
|
||||||
SlashVV, SlashV2VNP,
|
SlashVV, SlashV2VNP,
|
||||||
PassVP, ReflVP,
|
|
||||||
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
AdvVPSlash, AdVVPSlash, VPSlashPrep,
|
||||||
-- Sentence
|
-- Sentence
|
||||||
PredSCVP,
|
PredSCVP,
|
||||||
@@ -16,11 +15,7 @@ concrete AppSwe of App =
|
|||||||
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
ComplSlashIP,AdvQVP,AddAdvQVP,QuestQVP,
|
||||||
-- Idiom
|
-- Idiom
|
||||||
CleftNP, CleftAdv,
|
CleftNP, CleftAdv,
|
||||||
ExistIP,
|
ImpP3
|
||||||
ExistNPAdv, ExistIPAdv,
|
|
||||||
ImpP3,
|
|
||||||
SelfAdvVP, SelfAdVVP, SelfNP
|
|
||||||
|
|
||||||
-- Construction
|
-- Construction
|
||||||
-- Extensions
|
-- Extensions
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user