CN106055529A - Analytic system of text data to be translated in DWG-format files and analytic method thereof - Google Patents

Analytic system of text data to be translated in DWG-format files and analytic method thereof Download PDF

Info

Publication number
CN106055529A
CN106055529A CN201610359892.3A CN201610359892A CN106055529A CN 106055529 A CN106055529 A CN 106055529A CN 201610359892 A CN201610359892 A CN 201610359892A CN 106055529 A CN106055529 A CN 106055529A
Authority
CN
China
Prior art keywords
translated
text data
formatted file
dxf
dwg
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610359892.3A
Other languages
Chinese (zh)
Other versions
CN106055529B (en
Inventor
席斌
李明
王兴强
张马成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu excellent translation information technology Limited by Share Ltd
Original Assignee
CHENGDU URELITE INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHENGDU URELITE INFORMATION TECHNOLOGY Co Ltd filed Critical CHENGDU URELITE INFORMATION TECHNOLOGY Co Ltd
Priority to CN201610359892.3A priority Critical patent/CN106055529B/en
Publication of CN106055529A publication Critical patent/CN106055529A/en
Application granted granted Critical
Publication of CN106055529B publication Critical patent/CN106055529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Machine Translation (AREA)

Abstract

The invention discloses an analytic system of text data to be translated in DWG-format files and an analytic method thereof. The system is used for directly converting DWG-format files into DXF-format files, utilizing code features of DXF-format files to automatic extract text information of a DXF format. But, translators only need to directly translate text information. Without other complicated operation, Auto CAD software is not needed to be installed on equipment; and cost of Auto CAD software is avoided and translation cost is lowered.

Description

The resolution system of text data to be translated and analytic method thereof in DWG formatted file
Technical field
The present invention relates to document translation art.
Background technology
DWG formatted file is that a kind of drawing that AutoCAD foundes preserves form, has become as the reference format of D CAD, A lot of other CAD, for compatible AutoCAD, the most directly use DWG working document by default.When people make drawing except A lot of mark property or illustrative text message it is additionally provided with in drawing outside figure, when information is mutual, often due to language Difference, again derive after needing the text message in DWG formatted file is carried out translation process, prior art is to DWG form The translation processing mode of file is: translator needs to install Auto CAD software, is then introduced into needing the DWG form literary composition of translation Part, then uses this software the text data needing translation to be won out from DWG formatted file, then turns over word Translate, use Auto CAD software that corresponding translation is backfilled in drawing after having translated.The production to user of the whole operation There are large effect cost and production time, especially translate after the winning and translate of front text data the process operation of backfill very Loaded down with trivial details, take a large amount of human resources, also can increase the probability of mistake generation, make troubles to the translation of DWG drawing.
Summary of the invention
It is an object of the invention to provide the data analyzing system of a kind of DWG formatted file and analytic method and process side thereof Method, this system is directly changed DWG formatted file into DXF formatted file, is utilized the encoding characteristics of DXF formatted file, to DXF form Text message in file completes automatically to extract, it is not necessary to other complex operations, and equipment, also without installing Auto CAD software, is kept away Exempt from the paying of Auto CAD software, reduce translation cost.
The present invention is achieved through the following technical solutions:
The resolution system of text data to be translated in DWG formatted file,
Including: for receiving the device of DWG formatted file,
For DWG formatted file being converted to the device of DXF formatted file,
For identifying and extracting the device of text data to be translated in DXF formatted file,
For identifying and extracting the device of the positional information of text data to be translated in DXF file,
For storing the device of the positional information of text data to be translated and text data to be translated.
The operation principle of described resolution system is: DXF formatted file be autodesk, inc. exploitation for AutoCAD And carry out the cad data file form of cad data exchange between other software, can be by prior art directly by DWG form File is converted to DXF formatted file, and DXF is the vector data form of a kind of opening, and DXF formatted file is ASCII fromat, DXF " data to " structure that formatted file is made up of a lot " codes " and " value " forms, and code here is referred to as " group code " (group code), it is intended that the type of value thereafter and purposes.Each group of code and value are necessary for single a line.DXF file Being organized into multiple " section " (section), each section starts with group code " 0 " and character string, followed by group code and expression section The character string of name.The centre of section, it is possible to use the element in group code and value definition phase.The present invention is by DXF formatted file " group code " and " group code value " identifies which is text data to be translated, then can extract the inside text data to be translated and The positional information of text data to be translated and other information (other information refer to: the size of such as text data, font type, Color etc., other information do not Qiang Zhiyaoqiu and extract), reach the purpose utilizing machine to extract text data to be translated, reduce Cost of labor, reduces extracted data error probability.
Completing above-mentioned to resolving after DWG formatted file, we have only to according to the text data to be translated parsed, right These text datas to be translated carry out translation and form the translation data corresponding with text data to be translated, and final recycling is to be translated Translation data are backfilling in DXF formatted file by the positional information of text data, then to having the DXF formatted file of translation data Carry out conversion and form the cad data file form derivation with translation data.
Preferably, described DXF formatted file is the DXF formatted file of ACS II code form.
Preferably, described DWG formatted file is the DWG formatted file with text message.General, be directed to incited somebody to action Text message did and turned the drawing (text message is converted into graphical information) that song processes, and this method and system can not make identification Operation subsequently, can transfer the DWG formatted file possessing text message to for the drawing after turning song process by this kind of drawing.
Preferably, also include for DWG formatted file is converted into SVG formatted file in Web page preview drawing make Preview drawing device.By the way of calling DWG to SVG Converter, DWG formatted file can be converted into SVG Form is for preview drawing in translation process.
Preferably, SVG formatted file is embedded html page in order to realize at web preview drawing by preview drawing device.
Described DWG formatted file is the DWG formatted file with text message.
Identify and the mode of text data to be translated in DXF formatted file of extracting is: in progressive scan DXF formatted file Organize code and organize the group code value that code is corresponding, identify in scanning process and extract the group code value representing text data to be translated.
Identify and the mode of the positional information of text data to be translated in DXF file of extracting is: progressive scan DXF form literary composition Organizing code and organizing the group code value that code is corresponding in part, identifies in scanning process and extracts the position letter representing text data to be translated The group code value of breath.
The analytic method of text data to be translated in DWG formatted file, comprises the following steps:
Transfer the step of DWG formatted file;
DWG formatted file is converted to the format conversion step of DXF formatted file;
Organizing code and organizing the step of group code value corresponding to code in progressive scan DXF formatted file, identifies in scanning process and carries Take the group code value representing text data to be translated, identify simultaneously and extract the positional information representing corresponding with text data to be translated Group code value, obtain text data to be translated, the positional information of text data to be translated with this;
The step that the positional information of text data to be translated and text data to be translated is stored.
Further comprising the steps of: when obtaining text data to be translated, simultaneously by text data to be translated at DXF formatted file In position mark and the text data type of labelling text data to be translated.
According to above-mentioned resolution system, we have also been devised the processing system of DWG formatted file translation data,
Including: for receiving the device of DWG formatted file,
For DWG formatted file being converted to the device of DXF formatted file,
For identifying and extracting the device of text data to be translated in DXF formatted file,
For identifying and extracting the device of the positional information of text data to be translated in DXF file,
For storing the device of the positional information of text data to be translated and text data to be translated,
Also include: for calling text data to be translated to the device of translating equipment,
For the translating equipment of translation, translating equipment is raw by human translation or machine translation after receiving text data to be translated Become the translation data corresponding with text data to be translated,
For storing the device of translation data,
Also include: for obtaining text data to be translated, the positional information of text data to be translated and text data pair to be translated The translation data answered, DXF formatted file and by translation data corresponding for text data to be translated according to text data to be translated Device in positional information write DXF formatted file,
For the DXF formatted file of write translation data being converted into the device of the DWG formatted file with translation data,
For deriving the device of the DWG formatted file with translation data.
The design principle of the processing system of the present invention above-mentioned DWG formatted file translation data is: utilize DXF formatted file, Completing the extraction work to the text data to be translated in DWG formatted file, DXF formatted file is autodesk, inc.'s exploitation The cad data file form for carrying out cad data exchange between AutoCAD and other software, DXF is the arrow of a kind of opening Amount data form, DXF formatted file is divided into ASCII fromat and binary format, and DXF formatted file is by a lot " codes " " data to " structure that " value " forms forms, and code here is referred to as " group code " (group code), it is intended that value thereafter Type and purposes.Each group of code and value are necessary for single a line.DXF file is organized into multiple " section " (section), Each section starts with group code " 0 " and character string, followed by group code and the character string of expression section name.The centre of section, it is possible to use Element in group code and value definition phase.
By " the group code " and " group code value " in DXF formatted file, the present invention identifies which is text data to be translated, Then text data to be translated and the positional information of text data to be translated and other information (such as text of the inside can be extracted The size of data, font type, color etc., other information do not Qiang Zhiyaoqiu and extract), then to these textual data to be translated The translation data corresponding with text data to be translated, the final position letter recycling text data to be translated is formed according to carrying out translation Breath translation data are backfilling in DXF formatted file, then the DXF formatted file with translation data is carried out change formation have The cad data file form of translation data is derived.
Preferably, the device deriving the DWG formatted file with translation data exports two kinds of DWG lattice with translation data Formula file, the first is the DWG formatted file with pure translation, and the second has translation and has text data to be translated DWG formatted file.
The processing method of DWG formatted file translation data, comprises the following steps:
Analyzing step: after DWG formatted file is converted to DXF formatted file, extracts the textual data to be translated in DXF formatted file According to the positional information with text data to be translated;
Translation steps: called by text data to be translated in predetermined translating equipment, is generated by human translation or machine translation The translation data corresponding with text data to be translated;
Translation write step: translation data are write DXF formatted file according to the positional information of corresponding text data to be translated The position of middle correspondence so that DXF formatted file is the DXF formatted file with translation data;
Translate rear DWG formatted file and derive step: the DXF formatted file with translation data is converted into there are translation data DWG formatted file is also derived.
Preferably, text data to be translated, particularly as follows: use Shift Method, is directly replaced to translation number by translation write step According to.
Preferably, translation write step, particularly as follows: retain text data to be translated, is believed with the position of text data to be translated Cease and use branch's wrting method for reference value, translation is write.
The present invention compared with prior art, has such advantages as and beneficial effect: can improve and turn over DWG formatted file Translate efficiency, it is not necessary to open Auto CAD software, reduce translation cost, it is not necessary to artificial extraction text data to be translated, reduce Labor intensity, it is to avoid extract text data to be translated and make mistakes.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing being further appreciated by the embodiment of the present invention, constitutes of the application Point, it is not intended that the restriction to the embodiment of the present invention.In the accompanying drawings:
Fig. 1 is the schematic flow sheet of the positional information extracting cypher text data and text data to be translated.
Fig. 2 is group code and the exemplary plot of group code value of DXF formatted file.
Fig. 3 is the schematic flow sheet of translation process.
Fig. 4 is the schematic flow sheet of DWG formatted file after generation is translated.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, to this Invention is described in further detail, and the exemplary embodiment of the present invention and explanation thereof are only used for explaining the present invention, do not make For limitation of the invention.
Embodiment 1:
The resolution system of text data to be translated in DWG formatted file,
Including: for receiving the device of DWG formatted file,
For DWG formatted file being converted to the device of DXF formatted file,
For identifying and extracting the device of text data to be translated in DXF formatted file,
For identifying and extracting the device of the positional information of text data to be translated in DXF file,
For storing the device of the positional information of text data to be translated and text data to be translated.
The operation principle of described resolution system is: DXF formatted file be autodesk, inc. exploitation for AutoCAD And carry out the cad data file form of cad data exchange between other software, can be by prior art directly by DWG form File is converted to DXF formatted file, and DXF is the vector data form of a kind of opening, and DXF formatted file is ASCII fromat, DXF " data to " structure that formatted file is made up of a lot " codes " and " value " forms, and code here is referred to as " group code " (group code), it is intended that the type of value thereafter and purposes.Each group of code and value are necessary for single a line.DXF file Being organized into multiple " section " (section), each section starts with group code " 0 " and character string, followed by group code and expression section The character string of name.The centre of section, it is possible to use the element in group code and value definition phase.The present invention is by DXF formatted file " group code " and " group code value " identifies which is text data to be translated, then can extract the inside text data to be translated and The positional information of text data to be translated and other information (other information refer to: the size of such as text data, font type, Color etc., other information do not Qiang Zhiyaoqiu and extract), reach the purpose utilizing machine to extract text data to be translated, reduce Cost of labor, reduces extracted data error probability.
Completing above-mentioned to resolving after DWG formatted file, we have only to according to the text data to be translated parsed, right These text datas to be translated carry out translation and form the translation data corresponding with text data to be translated, and final recycling is to be translated Translation data are backfilling in DXF formatted file by the positional information of text data, then to having the DXF formatted file of translation data Carry out conversion and form the cad data file form derivation with translation data.
Preferably, described DXF formatted file is the DXF formatted file of ACS II code form.
Preferably, described DWG formatted file is the DWG formatted file with text message.General, be directed to incited somebody to action Text message did and turned the drawing (text message is converted into graphical information) that song processes, and this method and system can not make identification Operation subsequently, can transfer the DWG formatted file possessing text message to for the drawing after turning song process by this kind of drawing.
Preferably, also include for DWG formatted file is converted into SVG formatted file in Web page preview drawing make Preview drawing device.By the way of calling DWG to SVG Converter, DWG formatted file can be converted into SVG Form is for preview drawing in translation process.
Preferably, SVG formatted file is embedded html page in order to realize at web preview drawing by preview drawing device.
Described DWG formatted file is the DWG formatted file with text message.
Identify and the mode of text data to be translated in DXF formatted file of extracting is: in progressive scan DXF formatted file Organize code and organize the group code value that code is corresponding, identify in scanning process and extract the group code value representing text data to be translated.
Identify and the mode of the positional information of text data to be translated in DXF file of extracting is: progressive scan DXF form literary composition Organizing code and organizing the group code value that code is corresponding in part, identifies in scanning process and extracts the position letter representing text data to be translated The group code value of breath.
Embodiment 2:
As it is shown in figure 1, the analytic method of text data to be translated in DWG formatted file, comprise the following steps:
Transfer the step of DWG formatted file;
DWG formatted file is converted to the format conversion step of DXF formatted file;
Organizing code and organizing the step of group code value corresponding to code in progressive scan DXF formatted file, identifies in scanning process and carries Take the group code value representing text data to be translated, identify simultaneously and extract the positional information representing corresponding with text data to be translated Group code value, obtain text data to be translated, the positional information of text data to be translated with this;
The step that the positional information of text data to be translated and text data to be translated is stored.
Such as Fig. 1 and Fig. 2, in resolving, after DWG formatted file is converted to DXF formatted file, and DXF form is civilian Being made up of, as shown in Figure 2 group code and group code value of part: the code in Fig. 2 illustrates how DXF formatted file organizes a single file The data (group code and group code value) of text.When resolving DXF formatted file, progressively scan DXF formatted file content, such as Fig. 2 institute Show, when read " 0, TEXT " this to group code and group code value time, it is possible to determine that the data read are to represent a single file literary composition This, when read " 1 " this group code time learn this group code value " MINISTERIO DE PLANIFICACION FEDERAL, INVERSION " it is the program text data to be translated that needs to extract, extracting while text data to be translated in systems Specific data structure preserves the positional information at whole DXF file of plaintext data, can obtain shown to be translated from Fig. 2 The positional information of text data be " coordinate be (-153.5092862294951,579.433621858247), (- 153.5092862294951,581.4336218582471) ", obtain text data to be translated and text data to be translated with this Positional information.Finally run into second 100, when AcDbText group code and group code value, terminate the reading behaviour of this section of single file text Make.The type information of text data to be translated can be obtained when needing.Type information refers generally to text data to be translated Size, color, the text characteristics such as font.Finally, further comprising the steps of: when obtaining text data to be translated, will treat simultaneously Cypher text data position in DXF formatted file marks and the text data type of labelling text data to be translated, The text data to be translated that will obtain from DXF file, the positional information of text data to be translated preserve to data base.Above-mentioned Operate and i.e. completed analyzing step.
Embodiment 3:
The processing system of DWG formatted file translation data is realized according to embodiment 1,
Including: for receiving the device of DWG formatted file,
For DWG formatted file being converted to the device of DXF formatted file,
For identifying and extracting the device of text data to be translated in DXF formatted file,
For identifying and extracting the device of the positional information of text data to be translated in DXF file,
For storing the device of the positional information of text data to be translated and text data to be translated,
Also include: for calling text data to be translated to the device of translating equipment,
For the translating equipment of translation, translating equipment is raw by human translation or machine translation after receiving text data to be translated Become the translation data corresponding with cypher text data,
For storing the device of translation data,
Also include: for obtaining text data to be translated, the positional information of text data to be translated and text data pair to be translated The translation data answered, DXF formatted file and by translation data corresponding for text data to be translated according to text data to be translated Device in positional information write DXF formatted file,
For the DXF formatted file of write translation data being converted into the device of the DWG formatted file with translation data,
For deriving the device of the DWG formatted file with translation data.
The design principle of such scheme of the present invention is: utilize DXF formatted file, completes to turn over treating in DWG formatted file The extraction work of translation notebook data, DXF formatted file be autodesk, inc.'s exploitation for AutoCAD and other software it Between carry out the cad data file form of cad data exchange, DXF is the vector data form of a kind of opening, and DXF formatted file divides For ASCII fromat and binary format, " data to " structure that DXF formatted file is made up of a lot " codes " and " value " Forming, code here is referred to as " group code " (group code), it is intended that the type of value thereafter and purposes.Each group of code and value must Must be single a line.DXF file is organized into multiple " section " (section), opens with group code " 0 " and character string for each section Head, followed by group code and the character string of expression section name.The centre of section, it is possible to use the element in group code and value definition phase.
By " the group code " and " group code value " in DXF formatted file, the present invention identifies which is text data to be translated, Then text data to be translated and the positional information of text data to be translated and other information (such as text of the inside can be extracted The size of data, font type, color etc., other information do not Qiang Zhiyaoqiu and extract), then to these textual data to be translated The translation data corresponding with text data to be translated, the final position letter recycling text data to be translated is formed according to carrying out translation Breath translation data are backfilling in DXF formatted file, then the DXF formatted file with translation data is carried out change formation have The cad data file form of translation data is derived.
Preferably, described DXF formatted file is the DXF formatted file of ACS II code form.
Preferably, described DWG formatted file is the DWG formatted file with text message.General, be directed to incited somebody to action Text message did and turned the drawing (text message is converted into graphical information) that song processes, and this method and system can not make identification Operation subsequently, can transfer the DWG formatted file possessing text message to for the drawing after turning song process by this kind of drawing.
Preferably, also include for DWG formatted file is converted into SVG formatted file in Web page preview drawing make Preview drawing device.By the way of calling DWG to SVG Converter, DWG formatted file can be converted into SVG Form is for preview drawing in translation process.
Preferably, SVG formatted file is embedded html page in order to realize at web preview drawing by preview drawing device.
Preferably, the translation process of described translating equipment is all to carry out on web.
Preferably, the device deriving the DWG formatted file with translation data exports two kinds of DWG lattice with translation data Formula file, the first is the DWG formatted file with pure translation, and the second has translation and has text data to be translated DWG formatted file.
Embodiment 4:
As Figure 1-Figure 4, the processing method of DWG formatted file translation data, comprise the following steps:
Analyzing step: after DWG formatted file is converted to DXF formatted file, extracts the textual data to be translated in DXF formatted file According to the positional information with text data to be translated;
Translation steps: called by text data to be translated in predetermined translating equipment, is generated by human translation or machine translation The translation data corresponding with text data to be translated;
Translation write step: translation data are write DXF formatted file according to the positional information of corresponding text data to be translated The position of middle correspondence so that DXF formatted file is the DXF formatted file with translation data;
Translate rear DWG formatted file and derive step: the DXF formatted file with translation data is converted into there are translation data DWG formatted file is also derived.
Specifically:
As shown in Figure 1 and Figure 2,
In analyzing step, after DWG formatted file is converted to DXF formatted file, and DXF formatted file by group code and group code Value is constituted, as shown in Figure 2: the code in Fig. 2 illustrates how DXF formatted file organizes data (the group code of a single file text With group code value).
When resolving DXF formatted file, progressively scan DXF formatted file content, as in figure 2 it is shown, ought read " 0, TEXT " this is to when organizing code and group code value, it is possible to determine that and the data read are to represent a single file text, when reading " 1 " Learn that the value " MINISTERIO DE PLANIFICACION FEDERAL, INVERSION " of this group code is journey during this group code Sequence needs the text data to be translated extracted, in extracting while text data to be translated specific data structure in systems Preserve the positional information at whole DXF file of plaintext data, the position of shown text data to be translated can be obtained from Fig. 2 Information be " coordinate be (-153.5092862294951,579.433621858247), (-153.5092862294951, 581.4336218582471) ", obtain text data to be translated and the positional information of text data to be translated with this.Finally meeting To second 100, when AcDbText group code and group code value, terminate the read operation of this section of single file text.Can when needing Obtain the type information of text data to be translated.Type information refers generally to the literary compositions such as the size of text data to be translated, color, font This characteristic.
Finally, by from DXF file obtain text data to be translated, text data to be translated positional information preserve to Data base.Aforesaid operations completes i.e. to complete analyzing step.
As it is shown on figure 3, then carry out translating operation, by text data to be translated, i.e. " MINISTERIO DE PLANIFICACION FEDERAL, INVERSION " take out in predetermined translating equipment, by human translation or machine Device translation generates the translation data corresponding with text data to be translated;The translation data that this text data to be translated is corresponding are " connection Nation's Ministry of Public Health planning, investment " (being Chinese translation data here, it is also possible to translate into other languages).The above-mentioned translation of final storage Data, also establish the relation of above-mentioned translation data and corresponding text data to be translated simultaneously.So far translating operation can be completed.
As shown in Figure 4, text data to be translated-" MINISTERIO DE PLANIFICACION is first obtained FEDERAL, INVERSION ", translation data-" federal Ministry of Public Health planning, investment ", text data to be translated positional information- " coordinate be (-153.5092862294951,579.433621858247), (-153.5092862294951, 581.4336218582471) ", by translation data-" federal Ministry of Public Health planning, investment " according to the position of text data to be translated Information-" coordinate be (-153.5092862294951,579.433621858247), (-153.5092862294951, 581.4336218582471) " it is filled in DXF formatted file, it is thus achieved that there are the DXF lattice of " federal Ministry of Public Health planning, investment " Formula file, have the most at last the DXF formatted file of " federal Ministry of Public Health planning, investment " be converted into and have " federal Ministry of Public Health planning, Investment " DWG formatted file and derive.The most just complete write and the derivation of translation.
Embodiment 5: the present embodiment is with the difference of embodiment 4: preferably, translation write step is particularly as follows: use and replace Change method, text data to be translated is directly replaced to translation data.Illustrate: Shift Method refer to by translation data directly according to The positional information of text data to be translated is written in DXF formatted file, does not has textual data to be translated in DXF formatted file According to, final derive DWG formatted file in there is no text data to be translated yet.
Embodiment 6: the present embodiment is with the difference of embodiment 4: preferably, translation write step is particularly as follows: retain and treat Cypher text data, use branch's wrting method with the positional information of text data to be translated for reference value, are write by translation.Above-mentioned The explanation of operation: wrting method refers to first according to the positional information after the positional information calculation branch of text data to be translated in lines, Translation data are directly written in DXF formatted file according to the positional information after branch, have to be translated in DXF formatted file Text data, also have translation data, the final DWG formatted file derived needs cypher text data, also have translation data.Lift Example illustrates, as a example by text data to be translated " China ", the positional information of " China " is that " origin coordinates (X1, Y1), terminal is sat Mark (X2, Y2) ", we can first calculate branch after positional information for " origin coordinates (Xf1, Yf1), terminal point coordinate (Xf2, Yf2) ", then translation data " Chinese " are write in DXF formatted file according to the positional information after above-mentioned branch by we, so Just complete the write of above-mentioned translation, and original text data to be translated still in DXF formatted file.
Above-described detailed description of the invention, has been carried out the purpose of the present invention, technical scheme and beneficial effect further Describe in detail, be it should be understood that the detailed description of the invention that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, all within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. done, all should comprise Within protection scope of the present invention.

Claims (9)

  1. The resolution system of text data to be translated in 1.DWG formatted file, it is characterised in that
    Including: for receiving the device of DWG formatted file,
    For DWG formatted file being converted to the device of DXF formatted file,
    For identifying and extracting the device of text data to be translated in DXF formatted file,
    For identifying and extracting the device of the positional information of text data to be translated in DXF file,
    For storing the device of the positional information of text data to be translated and text data to be translated.
  2. The resolution system of text data to be translated in DWG formatted file the most according to claim 1, it is characterised in that institute State the DXF formatted file that DXF formatted file is ACS II code form.
  3. The resolution system of text data to be translated in DWG formatted file the most according to claim 1, it is characterised in that described DWG formatted file is the DWG formatted file with text message.
  4. The resolution system of text data to be translated in DWG formatted file the most according to claim 1, it is characterised in that also Including for DWG formatted file being converted into the SVG formatted file preview drawing device for preview drawing in Web page.
  5. The resolution system of text data to be translated in DWG formatted file the most according to claim 4, it is characterised in that pre- SVG formatted file is embedded html page in order to realize at web preview drawing by drawing device of looking at.
  6. The resolution system of text data to be translated in DWG formatted file the most according to claim 1, it is characterised in that know With the mode of text data to be translated in extraction DXF formatted file it is not: the group code in progressive scan DXF formatted file and group code Corresponding group code value, identifies in scanning process and extracts the group code value representing text data to be translated.
  7. The resolution system of text data to be translated in DWG formatted file the most according to claim 1, it is characterised in that know With the mode of the positional information of text data to be translated in extraction DXF file it is not: the group code in progressive scan DXF formatted file And the group code value that group code is corresponding, in scanning process, identify and extract the group code of the positional information representing text data to be translated Value.
  8. The analytic method of text data to be translated in 8.DWG formatted file, it is characterised in that: comprise the following steps:
    Transfer the step of DWG formatted file;
    DWG formatted file is converted to the format conversion step of DXF formatted file;
    Organizing code and organizing the step of group code value corresponding to code in progressive scan DXF formatted file, identifies in scanning process and carries Take the group code value representing text data to be translated, identify simultaneously and extract the positional information representing corresponding with text data to be translated Group code value, obtain text data to be translated, the positional information of text data to be translated with this;
    The step that the positional information of text data to be translated and text data to be translated is stored.
  9. 9. based on the analytic method of text data to be translated in the DWG formatted file described in claim 8, it is characterised in that: also Comprise the following steps: when obtaining text data to be translated, the text data to be translated position in DXF formatted file is done simultaneously Upper labelling the text data type of labelling text data to be translated.
CN201610359892.3A 2016-05-27 2016-05-27 The resolution system and its analytic method of text data to be translated in DWG formatted file Active CN106055529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610359892.3A CN106055529B (en) 2016-05-27 2016-05-27 The resolution system and its analytic method of text data to be translated in DWG formatted file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610359892.3A CN106055529B (en) 2016-05-27 2016-05-27 The resolution system and its analytic method of text data to be translated in DWG formatted file

Publications (2)

Publication Number Publication Date
CN106055529A true CN106055529A (en) 2016-10-26
CN106055529B CN106055529B (en) 2019-04-23

Family

ID=57176057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610359892.3A Active CN106055529B (en) 2016-05-27 2016-05-27 The resolution system and its analytic method of text data to be translated in DWG formatted file

Country Status (1)

Country Link
CN (1) CN106055529B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114004908A (en) * 2021-11-01 2022-02-01 中筑创联建筑科技(北京)有限公司 Implementation method for simplifying DWG two-dimensional engineering drawing
CN116932499A (en) * 2023-08-15 2023-10-24 天河智造(北京)科技股份有限公司 Method for modifying labels of DWG format files in batches

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05334351A (en) * 1992-05-28 1993-12-17 Matsushita Electric Ind Co Ltd Machine translating system
CN101539910A (en) * 2009-01-15 2009-09-23 传神联合(北京)信息技术有限公司 A sentence taking method for computer aided translation and system thereof
CN102193914A (en) * 2011-05-26 2011-09-21 中国科学院计算技术研究所 Computer aided translation method and system
CN104679814A (en) * 2014-12-05 2015-06-03 沈阳航空航天大学 Management method of graphs based on dwg and dxf file formats
CN104933041A (en) * 2015-06-25 2015-09-23 武汉传神信息技术有限公司 File extraction and reduction method favorable for translation work

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05334351A (en) * 1992-05-28 1993-12-17 Matsushita Electric Ind Co Ltd Machine translating system
CN101539910A (en) * 2009-01-15 2009-09-23 传神联合(北京)信息技术有限公司 A sentence taking method for computer aided translation and system thereof
CN102193914A (en) * 2011-05-26 2011-09-21 中国科学院计算技术研究所 Computer aided translation method and system
CN104679814A (en) * 2014-12-05 2015-06-03 沈阳航空航天大学 Management method of graphs based on dwg and dxf file formats
CN104933041A (en) * 2015-06-25 2015-09-23 武汉传神信息技术有限公司 File extraction and reduction method favorable for translation work

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘冲亚: "浅谈计算机辅助翻译TRADOS的优势", 《科技视界》 *
黄洋: "使用AutoCAD读取Ovation组态图参数", 《东北电力技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114004908A (en) * 2021-11-01 2022-02-01 中筑创联建筑科技(北京)有限公司 Implementation method for simplifying DWG two-dimensional engineering drawing
CN116932499A (en) * 2023-08-15 2023-10-24 天河智造(北京)科技股份有限公司 Method for modifying labels of DWG format files in batches
CN116932499B (en) * 2023-08-15 2024-02-20 天河智造(北京)科技股份有限公司 Method for modifying labels of DWG format files in batches

Also Published As

Publication number Publication date
CN106055529B (en) 2019-04-23

Similar Documents

Publication Publication Date Title
CN106021242A (en) Write-back system of drawing interpretation data in DWG format and write-back method thereof
CN104933041B (en) A kind of file beneficial to translation is extracted and restoring method
US11756323B2 (en) Method of automatically recognizing and classifying design information in imaged PID drawing and method of automatically creating intelligent PID drawing using design information stored in database
CN101996160B (en) Method and system for processing script data
JPH05307638A (en) Method for converting bit map image document into encoded data
CN101782896A (en) PDF character extraction method combined with OCR technology
CN109934227A (en) System for recognizing characters from image and method
CN105975451B (en) The processing system and its processing method of DWG formatted file translation data
CN110390324A (en) A kind of resume printed page analysis algorithm merging vision and text feature
CN105975461A (en) Method for newly adding translation in DWG format file
CN111767732A (en) Document content understanding method and system based on graph attention model
CN105630753A (en) Digitalized regulation upgrading and transformation method and system of nuclear power plant
CN106055529A (en) Analytic system of text data to be translated in DWG-format files and analytic method thereof
CN106021197B (en) The translation system and interpretation method of DWG formatted file
CN106649271A (en) Translation-based word document analysis method
CN111104159A (en) Annotation positioning method based on program analysis and neural network
CN104331665B (en) A kind of generation method for reviewing object code and target code generator can be reviewed
CN102629244B (en) Multi-language work card generating system and method
EP1202213A3 (en) Document format identification apparatus and method
CN103678284A (en) Method and device for translating page characters
CN116541912A (en) Method and device for generating wiring diagram based on CAD image recognition
CN105677718A (en) Character retrieval method and apparatus
CN115481643A (en) Method for highly reducing document style of translation draft in Internet online translation tool
KR102373358B1 (en) System for translating judicial precedents and method of translating judicial precedents
CN106844355A (en) A kind of date-time automatic translation control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 610000 Chengdu City, Sichuan Province, China (Sichuan) Free Trade Pilot Zone No. 401, No. 5, No. 599, South Century Road, Chengdu High-tech Zone, Chengdu

Patentee after: Chengdu excellent translation information technology Limited by Share Ltd

Address before: 610000, No. 1, building 107, 1 West Bauhinia Road, Chengdu hi tech Zone, Sichuan, 6

Patentee before: Chengdu Urelite Information technology Co., Ltd.

CP03 Change of name, title or address