// // // FEtmpltE.txt // French-English Sample Templates for Power Translator 6.x // // // ********************************************************************* // NOUN DE NOUN = NOUN // // Example: terrain d'aviation = airfield // // SOURCE.1 = terrain; SOURCE.2 = aviation; TARGET.1 = airfield // ********************************************************************* // RULESET1 // Procedure = Top Traverse; Stage = Disambiguation ; Key = SOURCE.1 ==> <1 SetAttr Noun> <2 SetAttr Preposition> <3 SetAttr Noun>; // RULESET2 // Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.1 //1 / //1.1 / //1.1.1 / //1.1.1.1 / //1.1.1.1.1 \ \ \ / / / / \ \ \ \ \ ==> <1> / <1.1.1> / <1.1.1.1> / <1.1.1.1.1 Target.ChangeWord "TARGET.1"> \ \ <1.1 Delete> <1.2 Delete> <1.2.1 Delete> <1.2.2 Delete> <1.2.2.1 Delete> <1.2.2.1.1 Delete> <1.2.2.1.1.1 Delete> \; // ********************************************************************* // NOUN1 DE NOUN2 = NOUN2 NOUN1 // // Examples: acte de naissance = birth certificate // agence de voyages = travel agency // // SOURCE.1 = acte; SOURCE.2 = naissance; // TARGET.1 = birth; TARGET.2 = certificate // ********************************************************************* // RULESET1 // Procedure = Top Traverse; Stage = Disambiguation; Key = SOURCE.1 ==> <1 SetAttr Noun> <2 SetAttr Preposition> <3 SetAttr Noun>; // RULESET2 // Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.1 / / / / \ \ \ / / / / \ \ \ \ \ ==> <1> / <1.1.1> / <1.1.1.1> / AddStringNode "TARGET.1" <1.1.1.1.1 Target.ChangeWord "TARGET.2"> \ \ <1.1 Delete> <1.2 Delete> <1.2.1 Delete> <1.2.2 Delete> <1.2.2.1 Delete> <1.2.2.1.1 Delete> <1.2.2.1.1.1 Delete> \; // ********************************************************************* // NOUN ADJECTIVE = ADJECTIVE NOUN (Other than the natural translation) // // Example: accueil chaleureux = warm welcome // // SOURCE.1 = accueil; SOURCE.2 = chaleureux; // TARGET.1 = warm; TARGET.2 = welcome // // Notice that the adjective is in its non-inflected form. // ********************************************************************* // RULESET1 // Procedure = Top Traverse; Stage = Disambiguation; Key = SOURCE.1 ==> <1 SetAttr Noun> <2 SetAttr Adjective>; // RULESET2 // Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.1 / / \ \ / / \ \ ==> <2> / <2.1> / <2.1.1 Target.ChangeWord "TARGET.1"> \ \ <1> / <1.1> / <1.1.1 Target.ChangeWord "TARGET.2"> \ \; // ********************************************************************* // // VERB FRAMES // // ********************************************************************* // ********************************************************************* // VERB + DIRECT OBJECT ==> VERB + PREPOSITONAL OBJECT // // Example: chercher ==> look for // // SOURCE.1 = chercher; TARGET.1 = look; TARGET.2 = for // // "chercher" Obj (SX_Direct) // ==> "look" Make (SX_Direct,"for"); // ********************************************************************* // RULESET1 // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1 "SOURCE.1" Obj(SX_Direct) ==> "TARGET.1" Make (SX_Direct, "TARGET.2"); // ********************************************************************* // VERB + PREPOSITIONAL OBJECT ==> VERB + DIRECT OBJECT // // Example: se souvenir de ==> remember // // SOURCE.1 = souvenir; SOURCE.2 = de; TARGET.1 = remember // // "se souvenir" Obj ("de") // ==> "remember" Make ("de",SX_Direct); // ********************************************************************* // RULESET1 // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1 "se SOURCE.1" Obj("SOURCE.2") ==> "TARGET.1" Make("SOURCE.2",SX_Direct); // ********************************************************************* // VERB + PREPOSITIONAL OBJECT ==> VERB + PREPOSITIONAL OBJECT // // Example: couvrir de ==> cover with // // SOURCE.1 = couvrir; SOURCE.2 = de; TARGET.1 = cover TARGET.2 = de // // "couvrir" Obj ("de") // ==> "cover" Make ("de","with"); // ********************************************************************* // RULESET1 // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1 "SOURCE.1" Obj("SOURCE.2") ==> "TARGET.1" Make("SOURCE.2", "TARGET.2");