Method and system for extracting page text information to carry out internationalization test
The invention discloses a method for extracting page text information to carry out internationalization testing, and belongs to the technical field of information. The method comprises the following steps: acquiring character elements at all positions in a page, wherein the character elements at the...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
27.06.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a method for extracting page text information to carry out internationalization testing, and belongs to the technical field of information. The method comprises the following steps: acquiring character elements at all positions in a page, wherein the character elements at the same position comprise a primary language text and a secondary language text; judging whether the character types of the primary language text and the secondary language text at the same position accord with a preset character type or not; judging whether the character length of the corresponding secondary language text meets a preset length requirement or not according to the primary language text; and extracting all character elements identical to the main language text, and judging whether translation is consistent or not according to the secondary language text of the character elements. According to the method, the character information of all the elements in the page is traversed and extracted, the character |
---|---|
Bibliography: | Application Number: CN202310333373 |