In LoadLexicon, LexiconFile is:|/usr0/aria/eng2spa/lexicons/simulation-lexicon.trf| ***************************** ***Populating MasterLexicon with entry PRON,1 *** ***************************** ***Populating MasterLexicon with entry V,1 *** ***************************** ***Populating MasterLexicon with entry DET,1 *** ***************************** ***Populating MasterLexicon with entry DET,2 *** ***************************** ***Populating MasterLexicon with entry N,1 *** ***************************** ***Populating MasterLexicon with entry ADJ,1 *** ***************************** ***Populating MasterLexicon with entry ADJ,2 *** Setting ParseTree for VEO EL AUTO ROJA ( ( ( VEO)) ( ( EL) ( AUTO) ( ROJA))) TLS is VEO EL AUTO ROJA the TL words stored in TLWords are: 0:|VEO| 1:|EL| 2:|AUTO| 3:|ROJA| the CTL words stored in CTLWords are: 0:|VEO| 1:|EL| 2:|AUTO| 3:|ROJO| MyAction is edit wi is 3 There is a clue word MyTLS is: VEO EL AUTO ROJA MyParse is: ( ( ( VEO))) ( ( EL) ( AUTO) ( ROJA)) My CTLS is: VEO EL AUTO ROJO My Action's type is: 2 My Wi is: ROJA My WiC is: ROJO My Wc is: AUTO Now looking up Wi ROJA... ADJ,1 Now looking up the rule for id |ADJ,1| The rule is:|{ADJ,1} ADJ::ADJ |: ["red"] -> ["roja"] ( (X1::Y1) ((x0 form) = red) ((y0 agr num) = sg) ((y0 agr gen) = fem) ) | Now looking up WiC ROJO... ADJ,2 Now looking up the rule for id |ADJ,2| The rule is:|{ADJ,2} ADJ::ADJ |: ["red"] -> ["rojo"] ( (X1::Y1) ((x0 form) = red) ((y0 agr num) = sg) ((y0 agr gen) = masc) ) | Now looking up Wc AUTO... N,1 Now looking up the rule for id:N,1| The rule is: |{N,1} N::N |: ["car"] -> ["auto"] ((X1::Y1) ((x0 form) = car) ((x0 agr pers) = 3) ((x0 agr num) = sg) ((y0 agr gen) = masc) ((x0 semtype) = object) ) | The Triggering Feature is AGRGEN In LoadGrammar, GrammarFile is:|/usr0/aria/eng2spa/grammars/simulation-grammar.trf| ***************************** ***Populating Master Grammar with Rule S,0 *** ***************************** ***Populating Master Grammar with Rule NP,1 *** ***************************** ***Populating Master Grammar with Rule NP,8 *** ***************************** ***Populating Master Grammar with Rule VP,3 *** ***************************** ***Populating Master Grammar with Rule VP,1 *** The rule for NP,8 is |{NP,8} NP::NP : [DET ADJ N] -> [DET N ADJ] ( (X1::Y1) (X2::Y3) (X3::Y2) ((x0 det) = x1) ((x0 mod) = x2) (x0 = x3) (y0 = x0) (y1 == (y0 det)) (y3 == (y0 mod)) (y2 = y0) ) | Adding NewConstraint to the rule: |((y3 agr gen) = (y2 agr gen)) Final Refined Rule is now: |{NP,8} NP::NP : [DET ADJ N] -> [DET N ADJ] ( (X1::Y1) (X2::Y3) (X3::Y2) ((x0 det) = x1) ((x0 mod) = x2) (x0 = x3) (y0 = x0) (y1 == (y0 det)) (y3 == (y0 mod)) (y2 = y0) ((y3 agr gen) = (y2 agr gen))) SLSentence is |I see the red car| initfile is /usr0/aria/eng2spa/auto-init.txt Turning on Latin-1 mode Setting normalizecase to UPPER-CASE Setting find all translations to ON Setting output source text to ON Setting showtrace to full trace with src indices Loading rule file /usr0/aria/eng2spa/grammars/simulation-grammar-REFINED.trf with 5 rules added Loading lexicon file /usr0/aria/eng2spa/lexicons/simulation-lexicon-REFINED.trf with 7 lexical entries added these are the alterative translations for I see the red car: VEO EL AUTO ROJO VEO LA AUTO ROJO Deleting all loaded rules. clearing all the files loaded to the transfer engine **************************************************************************** ***The refined grammar and lexicon produced the user corrected translation*** The correct translation is: VEO EL AUTO ROJO ****************************************************************************