# US 2012/0253786 A1 · System and methods for encoding and decoding multi-lingual text in a matrix code symbol

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

- Number: US 2012/0253786 A1
- Document ID: US20120253786A1
- Status: Published application
- Kind: A1
- Application number: 13/077,827
- Filed: 2011-03-31
- Published: 2012-10-04
- Earliest claimed: 2011-03-31
- Assignees: King Abdulaziz City for Science and Technology
- Inventors: Hussein K. Al-Omari; Mohammad S. Khorsheed
- Web page: https://patentgrep.com/patent/US20120253786A1

## CPC

- G06K 19/06037: {multi-dimensional coding}
- G06F 16/9554: {by using bar codes}
- G06F 40/10: Text processing (natural language analysis G06F40/20; semantic analysis G06F40/30; processing or translation of natural language G06F40/40)
- G06F 40/129: Handling non-Latin characters, e.g. kana-to-kanji conversion
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for encoding a multi-lingual text in a matrix code symbol includes receiving a multi-lingual text comprising Latin-based characters in a Latin-based language and non-Latin-based characters in a non-Latin-based language, converting the non-Latin-based characters in the multi-lingual text to index values to produce a pseudo text, and encoding the pseudo text in a matrix-code symbol. The conversion is based on a predefined mapping that converts the Unicode values of the non-Latin-based characters to index values having fewer digits than the corresponding Unicode values of the non-Latin-based characters.

## Claims

### Claim 1

A method for encoding a multi-lingual text in a matrix code symbol, comprising:
receiving, by a computer processor, a multi-lingual text comprising Latin-based characters in a Latin-based language and non-Latin-based characters in a non-Latin-based language;
converting, by the computer processor, the non-Latin-based characters in the multi-lingual text to index values to produce a pseudo text, wherein the conversion is based on a predefined mapping that converts the Unicode values of the non-Latin-based characters to index values having fewer digits than the corresponding Unicode values of the non-Latin-based characters; and
encoding the pseudo text in a matrix-code symbol.

### Claim 2 (depends on 1)

The method of claim 1, wherein at least some of the index values comprise two digits.

### Claim 3 (depends on 1)

The method of claim 1, wherein at least some of the index values comprise three digits.

### Claim 4 (depends on 1)

The method of claim 1, wherein the non-Latin-based language comprises Arabic, Urdu, or Farsi.

### Claim 5 (depends on 1)

The method of claim 1, wherein the Latin-based language comprises English, French, Spanish, German, or Italian.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
inserting one or more separation markers between the index values of the non-Latin-based characters and the Latin-based characters in the pseudo text.

### Claim 7 (depends on 6)

The method of claim 6, wherein the step of inserting one or more separation markers comprises:
inserting a first separation marker at the beginning of a non-Latin text comprising non-Latin-based characters in the pseudo text; and
inserting a second separation marker at the end of the non-Latin text in the pseudo text.

### Claim 8 (depends on 6)

The method of claim 6, wherein one or more punctuation marks are common to the non-Latin-based language and the Latin-based language, wherein the one or more punctuation marks are positioned among non-Latin-based characters, wherein the one or more separation markers are not inserted between the one or more punctuation marks and the adjacent non-Latin-based characters.

### Claim 9 (depends on 8)

The method of claim 8, wherein the one or more punctuation marks comprise ‘,’ ‘;’, and “?”.

### Claim 10 (depends on 1)

The method of claim 1, wherein the step of encoding comprises:
encoding the index values in the matrix-code symbol; and
converting the Latin-based characters in the pseudo text to Unicode values and ASCII values, which are encoded in the matrix-code symbol.

### Claim 11

A method for decoding a matrix code symbol that encodes a multi-lingual text, comprising:
decoding, by a computer processor, a matrix-code symbol to extract a pseudo text that includes a Latin-based characters and index values representing non-Latin-based characters, wherein the index values of the non-Latin-based characters have fewer digits than the respective Unicode values of the non-Latin-based characters according to a predefine mapping; and
converting the index values in the pseudo text to the non-Latin-based characters according to the predefine mapping to produce a multi-lingual text comprising the Latin-based characters and the non-Latin-based characters.

### Claim 12 (depends on 11)

The method of claim 11, wherein at least some of the index values comprise two digits.

### Claim 13 (depends on 11)

The method of claim 11, wherein at least some of the index values comprise three digits.

### Claim 14 (depends on 11)

The method of claim 11, wherein the non-Latin-based language comprises Arabic, Urdu, or Farsi.

### Claim 15 (depends on 11)

The method of claim 11, wherein the Latin-based language comprises English, French, Spanish, German, or Italian.

### Claim 16 (depends on 11)

The method of claim 11, further comprising:
identifying separation markers between the index values for the non-Latin-based characters and the Latin-based characters in the pseudo text before the step of decoding.

### Claim 17

A system for encoding a multi-lingual text in a matrix code symbol, comprising:
a computer storage configured to store a predefined mapping that converts the Unicode values of non-Latin-based characters in a non-Latin-based language to index values having fewer digits than the corresponding Unicode values of the non-Latin-based characters; and
one or more computer processors configured to receive a multi-lingual text comprising Latin-based characters in a Latin-based language and non-Latin-based characters in the non-Latin-based language, to convert the non-Latin-based characters in the multi-lingual text to the index values to produce a pseudo text according to the predefine mapping, and to encode the pseudo text in a matrix-code symbol.

### Claim 18 (depends on 17)

The system of claim 17, wherein the non-Latin-based language comprises Arabic, Urdu, or Farsi, wherein the Latin-based language comprises English, French, Spanish, German, or Italian.

### Claim 19 (depends on 17)

The system of claim 17, wherein the one or more computer processors are configured to insert one or more separation markers between the index values of the non-Latin-based characters and the Latin-based characters in the pseudo text.

### Claim 20 (depends on 17)

The system of claim 17, further comprising:
a printer configured to print the matrix-code symbol on an object.
