mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
added robustness flags to Translate; added or fixed a number of words in DictEngSwe detected in PhD regulations
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
abstract Translate = ParseEngAbs, Phrasebook ** {
|
||||
|
||||
flags startcat = Phrase ;
|
||||
flags
|
||||
startcat = Phrase ;
|
||||
heuristic_search_factor=0.60;
|
||||
meta_prob=1.0e-5;
|
||||
meta_token_prob=1.1965149246222233e-9;
|
||||
|
||||
fun
|
||||
PPhr : Phr -> Phrase ;
|
||||
|
||||
@@ -5,6 +5,9 @@ concrete TranslateBul of Translate =
|
||||
PhrasebookBul - [PSentence, PQuestion, PGreetingMale, PGreetingFemale, GObjectPlease]
|
||||
** open SyntaxBul, (E = ExtraBul), Prelude in {
|
||||
|
||||
flags
|
||||
literal = Symb ;
|
||||
|
||||
lin
|
||||
PPhr p = lin Text p ;
|
||||
NP_Person np = {name = lin NP np ; isPron = False ; poss = mkQuant he_Pron} ;
|
||||
|
||||
@@ -5,6 +5,9 @@ concrete TranslateChi of Translate =
|
||||
PhrasebookChi - [at_Prep, PSentence, PQuestion, PGreetingMale, PGreetingFemale, GObjectPlease]
|
||||
** open SyntaxChi, (E = ExtraChi), Prelude in {
|
||||
|
||||
flags
|
||||
literal = Symb ;
|
||||
|
||||
lin
|
||||
PPhr p = lin Text p ;
|
||||
NP_Person np = {name = lin NP np ; isPron = False ; poss = E.GenNP np} ;
|
||||
|
||||
@@ -5,6 +5,8 @@ concrete TranslateEng of Translate =
|
||||
PhrasebookEng - [PSentence, PQuestion, PGreetingMale, PGreetingFemale, GObjectPlease]
|
||||
** open SyntaxEng, (E = ExtraEng), Prelude in {
|
||||
|
||||
flags
|
||||
literal = Symb ;
|
||||
lin
|
||||
PPhr p = lin Text p ;
|
||||
NP_Person np = {name = lin NP np ; isPron = False ; poss = E.GenNP np} ;
|
||||
|
||||
@@ -6,6 +6,9 @@ concrete TranslateFin of Translate =
|
||||
PhrasebookFin - [at_Prep, PSentence, PQuestion, PGreetingMale, PGreetingFemale, GObjectPlease]
|
||||
** open SyntaxFin, (E = ExtraFin), Prelude in {
|
||||
|
||||
flags
|
||||
literal = Symb ;
|
||||
|
||||
lin
|
||||
PPhr p = lin Text p ;
|
||||
NP_Person np = {name = lin NP np ; isPron = False ; poss = E.GenNP np} ;
|
||||
|
||||
@@ -5,6 +5,9 @@ concrete TranslateFre of Translate =
|
||||
PhrasebookFre - [PSentence, PQuestion, PGreetingMale, PGreetingFemale, GObjectPlease] **
|
||||
open SyntaxFre, ParadigmsFre, (E = ExtraFre), Prelude in {
|
||||
|
||||
flags
|
||||
literal = Symb ;
|
||||
|
||||
lin
|
||||
PPhr p = lin Text p ;
|
||||
NP_Person np = {name = lin NP np ; isPron = False ; poss = mkQuant he_Pron} ;
|
||||
|
||||
@@ -5,6 +5,9 @@ concrete TranslateSwe of Translate =
|
||||
PhrasebookSwe - [PSentence, PQuestion, PGreetingMale, PGreetingFemale, GObjectPlease]
|
||||
** open SyntaxSwe, ParadigmsSwe, (E = ExtraSwe), Prelude in {
|
||||
|
||||
flags
|
||||
literal = Symb ;
|
||||
|
||||
lin
|
||||
PPhr p = lin Text p ;
|
||||
NP_Person np = {name = lin NP np ; isPron = False ; poss = mkQuant he_Pron} ;
|
||||
|
||||
Reference in New Issue
Block a user