# US 2020/0394431 A1 · System and method for machine translation of text

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0394431 A1
- Document ID: US20200394431A1
- Status: Published application
- Kind: A1
- Application number: 16/542,392
- Filed: 2019-08-16
- Published: 2020-12-17
- Earliest claimed: 2019-06-13
- Assignees: Wipro Limited
- Applicants: Wipro Limited
- Inventors: Manjunath Ramachandra Iyer
- Web page: https://patentgrep.com/patent/US20200394431A1

## CPC

- G06F 40/44: Statistical methods, e.g. probability models
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 3/091: Active learning
- G06V 10/82: using neural networks
- G06V 30/1916: {Validation; Performance evaluation}
- G06V 30/19173: {Classification techniques}
- G06F 40/56: Natural language generation
- G06V 30/10: Character recognition
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method and system for machine translation of text is disclosed. The method includes processing an image comprising a text to generate a pattern associated with the text based on a trained Convolution Neural Network (CNN). The method further includes mapping the pattern to a word in a mapping table and at least one text attribute, based on a classifier network. The method further includes initiating an Optical Character Recognition (OCR) conversion for the pattern, when at least one of the mapping between at least one of the pattern and at least one word in the mapping table and the mapping between the pattern and the at least one text attribute is below a predefined threshold. The method further includes performing incremental learning for the trained CNN and the classifier network based on the OCR conversion.

## Claims

### Claim 1

A method of machine translation of text, the method comprising:
processing, by a translation device, an image comprising a text to generate a pattern associated with the text based on a trained Convolution Neural Network (CNN), wherein the text is in a source language;
mapping, by the translation device, the pattern to a word in a mapping table and at least one text attribute, based on a classifier network, wherein the word is in a target language;
initiating, by the translation device, an Optical Character Recognition (OCR) conversion for the pattern, when at least one of the mapping between at least one of the pattern and at least one word in the mapping table and the mapping between the pattern and the at least one text attribute is below a predefined threshold; and
performing, by the translation device, incremental learning for the trained CNN and the classifier network based on the OCR conversion.

### Claim 2 (depends on 1)

The method of claim 1, wherein the at least one text attribute comprises at least one of font, style, or color, and wherein the style is associated with a text being in bold, italics, strikethrough, or underline.

### Claim 3 (depends on 1)

The method of claim 1, further comprising identifying the text from the image, wherein the image comprises a plurality of words.

### Claim 4 (depends on 3)

The method of claim 3, wherein the identifying comprises:
identifying column and paragraph separation within the image based on difference in pixel intensity; and
for each paragraph in each column, identifying each word based on difference in pixel intensity of an area designated by space between two adjacent words.

### Claim 5 (depends on 4)

The method of claim 4 further comprising extracting words sequentially from each paragraph of each column in response to the identifying of each word.

### Claim 6 (depends on 5)

The method of claim 5 further comprising creating sentences in response to sequential extraction of words from each paragraph of each column, using a Long Short Term Memory (LSTM).

### Claim 7 (depends on 6)

The method of claim 6 further comprising rendering the sentences created using the LSTM to a user.

### Claim 8 (depends on 7)

The method of claim 7 further comprising:
receiving feedback from the user on the sentences rendered; and
performing the incremental learning based on the feedback.

### Claim 9 (depends on 7)

The method of claim 7 further comprising generating a notification for the user, wherein the notification comprises at least one of warning of incorrect decoding and inability to support an attribute of the at least one attribute.

### Claim 10

A translation device for machine translation of text, the translation device comprising:
a processor; and
a memory communicatively coupled to the processor, wherein the memory stores processor instructions, which, on execution, causes the processor to:
process an image comprising a text to generate a pattern associated with the text based on a trained Convolution Neural Network (CNN), wherein the text is in a source language;
map the pattern to a word in a mapping table and at least one text attribute, based on a classifier network, wherein the word is in a target language;
initiate an Optical Character Recognition (OCR) conversion for the pattern, when at least one of the mapping between at least one of the pattern and at least one word in the mapping table and the mapping between the pattern and the at least one text attribute is below a predefined threshold; and
perform incremental learning for the trained CNN and the classifier network based on the OCR conversion.

### Claim 11 (depends on 10)

The translation device of claim 10, wherein the at least one text attribute comprises at least one of font, style, or color, and wherein the style is associated with a text being in bold, italics, strikethrough, or underline.

### Claim 12 (depends on 11)

The translation device of claim 11, wherein the processor instructions further cause the processor to identify the text from the image, wherein the image comprises a plurality of words.

### Claim 13 (depends on 12)

The translation device of claim 12, wherein to identify the processor instructions further cause the processor to:
identify column and paragraph separation within the image based on difference in pixel intensity; and
for each paragraph in each column, identify each word based on difference in pixel intensity of an area designated by space between two adjacent words.

### Claim 14 (depends on 13)

The translation device of claim 13, wherein the processor instructions further cause the processor to extract words sequentially from each paragraph of each column in response to the identifying of each word.

### Claim 15 (depends on 14)

The translation device of claim 14, wherein the processor instructions further cause the processor to create sentences in response to sequential extraction of words from each paragraph of each column, using a Long Short Term Memory (LSTM).

### Claim 16 (depends on 15)

The translation device of claim 15, wherein the processor instructions further cause the processor to render the sentences created using the LSTM to a user.

### Claim 17 (depends on 16)

The translation device of claim 16, wherein the processor instructions further cause the processor to:
receive feedback from the user on the sentences rendered; and
perform the incremental learning based on the feedback.

### Claim 18 (depends on 17)

The translation device of claim 17, wherein the processor instructions further cause the processor to generate a notification for the user, wherein the notification comprises at least one of warning of incorrect decoding and inability to support an attribute of the at least one attribute.

### Claim 19

A non-transitory computer-readable storage medium having stored thereon, a set of computer-executable instructions causing a computer comprising one or more processors to perform steps comprising:
processing, by a translation device, an image comprising a text to generate a pattern associated with the text based on a trained Convolution Neural Network (CNN), wherein the text is in a source language;
mapping, by the translation device, the pattern to a word in a mapping table and at least one text attribute, based on a classifier network, wherein the word is in a target language;
initiating, by the translation device, an Optical Character Recognition (OCR) conversion for the pattern, when at least one of the mapping between at least one of the pattern and at least one word in the mapping table and the mapping between the pattern and the at least one text attribute is below a predefined threshold; and
performing, by the translation device, incremental learning for the trained CNN and the classifier network based on the OCR conversion.
