Method and system for tranforming documents
AssigneeLingua Next Technologies Pvt. Ltd.
InventorRajeevlochan Phadke
Life of this patent
Estimating the term…
Abstract
A method and system for transforming a source document to an output document is disclosed. The method includes preparing a first file that contains a fixed text and a variable text by generating a regular-expression code for the text in the source document. The variable text in the first file is translated from a source language to an output language, wherein the translation is performed on the basis of at least one of a translation dictionary look-up, and a phonetic transliteration. The method then generates the output document in a pre-decided format as required in the output document from the first file.
Claims17
A method for transforming a first document in a first language to a second document in a second language, wherein the first document comprises a fixed text and a variable text, the method comprising:
- receiving a request for the second document;
- retrieving a unique identifier of the first document;
- retrieving a first file on the basis of the unique identifier, wherein the first file is prepared by generating a regular-expression code for the fixed text and the variable text in the first document, and wherein the first file comprises a translation of the fixed text into a second language and is in a pre-decided format;
- performing translation of the variable text from the first language to the second language, wherein the translation is performed on the basis of at least one of a translation dictionary look-up and a phonetic transliteration;
- and
- generating the second document on the basis of the first file and the at least one of the phonetic transliteration and the translation dictionary look-up, wherein the above steps are executed by a microprocessor.
A system for transforming a first document in a first language to a second document in a second language, wherein the first document comprises a fixed text and a variable text, the system comprising:
- a memory comprising one or more program instruction modules, the one or more program instruction modules comprising:
- a receiver module configured for receiving the first document, wherein the first document comprises a unique identifier;
- a template module configured for retrieving a first file on the basis of the unique identifier, wherein the first file is prepared by generating a regular-expression code for the fixed text and the variable text in the first document, and wherein the first file comprises a translation of the fixed text into a second language and is in a pre-decided format;
- a translator module configured for performing translation of the variable text from the first language to the second language, wherein the translation is performed on the basis of at least one of a translation dictionary look-up and a phonetic transliteration;
- a generation module configured for generating the second document on the basis of the first file and the at least one of the phonetic transliteration and the translation dictionary look-up;
- a print module configured for printing the generated second document;
- and
- a microprocessor operable to execute the one or more program instruction modules.
A computer program product for use with a computer, the computer program product comprising a non-transitory computer-readable medium storing a computer-readable program code for transforming a first document in a first language to a second document in a second language, wherein the first document comprises a fixed text and a variable text, the computer-readable program code comprising:
- program instructions for retrieving a unique identifier of the first document;
- program instructions for retrieving a first file on the basis of the unique identifier, wherein the first file is prepared by generating a regular-expression code for the fixed text and the variable text in the first document, and wherein the first file comprises a translation of the fixed text into a second language and is in a pre-decided format;
- program instructions for performing translation of the variable text from the first language to the second language, wherein the translation is performed on the basis of at least one of a translation dictionary look-up and a phonetic transliteration;
- and
- program instructions for generating the second document on the basis of the first file and the at least one of the phonetic transliteration and the translation dictionary look-up.
Dependencies are inferred from the claim text.