# US 2026/0065022 A1 · Language detection and language translation evaluation for llms using raiops integrated llmops metrics

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

- Number: US 2026/0065022 A1
- Document ID: US20260065022A1
- Status: Published application
- Kind: A1
- Application number: 18/820,025
- Filed: 2024-08-29
- Published: 2026-03-05
- Earliest claimed: 2024-08-29
- Assignees: Accenture Global Solutions Limited
- Applicants: Accenture Global Solutions Limited
- Inventors: Kamakshi SUBRAMANIAM; Atish Shankar Ray
- Web page: https://patentgrep.com/patent/US20260065022A1

## CPC

- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Method, system, and computer-readable storage media for improving a language detection task and a language translation task of a Large Language model (LLM) are disclosed. In response to receiving data associated with a prompt, chunks are generated. Each of the chunks includes a subset of the data. A language of each chunk is identified using language detection libraries. A translation output is generated in a preferred target translation language using the LLM. The translation output is evaluated using metrics, each of the metrics evaluates the translation output for one or more translation quality aspects. A score value is generated for each numerical metric of the metrics. Further, a SAFE score value is generated, based upon the score value for each numerical metric of the metrics. Based on the SAFE score value meeting a predetermined threshold, the translation output is transmitted or presented.

## Claims

### Claim 1

A computer-implemented method for improving a language detection task and a language translation task of a Large Language model (LLM) comprising:
generating, by one or more processors in response to receiving data associated with a prompt, a plurality of chunks, each chunk of the plurality of chunks includes a subset of the data;
identifying, by the one or more processors, a language, of each chunk, using a plurality of language detection libraries;
generating, by the one or more processors using the LLM, a translation output in a preferred target translation language;
evaluating, by the one or more processors, the translation output using a plurality of metrics, each metric of the plurality of metrics evaluates the translation output for one or more translation quality aspects;
generating, by the one or more processors, a score value for each numerical metric of the plurality of metrics;
generating, by the one or more processors based upon the score value for each numerical metric of the plurality of metrics, a SAFE score value; and
causing, by the one or more processors based upon the SAFE score value that meets a predetermined threshold condition, the translation output to be transmitted or presented.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the subset of the data includes data associated with at least one sentence or a sequence of a preconfigured number of words.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising splitting the data into a plurality of sentences based upon a type of alphabets identified in the data.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising identifying and removing irrelevant information data from each chunk of the plurality of chunks.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the identifying comprises determining the language using at least one of a majority polling mechanism and a weighted majority polling mechanism.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the evaluating further comprises evaluating the translation output using a bootstrap resampling method for selecting evaluation data from the translation output.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more translation quality aspects comprises a precision, a recall, a semantic quality of the translation output, a synonymy, a paraphrasing, a word order, an under-translation, an over-translation, a number of insertions required, a number of deletes required, a number of substitutions required, a number of shifts required, information preserved or lost in the translation output, a fluency of the translation output, and a lexical quality of the translation output.

### Claim 8

A system for improving a language detection task and a language translation task of a Large Language Model (LLM), the system comprising:
at least one memory storing machine-executable instructions; and
at least one processor communicatively coupled with the at least one memory, wherein the at least one processor is configured to execute the machine-executable instructions to perform operations comprising:
generating, in response to receiving data associated with a prompt, a plurality of chunks, each chunk of the plurality of chunks includes a subset of the data;
identifying a language, of each chunk, using a plurality of language detection libraries;
generating, using the LLM, a translation output in a preferred target translation language;
evaluating the translation output using a plurality of metrics, each metric of the plurality of metrics evaluates the translation output for one or more translation quality aspects;
generating a score value for each numerical metric of the plurality of metrics;
generating, based upon the score value for each numerical metric of the plurality of metrics, a SAFE score value; and
causing, based upon the SAFE score value that meets a predetermined threshold condition, the translation output to be transmitted or presented.

### Claim 9 (depends on 8)

The system of claim 8, wherein the subset of the data includes data associated with at least one sentence or a sequence of a preconfigured number of words.

### Claim 10 (depends on 9)

The system of claim 9, wherein the operations further comprise splitting the data into a plurality of sentences based upon a type of alphabets identified in the data.

### Claim 11 (depends on 8)

The system of claim 8, wherein the operations further comprise identifying and removing irrelevant information data from each chunk of the plurality of chunks.

### Claim 12 (depends on 8)

The system of claim 8, wherein the identifying comprises determining the language using at least one of a majority polling mechanism and a weighted majority polling mechanism.

### Claim 13 (depends on 8)

The system of claim 8, wherein the evaluating further comprises evaluating the translation output using a bootstrap resampling method for selecting evaluation data from the translation output.

### Claim 14 (depends on 8)

The system of claim 8, wherein the one or more translation quality aspects comprises a precision, a recall, a semantic quality of the translation output, a synonymy, a paraphrasing, a word order, an under-translation, an over-translation, a number of insertions required, a number of deletes required, a number of substitutions required, a number of shifts required, information preserved or lost in the translation output, a fluency of the translation output, and a lexical quality of the translation output.

### Claim 15

A non-transitory computer-readable media comprising instructions stored thereon for improving a language detection task and a language translation task of a Large Language Model (LLM), wherein the instructions, when executed by at least one processor of a computing device, cause the computing device to perform operations comprising:
generating, in response to receiving data associated with a prompt, a plurality of chunks, each chunk of the plurality of chunks includes a subset of the data;
identifying a language, of each chunk, using a plurality of language detection libraries;
generating, using the LLM, a translation output in a preferred target translation language;
evaluating the translation output using a plurality of metrics, each metric of the plurality of metrics evaluates the translation output for one or more translation quality aspects;
generating a score value for each numerical metric of the plurality of metrics;
generating, based upon the score value for each numerical metric of the plurality of metrics, a SAFE score value; and
causing, based upon the SAFE score value that meets a predetermined threshold condition, the translation output to be transmitted or presented.

### Claim 16 (depends on 15)

The non-transitory computer-readable media of claim 15, wherein the subset of the data includes data associated with at least one sentence or a sequence of a preconfigured number of words, and wherein the operations further comprise splitting the data into a plurality of sentences based upon a type of alphabets identified in the data.

### Claim 17 (depends on 15)

The non-transitory computer-readable media of claim 15, wherein the operations further comprise identifying and removing irrelevant information data from each chunk of the plurality of chunks.

### Claim 18 (depends on 15)

The non-transitory computer-readable media of claim 15, wherein the identifying comprises determining the language using at least one of a majority polling mechanism and a weighted majority polling mechanism.

### Claim 19 (depends on 15)

The non-transitory computer-readable media of claim 15, wherein the evaluating further comprises evaluating the translation output using a bootstrap resampling method for selecting evaluation data from the translation output.

### Claim 20 (depends on 15)

The non-transitory computer-readable media of claim 15, wherein the one or more translation quality aspects comprises a precision, a recall, a semantic quality of the translation output, a synonymy, a paraphrasing, a word order, an under-translation, an over-translation, a number of insertions required, a number of deletes required, a number of substitutions required, a number of shifts required, information preserved or lost in the translation output, a fluency of the translation output, and a lexical quality of the translation output.
