added robustness flags to Translate; added or fixed a number of words in DictEngSwe detected in PhD regulations

This commit is contained in:
aarne
2013-11-06 16:26:58 +00:00
parent 667a1c0ef0
commit a927944c80
7 changed files with 22 additions and 1 deletions

View File

@@ -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 ;

View File

@@ -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} ;

View File

@@ -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} ;

View File

@@ -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} ;

View File

@@ -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} ;

View File

@@ -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} ;

View File

@@ -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} ;