home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1998 August / DPCB0898.iso / Home / Powerpro / INSTALL.CMP / EFTMPLT.TXT < prev    next >
Text File  |  1997-06-13  |  5KB  |  174 lines

  1. //
  2. //
  3. //  EFTMPLT.TXT
  4. //  English-French Sample Templates for Power Translator 6.x
  5. //
  6.  
  7.  
  8. // *********************************************************************
  9. // NOUN NOUN ==> NOUN DE NOUN DE NOUN
  10. //
  11. // Example: cat whisker tips ==> bouts de moustache de chat
  12. //
  13. // SOURCE.1 = cat; SOURCE.2 = whisker; SOURCE.3 = tip;
  14. // TARGET.1 = bouts; TARGET.2 = moustache; TARGET.3 = chat
  15. // *********************************************************************
  16.  
  17. // RULESET1
  18. // Procedure = Top Traverse; Stage = Disambiguation; Key = SOURCE.1
  19.  
  20.     <HasAttr Noun:"SOURCE.1">
  21.     <HasAttr Noun:"SOURCE.2">
  22.     <HasAttr Noun:"SOURCE.3">
  23.  
  24.     ==>
  25.  
  26.         <1 SetAttr Noun:"SOURCE.1">
  27.         <2 SetAttr Noun:"SOURCE.2">
  28.     <3 SetAttr Noun:"SOURCE.3">;
  29.  
  30.  
  31. // RULESET2
  32. // Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.1
  33.  
  34.     <IsAttr Noun: "SOURCE.1">
  35.     <IsAttr Noun: "SOURCE.2">
  36.     <IsAttr Noun: "SOURCE.3">
  37.  
  38.     ==> <3 Target.ChangeWord "TARGET.1"> AddTargetWord("de", Preposition)
  39.         <2 Target.ChangeWord "TARGET.2"> AddTargetWord("de", Preposition)
  40.         <1 Target.ChangeWord "TARGET.3">;
  41.  
  42.  
  43. // *********************************************************************
  44. // NOUN NOUN ==> NOUN DE NOUN
  45. //
  46. // Example: cat whiskers ==> moustaches de chat
  47. //
  48. // SOURCE.1 = cat; SOURCE.2 = whiskers;
  49. // TARGET.1 = moustaches; TARGET.2 = chat
  50. // *********************************************************************
  51.  
  52. // RULESET1
  53. // Procedure = Top Traverse; Stage = Disambiguation; Key = SOURCE.1
  54.  
  55.     <HasAttr Noun:"SOURCE.1">
  56.     <HasAttr Noun:"SOURCE.2">
  57.  
  58.     ==>
  59.  
  60.         <1 SetAttr Noun:"SOURCE.1">
  61.         <2 SetAttr Noun:"SOURCE.2">;
  62.  
  63.  
  64. // RULESET2
  65. // Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.1
  66.  
  67.     <IsAttr Noun: "SOURCE.1">
  68.     <IsAttr Noun: "SOURCE.2">
  69.  
  70.     ==> <2 Target.ChangeWord "TARGET.1"> AddTargetWord("de", Preposition) <1 Target.ChangeWord "TARGET.2">;
  71.  
  72.  
  73. // *********************************************************************
  74. // NOUN NOUN ==> NOUN ADJ
  75. //
  76. // Example: nursery school ==> Θcole maternelle
  77. //
  78. // SOURCE.1 = nursery; SOURCE.2 = school;
  79. // TARGET.1 = Θcole; TARGET.2 = maternel
  80. // *********************************************************************
  81.  
  82. // RULESET1
  83. // Procedure = Top Traverse; Stage = Disambiguation; Key = SOURCE.2
  84.  
  85.     <HasAttr Noun:"SOURCE.1">
  86.     <HasAttr Noun:"SOURCE.2">
  87.  
  88.     ==>
  89.  
  90.         <1 SetAttr Noun:"SOURCE.1">
  91.         <2 SetAttr Noun:"SOURCE.2">;
  92.  
  93.  
  94. // RULESET2
  95. // Procedure = Depth Traverse; Stage = Frame; Key(s) = SOURCE.1, TARGET.1
  96.  
  97.     <IsAttr Noun: "SOURCE.1">
  98.     <IsAttr Noun: "SOURCE.2">
  99.  
  100.     ==> <1 Delete>
  101.         <2 Target.ChangeWord "TARGET.1">
  102.         AddTargetWord("TARGET.2", Adjective);
  103.  
  104.  
  105.  
  106.     <Target.IsAttr Noun: "TARGET.1">
  107.     <Target.IsAttr Adjective: "TARGET.2">
  108.  
  109.     ==> <1> <2 Target.AgreeWith = Node(1)> ;
  110.  
  111.  
  112.  
  113. // *********************************************************************
  114. //
  115. //  VERB FRAMES
  116. //
  117. // *********************************************************************
  118.  
  119.  
  120. // *********************************************************************
  121. // VERB  + PARTICLE ==> VERB
  122. //
  123. // Example: pick up ==> chercher
  124. //
  125. // SOURCE.1 = pick; SOURCE.2 = up; TARGET.1 = chercher
  126. //
  127. // "pick" Particle ("up")
  128. //       ==> "chercher";
  129. // *********************************************************************
  130.  
  131. // RULESET1
  132. // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
  133.  
  134. "SOURCE.1" Particle("SOURCE.2")
  135.     ==> "TARGET.1";
  136.  
  137.  
  138. // *********************************************************************
  139. // VERB  + ADVERB ==> VERB
  140. //
  141. // Example: come back ==> revenir
  142. //
  143. // SOURCE.1 = come; SOURCE.2 = back; TARGET.1 = revenir
  144. //
  145. // "come" Adv ("back")
  146. //     ==> "revenir" Delete ("back");
  147. // *********************************************************************
  148.  
  149. // RULESET1
  150. // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
  151.  
  152. "SOURCE.1" Adv("SOURCE.2")
  153.     ==> "TARGET.1" Delete ("SOURCE.2");
  154.  
  155.  
  156. // *********************************************************************
  157. // VERB  + PREPOSITIONAL OBJECT ==> VERB + DIRECT OBJECT
  158. //
  159. // Example: look for ==> chercher
  160. //
  161. // SOURCE.1 = look; SOURCE.2 = for; TARGET.1 = chercher
  162. //
  163. // "look" Obj ("for")
  164. //     ==> "chercher" Make ("for",SX_Direct);
  165. // *********************************************************************
  166.  
  167. // RULESET1
  168. // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
  169.  
  170. "SOURCE.1" Obj("SOURCE.2")
  171.     ==> "TARGET.1" Make("SOURCE.2",SX_Direct);
  172.  
  173.  
  174.