EP1554663A2

Method for specifying equivalence of language grammars and automatically translating sentences in one language to sentences in another language in a computer environment

Abstract

This record has no abstract on file.

Term

Term ended

Projected expiry passed 26 July 2022, 4.2 years ago.

  1. Priority and filed
  2. Published
  3. Projected expiry
  4. Today

2 claims: 1 independent, 1 dependent

  1. 1
    Claims of equivalent WO 2004012028 A2 CLAIMS :1. A method of automatic translation of sentences from a source language L s selected from language Lj to L„ to a target language L t selected from languages Li to L n comprising the steps of : (i) providing grammars Gi to G n of all the languages Li to L n respectively and a text 'S' in the source language L s as inputs-, (ii) creating a unified grammar specification UG for the grammars Gi to G n ;(iii) separating the input text 'S' in the source language L s into a list of tokens using a lexical analyser for the source language L s ;(iv) setting a non-terminal symbol Ε* to the start symbol of the unified grammar specification UG;(v) obtaining a set of grammar production rules P e which define the rules to reduce a string of terminal symbols and/or non-terminal symbols to the target non-terminal symbol E from the unified grammar specification UG;(vi) for each unified grammar production rule P in the set of grammar production rules P e taking each symbol one by one from a list of terminal symbols and/or non-terminal symbols corresponding to the source language grammar G s , determining whether it is a terminal symbol or a non-terminal symbol;(vii) for each terminal symbol obtained from the previous step, which is equivalent to a corresponding symbol in the list of tokens T of the input text in the source language L g , considering the next symbol in said list of terminal symbols and/or non-terminal symbols corresponding to the source language grammar G s and for each non-terminal symbol obtained from the previous step which refers to another non-terminal symbol E s , of the unified grammar specification UG, repeating step (v) onwards with the new non-terminal symbol E s ;(viii) if all the symbols in the said list of terminal symbols and or non-terminal symbols corresponding to the source language grammar G s match with all the symbols in the list of tokens T of the input text in the source language L SJ obtaining a list of symbols t corresponding to the target language grammar G t torn the unified grammar production rule P and for those symbols which do not match, repeating step (vi) onwards for the next unified grammar production rule P defined for the non-terminal symbol Ε';(ix) talcing each symbol one by one, from the list of symbols t corresponding to the target grammar G t and determiήiiig whether it is a temiinal symbol or a non-termiiial symbol;(x) for each temiinal symbol obtained from the previous step outputing the symbol, and considering the next symbol and for each non-terminal obtained from the previous step, obtaining another unified grammar production rule P corresponding to that non-terminal symbol and repeating the previous step with the new unified grammar production rule, till all the symbols in the list of symbols t corresponding to the target language grammar G t are exhausted.