home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Buyer 1998 August
/
DPCB0898.iso
/
Home
/
Powerpro
/
INSTALL.CMP
/
FETMPLT.TXT
< prev
next >
Wrap
Text File
|
1997-06-13
|
7KB
|
264 lines
//
//
// FETMPLT.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
<HasAttr Noun:"SOURCE.1">
<HasAttr Preposition:"de">
<HasAttr Noun && Word=="SOURCE.2">
==> <1 SetAttr Noun>
<2 SetAttr Preposition>
<3 SetAttr Noun>;
// RULESET2
// Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.1
<NodeType NounPhrase> //1
/
<NodeType NounPhrase> //1.1
/
<NodeType NounBar> //1.1.1
/
<NodeType NounTheta> //1.1.1.1
/
<IsAttr Noun:"SOURCE.1"> //1.1.1.1.1
\
\
\
<NodeType PrepositionPhrase>
/
<NodeType PrepositionBar && Primary.IsAttr Preposition:"de">
<NodeType NounPhrase>
/
<NodeType NounBar>
/
<NodeType NounTheta>
/
<Word=="SOURCE.2">
\
\
\
\
\
==> <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
<HasAttr Noun:"SOURCE.1">
<HasAttr Preposition:"de">
<HasAttr Noun && Word=="SOURCE.2">
==> <1 SetAttr Noun>
<2 SetAttr Preposition>
<3 SetAttr Noun>;
// RULESET2
// Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.1
<NodeType NounPhrase>
/
<NodeType NounPhrase>
/
<NodeType NounBar>
/
<NodeType NounTheta>
/
<IsAttr Noun:"SOURCE.1">
\
\
\
<NodeType PrepositionPhrase>
/
<NodeType PrepositionBar && Primary.IsAttr Preposition:"de">
<NodeType NounPhrase>
/
<NodeType NounBar>
/
<NodeType NounTheta>
/
<Word=="SOURCE.2">
\
\
\
\
\
==> <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
<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 + 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");