home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Buyer 1998 August
/
DPCB0898.iso
/
Home
/
Powerpro
/
INSTALL.CMP
/
IETMPLT.TXT
< prev
next >
Wrap
Text File
|
1997-06-13
|
10KB
|
372 lines
//
//
// IETMPLT.TXT
// Italian-English Sample Templates for Power Translator 6.x
//
//
// *********************************************************************
// NOUN1 DI NOUN2 = NOUN2 NOUN1
//
// Examples: agencia di viaggi = travel agency
// certificato di nascita = birth certificate
//
// SOURCE.1 = agenzia; SOURCE.2 = viaggi; TARGET.1 = travel; TARGET.2 = agency
// *********************************************************************
// RULESET1
// Procedure = Top Traverse; Stage = Disambiguation; Key = SOURCE.1
<HasAttr Noun:"SOURCE.1">
<HasAttr Preposition:"di">
<HasAttr Noun && Word=="SOURCE.2">
==> <1 SetAttr Noun>
<2 SetAttr Preposition>
<3 SetAttr Noun
Strength=50>;
// RULESET2
// Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.1
<NodeType NounBar>
/
<NodeType NounBar>
/
<NodeType NounTheta>
/
<IsAttr Noun:"SOURCE.1">
\
\
<NodeType PrepositionPhrase>
/
<NodeType PrepositionBar && Primary.IsAttr Preposition:"di">
<NodeType NounPhrase>
/
<NodeType NounBar>
/
<NodeType NounTheta>
/
<Word=="SOURCE.2">
\
\
\
\
\
==> <1>
/
<1.1.1>
/
AddStringNode "TARGET.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>
\;
// due agenzie di viaggi
<NodeType NounBar>
/
<NodeType QuantifierBar>
<NodeType NounBar>
/
<NodeType NounTheta>
/
<IsAttr Noun:"SOURCE.1">
\
\
\
<NodeType PrepositionPhrase>
/
<NodeType PrepositionBar && Primary.IsAttr Preposition:"di">
<NodeType NounPhrase>
/
<NodeType NounBar>
/
<NodeType NounTheta>
/
<IsAttr Noun && Word=="SOURCE.2">
\
\
\
\
==>
<1>
/
<1.1>
<1.2>
/
<1.2.1>
/
AddStringNode "TARGET.1"
<1.2.1.1 Target.ChangeWord "TARGET.2">
\
\
\
<2 Delete>
<2.1 Delete>
<2.2 Delete>
<2.2.1 Delete>
<2.2.1.1 Delete>
<2.2.1.1.1 Delete>;
// *********************************************************************
// NOUN DI NOUN = NOUN
//
// Example: donna di casa = housewife
//
// SOURCE.1 = donna; SOURCE.2 = casa; TARGET.1 = housewife
// *********************************************************************
// RULESET1
// Procedure = Top Traverse; Stage = Disambiguation ; Key = SOURCE.1
<HasAttr Noun:"SOURCE.1">
<HasAttr Preposition:"di">
<HasAttr Noun && Word=="SOURCE.2">
==> <1 SetAttr Noun>
<2 SetAttr Preposition>
<3 SetAttr Noun
Strength=50>;
// RULESET2
// Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.1
<NodeType NounBar>
/
<NodeType NounBar>
/
<NodeType NounTheta>
/
<IsAttr Noun:"SOURCE.1">
\
\
<NodeType PrepositionPhrase>
/
<NodeType PrepositionBar && Primary.IsAttr Preposition:"di">
<NodeType NounPhrase>
/
<NodeType NounBar>
/
<NodeType NounTheta>
/
<Word=="SOURCE.2">
\
\
\
\
\
==> <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>
\;
// due donne di casa (two housewives)
<NodeType NounBar>
/
<NodeType QuantifierBar>
<NodeType NounBar>
/
<NodeType NounTheta>
/
<IsAttr Noun:"SOURCE.1">
\
\
\
<NodeType PrepositionPhrase>
/
<NodeType PrepositionBar && Primary.IsAttr Preposition:"di">
<NodeType NounPhrase>
/
<NodeType NounBar>
/
<NodeType NounTheta>
/
<IsAttr Noun && Word=="SOURCE.2">
\
\
\
\
==>
<1>
/
<1.1>
<1.2>
/
<1.2.1>
/
<1.2.1.1 Target.ChangeWord "TARGET.1">
\
\
\
<2 Delete>
<2.1 Delete>
<2.2 Delete>
<2.2.1 Delete>
<2.2.1.1 Delete>
<2.2.1.1.1 Delete>;
// *********************************************************************
// NOUN ADJECTIVE = ADJECTIVE NOUN (Other than the natural translation)
//
// Examples: accoglienza calorosa = warm welcome
// disco rigido = hard disk
//
// SOURCE.1=accoglienza; SOURCE.2=caloroso; 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
<HasAttr Noun:"SOURCE.1">
<HasAttr Adjective:"SOURCE.2">
==> <1 SetAttr Noun>
<2 SetAttr Adjective>;
// RULESET2
// Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.1
<NodeType NounBar>
/
<NodeType NounTheta>
/
<IsAttr Noun:"SOURCE.1">
\
\
<NodeType AdjectivePhrase>
/
<NodeType AdjectiveBar>
/
<IsAttr Adjective:"SOURCE.2">
\
\
==> <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
//
// Example: chiedere scusa ==> apologize
//
// SOURCE.1 = chiedere; SOURCE.2 = scusa; TARGET.1 = apologize
//
// "chiedere"Obj (SX_Direct,Primary.IsAttr Noun:"scusa")
// ==> "apologize" Delete (SX_Direct);
// *********************************************************************
// RULESET1
// Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
"SOURCE.1" Obj(SX_Direct,Primary.Word=="SOURCE.2")
==> "TARGET.1" Delete (SX_Direct);
// *********************************************************************
// VERB + DIRECT OBJECT ==> VERB(different meaning) + DIRECT OBJECT
//
// Example: cercare (giustizia) ==> seek (justice)
//
// SOURCE.1 = cercare; TARGET.1 = seek
//
// "cercare" Obj (SX_Direct,Primary.IsAttr Noun+"Abstract")
// ==> "seek";
// *********************************************************************
// RULESET1
// Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
"SOURCE.1" Obj(SX_Direct,Primary.IsAttr Noun+"Abstract")
==> "TARGET.1";
// *********************************************************************
// VERB + PREPOSITIONAL OBJECT ==> VERB + DIRECT OBJECT
//
// Example: ricordarsi di ==> remember
//
// SOURCE.1 = ricordarsi; SOURCE.2 = di; TARGET.1 = remember
//
// "ricordarsi" Obj ("di")
// ==> "remember" Make ("di",SX_Direct);
// *********************************************************************
// RULESET1
// Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1 (non-reflexive form)
"SOURCE.1" Obj("SOURCE.2")
==> "TARGET.1" Make("SOURCE.2",SX_Direct);
// =====================================================================
// VERB + PREPOSITIONAL OBJECT ==> VERB + PREPOSITIONAL OBJECT
//
// Example: preoccuparsi di ==> worry about
//
// SOURCE.1 = preoccuparsi; SOURCE.2 = di; TARGET.1 = worry; TARGET.2 = about
//
// "preoccuparsi" Obj ("di")
// ==> "worry" Make ("di","about");
// *********************************************************************
// RULESET1
// Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1 (non-reflexive form)
"SOURCE.1" Obj("SOURCE.2")
==> "TARGET.1" Make("SOURCE.2", "TARGET.2");