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

  1. //
  2. //
  3. //  ESTMPLT.TXT
  4. //  English-Spanish Sample Templates for Power Translator 6.x
  5. //
  6. //
  7.  
  8.  
  9. // *********************************************************************
  10. // NOUN NOUN = NOUN
  11. //
  12. // Example: bubble gum = chicle
  13. //
  14. // SOURCE.1 = bubble; SOURCE.2 = gum; TARGET.1 = chicle
  15. // *********************************************************************
  16.  
  17. // RULESET1
  18. // Procedure = Top Traverse; Stage = Disambiguation; Key = SOURCE.2
  19.  
  20. <HasAttr Noun:"SOURCE.1" && Word == "SOURCE.1">
  21. <HasAttr Noun:"SOURCE.2">
  22.     ==> <1 SetAttr Noun>
  23.         <2 SetAttr Noun>;
  24.  
  25.  
  26. // RULESET2
  27. // Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.2
  28.  
  29. <IsAttr Noun:"SOURCE.1" && Word == "SOURCE.1">
  30. <IsAttr Noun:"SOURCE.2">
  31.     ==> <1 Delete>
  32.         <2 Target.ChangeWord "TARGET.1">;
  33.  
  34.  
  35. // *********************************************************************
  36. // NOUN NOUN = NOUN DE NOUN
  37. //
  38. // Example: stock exchange==> bolsa de valores
  39. //
  40. // SOURCE.1 = stock; SOURCE.2 = exchange;
  41. // TARGET.1 = bolsa; TARGET.2 = valores
  42. // *********************************************************************
  43.  
  44. // RULESET1
  45. // Procedure = Top Traverse; Stage = Disambiguation; Key = SOURCE.2
  46.  
  47. <HasAttr Noun:"SOURCE.1">
  48. <HasAttr Noun:"SOURCE.2">
  49.     ==> <1 SetAttr Noun>
  50.         <2 SetAttr Noun>;
  51.  
  52.  
  53. // RULESET2
  54. // Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.2
  55.  
  56. <IsAttr Noun: "SOURCE.1">
  57. <IsAttr Noun: "SOURCE.2">
  58.     ==> <2 Target.ChangeWord "TARGET.1">
  59.         AddTargetWord("de", Preposition)
  60.         <1 Target.ChangeWord "TARGET.2">;
  61.  
  62.  
  63. // *********************************************************************
  64. // NOUN NOUN ==> NOUN ADJ
  65. //
  66. // Example: sea breeze ==> brisa marina
  67. //
  68. // SOURCE.1 = sea; SOURCE.2 = breeze; TARGET.1 = brisa; TARGET.2 = marino
  69. //
  70. // Notice that the adjective has to be in the uninflected form.
  71. // *********************************************************************
  72.  
  73. // RULESET1
  74. // Procedure = Top Tarverse; Stage = Disambiguation; Key = SOURCE.2
  75.  
  76. <HasAttr Noun:"SOURCE.1">
  77. <HasAttr Noun:"SOURCE.2">
  78.     ==> <1 SetAttr Noun>
  79.         <2 SetAttr Noun>;
  80.  
  81.  
  82. // RULESET2
  83. // Procedure = Depth Traverse; Stage = Frame; Key(s) =SOURCE.2, TARGET.1
  84.  
  85. <IsAttr Noun: "SOURCE.1">
  86. <IsAttr Noun: "SOURCE.2">
  87.     ==> <1 Delete>
  88.         <2 Target.ChangeWord "TARGET.1">
  89.         AddTargetWord("TARGET.2", Adjective);
  90.  
  91. <Target.IsAttr Noun: "TARGET.1">
  92. <Target.IsAttr Adjective: "TARGET.2">
  93.     ==> <1> <2 Target.AgreeWith = Node(1)> ;
  94.  
  95.  
  96. // *********************************************************************
  97. //
  98. //  VERB FRAMES
  99. //
  100. // *********************************************************************
  101.  
  102.  
  103. // *********************************************************************
  104. // VERB  + PARTICLE ==> VERB
  105. //
  106. // Example: pick up ==> recoger
  107. //
  108. // SOURCE.1 = pick; SOURCE.2 = up; TARGET.1 = recoger
  109. //
  110. // "pick" Particle ("up")
  111. //     ==> "recoger";
  112. // *********************************************************************
  113.  
  114. // RULESET1
  115. // Procedure = Verb Frame Stage = Frame; Key = SOURCE.1
  116.  
  117. "SOURCE.1" Particle("SOURCE.2")
  118.     ==> "TARGET.1";
  119.  
  120.  
  121. // *********************************************************************
  122. // VERB  + ADVERB ==> VERB
  123. //
  124. // Example: come back ==> regresar
  125. //
  126. // SOURCE.1 = come; SOURCE.2 = back; TARGET.1 = regresar
  127. //
  128. // "come" Adv ("back")
  129. //     ==> "regresar" Delete ("back");
  130. // *********************************************************************
  131.  
  132. // RULESET1
  133. // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
  134.  
  135. "SOURCE.1" Adv("SOURCE.2")
  136.     ==> "TARGET.1" Delete ("SOURCE.2");
  137.  
  138.  
  139. // *********************************************************************
  140. // VERB + DIRECT OBJECT ==> VERB
  141. //
  142. // Example: have fun ==> divertirse
  143. //
  144. // SOURCE.1 = have; SOURCE.2 = fun; TARGET.1 = divertirse
  145. //
  146. // "have" Obj (SX_Direct, Primary.Word=="fun")
  147. //     ==> "divertirse" Make (SX_Direct,SX_Direct,Primary.Target.Hidden=True);
  148. // *********************************************************************
  149.  
  150. // RULESET1
  151. // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
  152.  
  153. "SOURCE.1" Obj(SX_Direct,Primary.Word=="SOURCE.2")
  154.     ==> "TARGET.1" Make (SX_Direct,SX_Direct,Primary.Target.Hidden=True);
  155.  
  156.  
  157. // *********************************************************************
  158. // VERB  + PREPOSITIONAL OBJECT ==> VERB + DIRECT OBJECT
  159. //
  160. // Example: look for ==> buscar
  161. //
  162. // SOURCE.1 = look; SOURCE.2 = for; TARGET.1 = buscar
  163. //
  164. // "look" Obj ("for")
  165. //     ==> "buscar" Make ("for",SX_Direct);
  166. // *********************************************************************
  167.  
  168. // RULESET1
  169. // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
  170.  
  171. "SOURCE.1" Obj("SOURCE.2")
  172.     ==> "TARGET.1" Make("SOURCE.2",SX_Direct);
  173.  
  174.  
  175. // *********************************************************************
  176. // VERB  + PREPOSITIONAL OBJECT ==> VERB + PREPOSITIONAL OBJECT
  177. //
  178. // Example: depend on ==> depender de
  179. //
  180. // SOURCE.1 = depend; SOURCE.2 = on; TARGET.1 = depender; TARGET.2 = de
  181. //
  182. // "depend" Obj ("on")
  183. //     ==> "depender" Make ("on","de");
  184. // *********************************************************************
  185.  
  186. // RULESET1
  187. // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
  188.  
  189. "SOURCE.1" Obj("SOURCE.2")
  190.     ==> "TARGET.1" Make("SOURCE.2","TARGET.2");
  191.  
  192.  
  193. // *********************************************************************
  194. // VERB  + PREDICATE ADJECTIVE ==> VERB
  195. //
  196. // Example: become angry ==> enfadarse
  197. //
  198. // SOURCE.1 = become; SOURCE.2 = angry; TARGET.1 = enfadarse
  199. //
  200. // "become" Obj (SX_PredicateAdjective, Primary.IsAttr Adjective:"angry")
  201. //     ==> "enfadarse" Delete (SX_PredicateAdjective);
  202. // *********************************************************************
  203.  
  204. // RULESET1
  205. // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
  206.  
  207. "SOURCE.1" Obj(SX_PredicateAdjective, Primary.IsAttr Adjective:"SOURCE.2")
  208.     ==> "TARGET.1" Delete (SX_PredicateAdjective);
  209.  
  210.  
  211.