CN109426667A - The interpretation method and device of air ticket classification CAT rule - Google Patents
The interpretation method and device of air ticket classification CAT rule Download PDFInfo
- Publication number
- CN109426667A CN109426667A CN201710717100.XA CN201710717100A CN109426667A CN 109426667 A CN109426667 A CN 109426667A CN 201710717100 A CN201710717100 A CN 201710717100A CN 109426667 A CN109426667 A CN 109426667A
- Authority
- CN
- China
- Prior art keywords
- cat
- rule
- ziwen
- air ticket
- text
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 108
- 238000013519 translation Methods 0.000 claims abstract description 147
- 238000000547 structure data Methods 0.000 claims description 14
- 241000544061 Cuculus canorus Species 0.000 claims description 10
- 230000008878 coupling Effects 0.000 claims description 3
- 238000010168 coupling process Methods 0.000 claims description 3
- 238000005859 coupling reaction Methods 0.000 claims description 3
- 230000007306 turnover Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 30
- 230000004048 modification Effects 0.000 abstract description 5
- 238000012986 modification Methods 0.000 abstract description 5
- 230000014616 translation Effects 0.000 description 117
- 230000008859 change Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000009434 installation Methods 0.000 description 6
- 241001269238 Data Species 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 101100494773 Caenorhabditis elegans ctl-2 gene Proteins 0.000 description 1
- 101100112369 Fasciola hepatica Cat-1 gene Proteins 0.000 description 1
- 101100005271 Neurospora crassa (strain ATCC 24698 / 74-OR23-1A / CBS 708.71 / DSM 1257 / FGSC 987) cat-1 gene Proteins 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005194 fractionation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/40—Processing or translation of natural language
- G06F40/58—Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
Abstract
The application discloses the interpretation method and device of air ticket classification CAT rule, wherein, use method provided by the present application that can originally translate the regular text in air ticket CAT rule text for the Ziwen of unit according to CAT, corresponding CAT sub-rule is obtained, all CAT sub-rule groups are finally combined into complete air ticket CAT rule.The rule text is unstructured data, and finally formed air ticket CAT rule is then structural data.The method that the application uses is the Ziwen sheet split into air ticket CAT rule text as unit of CAT, it is originally translated for single Ziwen, therefore, translation details can be separated inside process, code layer is only with the process of control translation, the details for not needing to pay close attention to each this translation of Ziwen, finally each sub-rule, which combines, can form complete air ticket CAT rule.Easy extension can be played using this method, it is easy to maintain, it therefore does not need to issue application again because not needing concern translation details, and can accomplish that modification comes into force in time.
Description
Technical field
This application involves the technical fields of regular text translation, and in particular to a kind of translation side of air ticket classification CAT rule
In addition method also relates to a kind of translating equipment of air ticket classification CAT rule.
Background technique
Air ticket is ordered from network in order to facilitate user, and many air ticket ordering platforms provide the function of ordering air ticket, but every
A airline has different air tickets and orders rule, and these rules will be inputted by GDS (global distribution system) interface
To different air ticket ordering platforms.But the express language that the air ticket of different airlines purchase rule uses is natural language
Description, and the typing habit of each airline is also inconsistent, without the literary style and standard that official is unified, causes different aviations
The regular different and description language of company does not have rule that can follow, and therefore, the air ticket known orders rule and needs to translate into meter
The language that calculation machine can be performed and use.
Wherein, using computer technology for this unstructured data more casual, the automatic useful information that carries out is mentioned
It takes, can be described as above-mentioned translation.But the interpretative system used in the prior art is incited somebody to action after entire regular text translation
Translation result and entire regular text store.The translation parsing of entire rule text needs a large amount of human resources to safeguard, more
As long as big problem is (may the be only more several skies for having the entire regular text of new rule and storage cannot to exactly match
The case where lattice), it is necessary to manpower intervention carries out translation parsing to new rule again.
Therefore, the problems such as it is scrappy to be faced with development logic for the prior art, and code is complicated, hardly possible maintenance, and due to it is various not
Know that descriptor format bring changes, results in the need for often modifying code, the problem of labor intensive resource etc..
Summary of the invention
The application provides a kind of interpretation method of air ticket classification CAT rule, to solve existing in the prior art above-mentioned ask
Topic.
In addition the application provides a kind of translating equipment of air ticket classification CAT rule.
The application provides a kind of interpretation method of air ticket classification CAT rule, this method comprises:
It determines the CAT for including in air ticket CAT rule text, includes and at least one CAT in the air ticket CAT rule text
Relevant regular data;
According to the determining CAT, the air ticket CAT rule text is split into the Ziwen sheet as unit of CAT;
Translation engine is called, the Ziwen is originally translated, the CAT cuckoo of the corresponding structuring of the Ziwen sheet is obtained
Then;
The corresponding CAT sub-rule of the Ziwen sheet is combined, the corresponding air ticket CAT rule of the air ticket CAT rule text are obtained
Then.
Optionally, it is previously provided with the script configuration file for the translation rule of configuration structure data;
The calling translation engine, originally translates the Ziwen, obtains the CAT of the corresponding structuring of the Ziwen sheet
Sub-rule, comprising:
The script configuration file is loaded using the translation engine, parsing obtains the translation rule of the structural data
Then;
Using the translation rule, the Ziwen is originally translated, obtains the CAT of the corresponding structuring of the Ziwen sheet
Sub-rule.
Optionally, the script configuration file is the script text that user is custom-configured according to custom script template
Part.
It optionally, include: for different classes of CAT in the translation rule of the structural data configured with corresponding CAT
The corresponding Ziwen of the CAT is originally translated as the CAT sub-rule of corresponding structuring by sub-rule.
Optionally, described is different classes of CAT configured in corresponding CAT sub-rule, and the configuration mode of use includes:
By way of regular expression, the CAT sub-rule of the structuring originally to match with the Ziwen is searched;
The CAT sub-rule for searching obtained structuring is allocated to corresponding Ziwen sheet.
Optionally, described to be configured in corresponding CAT sub-rule for different classes of CAT, when the Ziwen sheet is multiple,
Mode for the CAT sub-rule of Ziwen this configuration structureization includes:
Determine the priority orders between multiple Ziwen sheets;
The CAT sub-rule that the Ziwen originally configures corresponding structuring is followed successively by according to the priority orders.
Optionally, if in the air ticket CAT rule text including multiple CAT;Each CAT splits out multiple Ziwen sheets;
Priority orders between the multiple Ziwen sheets of determination, comprising: determine the multiple Ziwens split out in each CAT
Priority orders between this;
Configure the CAT sub-rule of corresponding structuring simultaneously for the Ziwen sheet in All factors being equal, preference will be give to grade sequence.
The application also provides a kind of interpretation method of air ticket classification CAT rule, this method comprises:
The CAT for including in the air ticket CAT rule text of airline's offer is provided, is wrapped in the air ticket CAT rule text
Containing regular data relevant at least one CAT;
According to the CAT for including in the air ticket CAT rule text, the air ticket CAT rule text is split into it is with CAT
The Ziwen sheet of unit;
Translation engine is called, the Ziwen is originally translated respectively, obtains the corresponding structuring CAT rule of the Ziwen sheet
Then;
The corresponding structuring CAT rule of the Ziwen sheet is combined, the air ticket CAT rule of the airline is obtained.
Optionally, it is previously provided with the script file of the translation rule for configuration structure data;
The calling translation engine, originally translates the Ziwen, obtains the CAT of the corresponding structuring of the Ziwen sheet
Sub-rule, comprising:
The script configuration file is loaded using the translation engine, parsing obtains the translation rule of the structural data
Then;
Using the translation rule, the Ziwen is originally translated, obtains the CAT of the corresponding structuring of the Ziwen sheet
Sub-rule.
The application also provides a kind of interpretation method of ticketing service classification CAT rule, and the ticketing service can be drawn according to classification CAT
Point, each CAT includes the relevant rule of ticketing service, comprising:
It determines the CAT for including in ticketing service CAT rule text, includes and at least one CAT in the ticketing service CAT rule text
Relevant regular data;
According to the CAT for including in the ticketing service CAT rule text, the ticketing service CAT rule text is split into it is with CAT
The Ziwen sheet of unit;
Translation engine is called, the Ziwen is originally translated respectively, obtains the corresponding structuring CAT rule of the Ziwen sheet
Then;
The corresponding structuring CAT rule of the Ziwen sheet is combined, the ticketing service CAT rule is obtained.
Optionally, it is previously provided with the script file of the translation rule for configuration structure data;
The calling translation engine, originally translates the Ziwen, obtains the CAT of the corresponding structuring of the Ziwen sheet
Sub-rule, comprising:
The script configuration file is loaded using the translation engine, parsing obtains the translation rule of the structural data
Then;
Using the translation rule, the Ziwen is originally translated, obtains the CAT of the corresponding structuring of the Ziwen sheet
Sub-rule.
The application also provides a kind of translating equipment of air ticket classification CAT rule, which includes:
Determination unit includes in the air ticket CAT rule text for determining the CAT for including in air ticket CAT rule text
Regular data relevant at least one CAT;
Split cells, for according to the determining CAT, the air ticket CAT rule text to be split into as unit of CAT
Ziwen sheet;
Call unit originally translates the Ziwen for calling translation engine, obtains the corresponding knot of the Ziwen sheet
The CAT sub-rule of structure;
Assembled unit obtains the air ticket CAT rule text pair for combining the corresponding CAT sub-rule of the Ziwen sheet
The air ticket CAT rule answered.
Optionally, the device further include:
Default unit, for being previously provided with the script file of the translation rule for configuration structure data;
The call unit includes:
Parsing subunit, for loading the script configuration file using the translation engine, parsing obtains the structure
Change the translation rule of data;
Subelement is translated, for utilizing the translation rule, the Ziwen is originally translated, obtaining the Ziwen, this is right
The CAT sub-rule for the structuring answered.
Optionally, the default unit includes:
Subelement is set, for being configured with corresponding CAT sub-rule for different classes of CAT, by the corresponding son of the CAT
Text is translated as the CAT sub-rule of corresponding structuring.
Optionally, the setting subelement includes:
Subelement is searched, for searching the structuring originally to match with the Ziwen by way of regular expression
CAT sub-rule;
Coupling subelement, for the CAT sub-rule for searching obtained structuring to be allocated to corresponding Ziwen sheet.
Optionally, when the Ziwen sheet is multiple;
The setting subelement includes:
Subelement is arranged in priority, for determining the priority orders between multiple Ziwen sheets;
Be arranged in order subelement, for being followed successively by the corresponding structuring of this configuration of Ziwen according to the priority orders
CAT sub-rule.
The application also provides a kind of translating equipment of air ticket classification CAT rule, which includes:
Determination unit, for determine airline provide air ticket CAT rule text in include CAT, the air ticket CAT
It include regular data relevant at least one CAT in regular text;
Split cells, for according to the CAT for including in the air ticket CAT rule text, by the air ticket CAT rule text
Split into the Ziwen sheet as unit of CAT;
Call unit respectively originally translates the Ziwen for calling translation engine, obtains this correspondence of Ziwen
Structuring CAT rule;
Assembled unit obtains the air ticket of the airline for combining the corresponding structuring CAT rule of the Ziwen sheet
CAT rule.
The application also provides a kind of translating equipment of ticketing service classification CAT rule, and the ticketing service can be drawn according to classification CAT
Point, each CAT includes the relevant rule of ticketing service, which includes:
Determination unit includes in the ticketing service CAT rule text for determining the CAT for including in ticketing service CAT rule text
Regular data relevant at least one CAT;
Split cells, for according to the CAT for including in the ticketing service CAT rule text, by the ticketing service CAT rule text
Split into the Ziwen sheet as unit of CAT;
Call unit respectively originally translates the Ziwen for calling translation engine, obtains this correspondence of Ziwen
Structuring CAT rule;
Assembled unit obtains the ticketing service CAT rule for combining the corresponding structuring CAT rule of the Ziwen sheet.
Compared with prior art, the application has the following advantages:
The application provides a kind of interpretation method of air ticket classification CAT rule, method includes the following steps: determining air ticket
The CAT for including in CAT rule text includes regular data relevant at least one CAT in the air ticket CAT rule text;
According to the determining CAT, the air ticket CAT rule text is split into the Ziwen sheet as unit of CAT;Translation is called to draw
It holds up, the Ziwen is originally translated, obtain the CAT sub-rule of the corresponding structuring of the Ziwen sheet;Combine the Ziwen sheet
Corresponding CAT sub-rule obtains the corresponding air ticket CAT rule of the air ticket CAT rule text.
Use this method provided by the present application can by the regular text in air ticket CAT rule text according to CAT for unit
Ziwen originally translated, obtain corresponding CAT sub-rule, all CAT sub-rule groups be finally combined into complete air ticket CAT
Rule.The rule text is unstructured data, and finally formed air ticket CAT rule is then structural data, therefore, is adopted
Realize that unstructured data is converted to the process of structural data with method provided by the present application.In addition, the side that the application uses
Method is the Ziwen sheet split into air ticket CAT rule text as unit of CAT, is originally translated for single Ziwen, therefore,
Translation details can be separated inside process, code layer only with the process of control translation, does not need to pay close attention to each Ziwen
The details of this translation, finally each sub-rule, which combines, can form complete air ticket CAT rule.In short, using should
Method can play easy extension, easy to maintain, therefore not need to issue application again because not needing concern translation details, and can
Accomplish that modification comes into force in time.
Detailed description of the invention
Fig. 1 is the flow chart of the interpretation method for the air ticket classification CAT rule that the application first embodiment provides.
Fig. 2 is the detailed process figure of the interpretation method for the air ticket classification CAT rule that the application first embodiment provides.
Fig. 3 is the schematic diagram of the translating equipment for the air ticket classification CAT rule that the application second embodiment provides.
Fig. 4 is the flow chart of the interpretation method for the air ticket classification CAT rule that the application 3rd embodiment provides.
Fig. 5 is the schematic diagram of the translating equipment for the air ticket classification CAT rule that the application fourth embodiment provides.
Fig. 6 is the flow chart of the interpretation method for the air ticket classification CAT rule that the 5th embodiment of the application provides.
Fig. 7 is the schematic diagram of the translating equipment for the air ticket classification CAT rule that the application sixth embodiment provides.
Specific embodiment
The application provides a kind of interpretation method of air ticket classification CAT rule, and this method can mainly be executed in server-side, institute
The process for stating the translation of air ticket classification CAT rule is really that unstructured data is translated as to the process of structural data, with side
Just computer carries out the processing and transmission of data using machine language.
Method provided by the present application is described in detail and is illustrated below by way of specific embodiment.
Fig. 1 is the flow chart of the interpretation method for the air ticket classification CAT rule that the application first embodiment provides.Please refer to figure
1, the interpretation method for the air ticket classification CAT rule that the application first embodiment provides, method includes the following steps:
Step S101, determines the CAT for including in air ticket CAT rule text, in the air ticket CAT rule text comprising with extremely
Few relevant regular data of a CAT.
The step is the process for the CAT for including in determining air ticket CAT rule text, also, under normal circumstances, the air ticket
It include regular data relevant to multiple CAT in CAT rule text.
The CAT is Category, classification, the meaning of classification, and each air ticket CAT indicates a certain piece relevant to air ticket
Business datum is as follows:
As can be seen from the above table, the data type that different air ticket CAT is characterized is different, for example, CAT0 refers to this
The range that freight rate is applicable in, the possible scope of application are limited to student, or are suitable only for the crowd that the age is more than 50 years old and use.
In another example CAT10 refers to the discounted cost of child or baby, in such purpose data, it is only applicable to child or baby
In the case where have discount.The case where can explicitly finding out different types of data representated by different CAT from upper table.
CAT rule can be understood as the data of each classification, these data describe how capable of being used for air ticket,
The condition used, so our these data are generally referred to as " rule ".Such as: the CAT1 data in upper table describe passenger
Identity, it, which may limit the rule used, is: this air ticket can be used in only student, or is suitable only for the age more than 50 years old
Crowd use.In another example the statement of CAT10 data is the limitation crowd of discount, what it was limited is that only child or baby can
To enjoy the discounted cost.It can also include the price limit of some pairs of air tickets in addition to the classification listed in upper table, air ticket is corresponding
The regular datas such as the limitation of admissible baggage wieight condition other unlisted classifications.
The classification of air ticket CAT regular data itself is it has been determined that each CAT title can be class name, classification the inside
Data be rule that air ticket uses, only the attribute of the air ticket product of each classification description is different, and the rule of air ticket
To be subordinated in one of classification.
In addition, the air ticket CAT rule that each airline sends is had nothing in common with each other, input mode may also be different, therefore,
Automatic machine translation is completed by method provided by the present application, different air ticket CAT rule texts is become to the machine of structuring
Ticket CAT rule, so as to greatly improve efficiency.
Above-mentioned translation process, which refers to, is translated as structural data (air ticket for unstructured data (air ticket CAT rule text)
CAT rule) process, be to be introduced and illustrate about the characteristic of structural data and unstructured data below.
In information-intensive society, information can be divided into two major classes.One category information can be subject to table with data or unified structure
Show, we term it structural datas, such as number, symbol;And another category information can not use number or unified representation, such as
Text, image, sound, webpage etc., we term it unstructured datas.And data one that are executable for computer and handling
As using structural data, and data source transmission is unstructured data in many cases, and facilitates computer
Processing and data management, generally require unstructured data being converted to structural data.
It is the introduction and explanation to air ticket CAT and structural data and unstructured data above, and is directed to the step,
The air ticket CAT rule text that different airlines send is that do not have regularity by natural language description, still, regardless of
It is that the CAT rule text which kind of mode describes will include at least one CAT, that is, each CAT rule text can be right
At least one CAT classification is answered, and each CAT classification corresponds to corresponding air ticket regular data.
In addition, method provided in this embodiment refers to air ticket classification CAT rule, therefore, the applicable scene of this method can
To be the describing mode and description language of the rule of the air ticket as used by each airline in the ticketing system for order air ticket
Deng difference, each air ticket ordering platform will get different airlines from global distribution system GDS interface and send
Air ticket rule.
Wherein, the GDS (global distribution system) is the mass computing applied to civil aviation transportation and entire tourist industry
Machine information service system.By GDS, transworld travel sale mechanism can be in time from airline, hotel, public affairs of hiring a car
Department, tourist corporation obtain largely information relevant to tourism, to provide quick, convenient, reliable service for customer.
Therefore, air ticket ordering platform can obtain the air ticket CAT rule text of different airlines from GDS interface,
Then the CAT for including in air ticket CAT rule text is determined.
After determining the CAT for including in air ticket CAT rule text, next step is needed to be implemented.
The air ticket CAT rule text is split into according to the determining CAT please continue to refer to Fig. 1, step S102
Ziwen sheet as unit of CAT.
The step is will to translate details to separate inside process, and code layer only needs to control the process of translation, is not required to
Pay close attention to the main implementation of the details of translation.
According to the determining CAT, the air ticket CAT rule text is split into the Ziwen sheet as unit of CAT, each
Data in CAT are different classes of regular datas, but regular data is data relevant to air ticket.
Therefore, after the step, it is not single according to CAT that complete air ticket CAT rule text will be divided into several
The Ziwen sheet that position separates, and each Ziwen will originally be translated in subsequent step, therefore, code layer only needs to control translation
Process, and the translation details of each Ziwen sheet will not interfere with the progress of translation flow.
Please continue to refer to Fig. 1, step S103, translation engine is called, the Ziwen is originally translated, the Ziwen is obtained
The CAT sub-rule of this corresponding structuring.
The step is will be corresponding to turn over to the process that each Ziwen of fractionation is originally translated by calling translation engine
Translate the CAT sub-rule the result is that each corresponding structuring of Ziwen sheet.
It is above-mentioned to be described on the whole by calling translation engine, obtain the mistake of the corresponding CAT sub-rule of each Ziwen sheet
Journey, and specifically, how can be described in detail by described below by the process of computer realization calling translation engine
And explanation.
The background of translation engine is introduced first: computer can not directly receive and execution is compiled with high-level language
The source program write, source program translate into the target program of machine language form by " interpretive program " when inputting computer, meter
Calculation machine could be identified and be executed.This " translation " usually there are two types of modes, i.e. compiling mode and interpretive mode.Compiling mode refers to
Using one finished in advance be known as compiler machine language program, be stored in computer as system software, when with
After the source program of high level language is inputted computer by family, compiler just entirely translates into source program and uses machine language
The target program of equal value therewith indicated, then computer executes the target program again, to complete source program operation to be processed
And obtain result.After interpretive mode refers to that source program enters computer, interpretive program is explained in scanning, inputs turn over sentence by sentence sentence by sentence
It translates, computer executes sentence by sentence, does not generate target program.
The translation engine can be realized using various ways, and the present embodiment provides a kind of most convenient quick ways, adopt
It is realized with the mode for presetting script configuration file.
The step is not involved in the progress of translation flow, pertains only to the translation detailed problem of each Ziwen sheet, and specifically uses
Each Ziwen is originally translated as the sub-rule of structuring, the interpretative system of use by which kind of mode are as follows: by being preset in advance
Mode of some for the script configuration file of the translation rule of configuration structure data is realized.Concrete implementation mode is as follows:
On the basis of being previously provided with the script configuration file for the translation rule of configuration structure data, accordingly
, the calling translation engine originally translates the Ziwen, obtains the CAT cuckoo of the corresponding structuring of the Ziwen sheet
Then, comprising: load the script configuration file using the translation engine, parsing obtains the translation rule of the structural data
Then;Using the translation rule, the Ziwen is originally translated, obtains the CAT cuckoo of the corresponding structuring of the Ziwen sheet
Then.
Since the script configuration file is the file for the translation rule of configuration structure data, the foot can be passed through
This configuration file parses the translation rule for learning the structural data, to be each Ziwen sheet using the translation rule
Find the sub-rule of corresponding structuring.
Specifically, the script configuration file is the script text that user is custom-configured according to custom script template
Part.
It should be noted that the custom script configuration file can be the configuration of xml custom script, or can also be with
The configuration of groovy custom script, it is, the load custom script, including load xml custom script or
Groovy custom script.The step of all translations, all configures in xml script, while also supporting the configuration of groovy script, from
And play the role of easily extending and being isolated variation.
It and include: for different classes of CAT in the translation rule of the structural data configured with corresponding CAT cuckoo
Then, the corresponding Ziwen of the CAT is originally translated as to the CAT sub-rule of corresponding structuring.
Specifically, described is different classes of CAT configured in corresponding CAT sub-rule, the configuration mode of use includes:
By way of regular expression, the CAT sub-rule of the structuring originally to match with the Ziwen is searched;The knot that lookup is obtained
The CAT sub-rule of structure is allocated to corresponding Ziwen sheet.
The regular expression is also known as regular expression.One concept of computer science, canonical table are usually used to inspection
Rope replaces those texts for meeting some mode (rule).Regular expression is a kind of logical formula to string operation, just
It is the combination with predefined some specific characters and these specific characters, forms one " regular character string ", this
" regular character string " is used to express a kind of filter logic to character string.Since the main application of regular expression is text,
Therefore it in various text editor occasions has application, it is same be relatively suitble in the present embodiment as unstructured data
Air ticket CAT rule text.
It can be allocated to corresponding Ziwen sheet for the CAT sub-rule of structuring by way of regular expression, so as to
Each Ziwen to be originally translated as to the CAT sub-rule of structuring.
In addition, during this translation of Ziwen, the problem of there is also the translation sequences of multiple Ziwen sheets, can be multiple
The case where Ziwen sheet is translated simultaneously regardless of sequencing, can be the case where successively translating sequentially in time.
For there is the case where sequencing, for example, in the information translation about travelling backhaul time and return interval,
Level that first can be high as priority using backhaul according to matching relationship, then inquires backhaul corresponding time, the time later
Inquiry be considered as the relationship of priority ratio backhaul low-level.Return interval is also as a same reason.Being divided according to level can be with
Clearly information is effectively translated.If first knowing the time, and to be uncertain be the time when, therefore, translation
Information out is also nonsensical.So the priority orders for using level progressive carry out translation and can provide most for user
The accurately information and data after translation.
Specifically, described be configured in corresponding CAT sub-rule for different classes of CAT, when the Ziwen sheet is multiple,
The priority orders between multiple Ziwen sheets are comprised determining that for the mode of the CAT sub-rule of Ziwen this configuration structureization;According to institute
It states priority orders and is followed successively by the CAT sub-rule that the Ziwen originally configures corresponding structuring.
Aforesaid way is followed successively by according to priority orders described by the priority orders between the multiple Ziwen sheets of determination
Ziwen originally configures the CAT sub-rule of corresponding structuring, that is, there is also the sequences of time for the translation of each Ziwen sheet, and is somebody's turn to do
Priority can set priority orders according to the critical order of Ziwen sheet, it then follows the rule that crucial Ziwen is originally preferentially translated
Then execute.
Other than above-mentioned determining priority orders configure corresponding sub-rule to sub- text, equal priority if it exists
In the case where sequence, it can be solved by the way of following:
If in the air ticket CAT rule text including multiple CAT;Each CAT splits out multiple Ziwen sheets.Correspondingly, institute
State the priority orders determined between multiple Ziwen sheets, comprising: determine excellent between the multiple Ziwen sheets split out in each CAT
First grade sequence;Configure the CAT sub-rule of corresponding structuring simultaneously for the Ziwen sheet in All factors being equal, preference will be give to grade sequence.
When multiple Ziwen sheets are in same priority sequence, then can be translated simultaneously with multiple Ziwen sheets, therefore, this implementation
Automatic translation not only may be implemented in the method that example provides, and can also improve the rate of translation.
Calling translation engine described above, originally translates the Ziwen, obtains the corresponding structure of the Ziwen sheet
The process of the CAT sub-rule of change, the process for combining multiple sub-rules is introduced in the next step and explanation.
Please continue to refer to Fig. 1, step S104, the corresponding CAT sub-rule of the Ziwen sheet is combined, the air ticket CAT is obtained
The corresponding air ticket CAT rule of regular text.
The step is the process that the multiple CAT sub-rules for finally obtaining step S103 are combined, and combined mode is not
It is restricted, can combine, can also arbitrarily be combined, or according to pass according to the sequence of original air ticket CAT rule text
The preferential mode of key information combines.Regardless of combining using which kind of mode, it may finally determine that air ticket CAT rule text is corresponding
Air ticket CAT rule.
This method is introduced and is illustrated below by way of specific embodiment:
The application scenarios of the method for the specific embodiment can be the acquisition platform of admission fee in ticketing system, and the ticketing service is general
It may be set to air ticket.The reception unstructured data may include the data of text formatting, such as: data source is Global Distribution
The unstructured data (complete air ticket CAT rule text text) of system GDS interface rules.
Fig. 2 is the detailed process figure of the interpretation method for the air ticket classification CAT rule that the application first embodiment provides.It please join
According to Fig. 2, it can be seen that the regular text of a CAT includes multiple CAT data in Fig. 2, it is necessary first to, will by pretreatment
Text splits into the text block as unit of CAT, and then CAT is translated one by one;Each CAT will be translated according to business demand
Multiple steps are disassembled into, each step (a corresponding translation minutiae point) goes that translation engine is called to obtain structuring subdata;
Translation engine (Database) from database loads customized xml script configuration, explains script and executes;All translations
Details configures (while groovy script being supported to configure) all in xml script, plays the role of easily extending and isolation changes.
In short, use this method provided by the present application can by the regular text in air ticket CAT rule text according to CAT for
The Ziwen of unit is originally translated, and corresponding CAT sub-rule is obtained, and all CAT sub-rule groups are finally combined into complete machine
Ticket CAT rule.The rule text is unstructured data, and finally formed air ticket CAT rule is then structural data, because
This, realizes that unstructured data is converted to the process of structural data using method provided by the present application.In addition, the application uses
Method be the Ziwen sheet split into air ticket CAT rule text as unit of CAT, originally translated for single Ziwen,
Therefore, translation details can be separated inside process, with the process of control translation, it is each only not need concern for code layer
The details of this translation of Ziwen, finally each sub-rule, which combines, can form complete air ticket CAT rule.In short, adopting
Easy extension can be played with this method, it is easy to maintain, it therefore does not need to issue application again because not needing concern translation details, and
It can accomplish that modification comes into force in time.
Therefore, method provided by the present application is to be separated translation details inside process using automatic translation by computer,
Code layer only with the process of control translation, is not concerned with the details of translation, plays easy extension, easy to maintain, does not need publication application, repairs
Change and comes into force in time.
In above-mentioned first embodiment, a kind of interpretation method of air ticket classification CAT rule is provided, is corresponded
, the application second embodiment also provides a kind of translating equipment of air ticket classification CAT rule.Fig. 3 is please referred to, is the application the
A kind of schematic diagram of the embodiment of the translating equipment for air ticket classification CAT rule that two embodiments provide.Due to Installation practice base
Originally it is similar to embodiment of the method, so describing fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Under
The Installation practice for stating description is only schematical.
A kind of translating equipment of air ticket classification CAT rule of the present embodiment, the device include:
Determination unit 301, for determining the CAT for including in air ticket CAT rule text, in the air ticket CAT rule text
Include regular data relevant at least one CAT;
Split cells 302 is with CAT for according to the determining CAT, the air ticket CAT rule text to be split into
The Ziwen sheet of unit;
Call unit 303 originally translates the Ziwen for calling translation engine, obtains this correspondence of Ziwen
Structuring CAT sub-rule;
Assembled unit 304 obtains the air ticket CAT rule text for combining the corresponding CAT sub-rule of the Ziwen sheet
Corresponding air ticket CAT rule.
Optionally, the device further include:
Default unit, for being previously provided with the script file of the translation rule for configuration structure data;
The call unit includes:
Parsing subunit, for loading the script configuration file using the translation engine, parsing obtains the structure
Change the translation rule of data;
Subelement is translated, for utilizing the translation rule, the Ziwen is originally translated, obtaining the Ziwen, this is right
The CAT sub-rule for the structuring answered.
Optionally, the default unit includes:
Subelement is set, for being configured with corresponding CAT sub-rule for different classes of CAT, by the corresponding son of the CAT
Text is translated as the CAT sub-rule of corresponding structuring.
Optionally, the setting subelement includes:
Subelement is searched, for searching the structuring originally to match with the Ziwen by way of regular expression
CAT sub-rule;
Coupling subelement, for the CAT sub-rule for searching obtained structuring to be allocated to corresponding Ziwen sheet.
Optionally, when the Ziwen sheet is multiple;
The setting subelement includes:
Subelement is arranged in priority, for determining the priority orders between multiple Ziwen sheets;
Be arranged in order subelement, for being followed successively by the corresponding structuring of this configuration of Ziwen according to the priority orders
CAT sub-rule.
In short, use the device provided by the present application can by the regular text in air ticket CAT rule text according to CAT for
The Ziwen of unit is originally translated, and corresponding CAT sub-rule is obtained, and all CAT sub-rule groups are finally combined into complete machine
Ticket CAT rule.The rule text is unstructured data, and finally formed air ticket CAT rule is then structural data, because
This, realizes that unstructured data is converted to the process of structural data using device provided by the present application.In addition, the application uses
Device be the Ziwen sheet split into air ticket CAT rule text as unit of CAT, originally translated for single Ziwen,
Therefore, translation details can be separated inside process, with the process of control translation, it is each only not need concern for code layer
The details of this translation of Ziwen, finally each sub-rule, which combines, can form complete air ticket CAT rule.In short, adopting
Easy extension can be played with the device, it is easy to maintain, it therefore does not need to issue application again because not needing concern translation details, and
It can accomplish that modification comes into force in time.
Therefore, device provided by the present application is to be separated translation details inside process using automatic translation by computer,
Code layer only with the process of control translation, is not concerned with the details of translation, plays easy extension, easy to maintain, does not need publication application, repairs
Change and comes into force in time.
In addition, the application 3rd embodiment provides a kind of interpretation method of air ticket classification CAT rule, Fig. 4 is the application
The flow chart of the interpretation method for the air ticket classification CAT rule that three embodiments provide, referring to figure 4., method includes the following steps:
Step S401 determines the CAT for including in the air ticket CAT rule text of airline's offer, the air ticket CAT rule
It include regular data relevant at least one CAT in text;
Step S402 splits the air ticket CAT rule text according to the CAT for including in the air ticket CAT rule text
At the Ziwen sheet as unit of CAT;
Step S403 calls translation engine, originally translates to the Ziwen respectively, obtain the corresponding knot of the Ziwen sheet
Structure CAT rule;
Step S404 combines the corresponding structuring CAT rule of the Ziwen sheet, obtains the air ticket CAT of the airline
Rule.
Optionally, it is previously provided with the script file of the translation rule for configuration structure data;
The calling translation engine, originally translates the Ziwen, obtains the CAT of the corresponding structuring of the Ziwen sheet
Sub-rule, comprising:
The script configuration file is loaded using the translation engine, parsing obtains the translation rule of the structural data
Then;
Using the translation rule, the Ziwen is originally translated, obtains the CAT of the corresponding structuring of the Ziwen sheet
Sub-rule.
The difference of method provided in this embodiment and first embodiment providing method is, it is determined that air ticket CAT rule text
This source is provided from airline.Correspondingly, the corresponding structuring CAT rule of the Ziwen sheet is finally combined,
What is obtained is the air ticket CAT rule of the airline.The step of other steps are with first embodiment is identical, and it is real to can refer to first
Apply the explanation of example part.
The interpretation method for the air ticket classification CAT rule that corresponding 3rd embodiment provides, the application fourth embodiment provide one
The translating equipment of kind air ticket classification CAT rule, please refers to Fig. 5, a kind of air ticket classification provided for the application fourth embodiment
The schematic diagram of the embodiment of the translating equipment of CAT rule.Since Installation practice is substantially similar to embodiment of the method, so description
Must be fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Installation practice described below is only to show
Meaning property.
The application fourth embodiment provides a kind of translating equipment of air ticket classification CAT rule, which includes:
Determination unit 501, for determine airline provide air ticket CAT rule text in include CAT, the air ticket
It include regular data relevant at least one CAT in CAT rule text;
Split cells 502, for according to the CAT for including in the air ticket CAT rule text, by the air ticket CAT rule
Text splits into the Ziwen sheet as unit of CAT;
Call unit 503 respectively originally translates the Ziwen for calling translation engine, obtains the Ziwen sheet
Corresponding structuring CAT rule;
Assembled unit 504 obtains the airline for combining the corresponding structuring CAT rule of the Ziwen sheet
Air ticket CAT rule.
In addition, the 5th embodiment of the application also provides a kind of interpretation method of ticketing service classification CAT rule, Fig. 6 is the application
The flow chart of the interpretation method for the ticketing service classification CAT rule that 5th embodiment provides, please refers to Fig. 6, ticketing service described in this method
It can be divided according to classification CAT, each CAT includes the relevant rule of ticketing service.It is specific method includes the following steps:
Step S601, determines the CAT for including in ticketing service CAT rule text, in the ticketing service CAT rule text comprising with extremely
Few relevant regular data of a CAT;
Step S602 splits the ticketing service CAT rule text according to the CAT for including in the ticketing service CAT rule text
At the Ziwen sheet as unit of CAT;
Step S603 calls translation engine, originally translates to the Ziwen respectively, obtain the corresponding knot of the Ziwen sheet
Structure CAT rule;
Step S604 combines the corresponding structuring CAT rule of the Ziwen sheet, obtains the ticketing service CAT rule.
Optionally, it is previously provided with the script file of the translation rule for configuration structure data;
The calling translation engine, originally translates the Ziwen, obtains the CAT of the corresponding structuring of the Ziwen sheet
Sub-rule, comprising:
The script configuration file is loaded using the translation engine, parsing obtains the translation rule of the structural data
Then;
Using the translation rule, the Ziwen is originally translated, obtains the CAT of the corresponding structuring of the Ziwen sheet
Sub-rule.
The difference for the method that method provided in this embodiment is provided with first embodiment is, ticketing service energy described in this method
Enough to divide according to classification CAT, each CAT includes the relevant rule of ticketing service.And it is defined as air ticket classification CAT's in first embodiment
Translation, the present embodiment have precondition before step, and the ticketing service can be divided according to classification CAT, and each CAT includes ticketing service
Relevant rule, the ticketing service of limitation are with the rule for carrying out classification division according to CAT, the translation of ticketing service classification under this condition
It can also be implemented according to the method for first embodiment.The explanation of other steps can refer to saying for the part of first embodiment
It is bright.
The interpretation method for the air ticket classification CAT rule that corresponding 5th embodiment provides, the application sixth embodiment provide one
The translating equipment of kind air ticket classification CAT rule, please refers to Fig. 7, a kind of air ticket classification provided for the application sixth embodiment
The schematic diagram of the embodiment of the translating equipment of CAT rule.Since Installation practice is substantially similar to embodiment of the method, so description
Must be fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Installation practice described below is only to show
Meaning property.
The application sixth embodiment provides a kind of translating equipment of air ticket classification CAT rule, and the ticketing service can be according to class
Mesh CAT is divided, and each CAT includes the relevant rule of ticketing service, which includes:
Determination unit 701, for determining the CAT for including in ticketing service CAT rule text, in the ticketing service CAT rule text
Include regular data relevant at least one CAT;
Split cells 702, for according to the CAT for including in the ticketing service CAT rule text, by the ticketing service CAT rule
Text splits into the Ziwen sheet as unit of CAT;
Call unit 703 respectively originally translates the Ziwen for calling translation engine, obtains the Ziwen sheet
Corresponding structuring CAT rule;
Assembled unit 704 obtains the ticketing service CAT rule for combining the corresponding structuring CAT rule of the Ziwen sheet
Then.
Although the application is disclosed as above with preferred embodiment, it is not for limiting the application, any this field skill
Art personnel are not departing from spirit and scope, can make possible variation and modification, therefore the guarantor of the application
Shield range should be subject to the range that the claim of this application defined.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM)
And/or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include non-temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
Claims (18)
1. a kind of interpretation method of air ticket classification CAT rule characterized by comprising
It determines the CAT for including in air ticket CAT rule text, includes related at least one CAT in the air ticket CAT rule text
Regular data;
According to the determining CAT, the air ticket CAT rule text is split into the Ziwen sheet as unit of CAT;
Translation engine is called, the Ziwen is originally translated, the CAT sub-rule of the corresponding structuring of the Ziwen sheet is obtained;
The corresponding CAT sub-rule of the Ziwen sheet is combined, the corresponding air ticket CAT rule of the air ticket CAT rule text is obtained.
2. the interpretation method of air ticket classification CAT rule according to claim 1, which is characterized in that be previously provided with and be used for
The script configuration file of the translation rule of configuration structure data;
The calling translation engine, originally translates the Ziwen, obtains the CAT cuckoo of the corresponding structuring of the Ziwen sheet
Then, comprising:
The script configuration file is loaded using the translation engine, parsing obtains the translation rule of the structural data;
Using the translation rule, the Ziwen is originally translated, obtains the CAT cuckoo of the corresponding structuring of the Ziwen sheet
Then.
3. the interpretation method of air ticket classification CAT rule according to claim 2, which is characterized in that the script configuration text
Part is the script file that user is custom-configured according to custom script template.
4. the interpretation method of air ticket classification CAT rule according to claim 3, which is characterized in that the structural data
Translation rule in include: originally to turn over the corresponding Ziwen of the CAT for different classes of CAT configured with corresponding CAT sub-rule
It is translated into the CAT sub-rule of corresponding structuring.
5. the interpretation method of air ticket classification CAT rule according to claim 4, which is characterized in that described is different classes of
CAT configured in corresponding CAT sub-rule, the configuration mode of use includes:
By way of regular expression, the CAT sub-rule of the structuring originally to match with the Ziwen is searched;
The CAT sub-rule for searching obtained structuring is allocated to corresponding Ziwen sheet.
6. the interpretation method of air ticket classification CAT rule according to claim 4, which is characterized in that described is different classes of
CAT configured in corresponding CAT sub-rule, be the CAT sub-rule of Ziwen this configuration structureization when the Ziwen sheet is multiple
Mode include:
Determine the priority orders between multiple Ziwen sheets;
The CAT sub-rule that the Ziwen originally configures corresponding structuring is followed successively by according to the priority orders.
7. the interpretation method of air ticket classification CAT rule according to claim 6, which is characterized in that if the air ticket CAT is advised
It then include multiple CAT in text;Each CAT splits out multiple Ziwen sheets;
Priority orders between the multiple Ziwen sheets of determination, comprising: determine multiple Ziwen sheets for being split out in each CAT it
Between priority orders;
Configure the CAT sub-rule of corresponding structuring simultaneously for the Ziwen sheet in All factors being equal, preference will be give to grade sequence.
8. a kind of interpretation method of air ticket classification CAT rule characterized by comprising
Determine the CAT for including in air ticket CAT rule text that airline provides, in the air ticket CAT rule text comprising with
The relevant regular data of at least one CAT;
According to the CAT for including in the air ticket CAT rule text, the air ticket CAT rule text is split into as unit of CAT
Ziwen sheet;
Translation engine is called, the Ziwen is originally translated respectively, obtains the corresponding structuring CAT rule of the Ziwen sheet;
The corresponding structuring CAT rule of the Ziwen sheet is combined, the air ticket CAT rule of the airline is obtained.
9. the interpretation method of air ticket classification CAT rule according to claim 8, which is characterized in that be previously provided with and be used for
The script file of the translation rule of configuration structure data;
The calling translation engine, originally translates the Ziwen, obtains the CAT cuckoo of the corresponding structuring of the Ziwen sheet
Then, comprising:
The script configuration file is loaded using the translation engine, parsing obtains the translation rule of the structural data;
Using the translation rule, the Ziwen is originally translated, obtains the CAT cuckoo of the corresponding structuring of the Ziwen sheet
Then.
10. a kind of interpretation method of ticketing service classification CAT rule, which is characterized in that the ticketing service can be divided according to classification CAT,
Each CAT includes the relevant rule of ticketing service, comprising:
It determines the CAT for including in ticketing service CAT rule text, includes related at least one CAT in the ticketing service CAT rule text
Regular data;
According to the CAT for including in the ticketing service CAT rule text, the ticketing service CAT rule text is split into as unit of CAT
Ziwen sheet;
Translation engine is called, the Ziwen is originally translated respectively, obtains the corresponding structuring CAT rule of the Ziwen sheet;
The corresponding structuring CAT rule of the Ziwen sheet is combined, the ticketing service CAT rule is obtained.
11. the interpretation method of ticketing service classification CAT rule according to claim 10, which is characterized in that preset useful
In the script file of the translation rule of configuration structure data;
The calling translation engine, originally translates the Ziwen, obtains the CAT cuckoo of the corresponding structuring of the Ziwen sheet
Then, comprising:
The script configuration file is loaded using the translation engine, parsing obtains the translation rule of the structural data;
Using the translation rule, the Ziwen is originally translated, obtains the CAT cuckoo of the corresponding structuring of the Ziwen sheet
Then.
12. a kind of translating equipment of air ticket classification CAT rule characterized by comprising
Determination unit, for determining the CAT for including in air ticket CAT rule text, in the air ticket CAT rule text comprising with extremely
Few relevant regular data of a CAT;
Split cells, for according to the determining CAT, the air ticket CAT rule text to be split into the son as unit of CAT
Text;
Call unit originally translates the Ziwen for calling translation engine, obtains the corresponding structuring of the Ziwen sheet
CAT sub-rule;
It is corresponding to obtain the air ticket CAT rule text for combining the corresponding CAT sub-rule of the Ziwen sheet for assembled unit
Air ticket CAT rule.
13. according to the translating equipment of air ticket classification CAT rule described in rights engine 12, which is characterized in that further include:
Default unit, for being previously provided with the script file of the translation rule for configuration structure data;
The call unit includes:
Parsing subunit, for loading the script configuration file using the translation engine, parsing obtains the structuring number
According to translation rule;
Subelement is translated, for utilizing the translation rule, the Ziwen is originally translated, it is corresponding to obtain the Ziwen sheet
The CAT sub-rule of structuring.
14. according to the translating equipment of air ticket classification CAT rule described in rights engine 13, which is characterized in that the default unit
Include:
Subelement is set, for being configured with corresponding CAT sub-rule for different classes of CAT, by the corresponding Ziwen sheet of the CAT
It is translated as the CAT sub-rule of corresponding structuring.
15. according to the translating equipment of air ticket classification CAT rule described in rights engine 14, which is characterized in that setting is single
Member includes:
Subelement is searched, for searching CAT of the structuring originally to match with the Ziwen by way of regular expression
Rule;
Coupling subelement, for the CAT sub-rule for searching obtained structuring to be allocated to corresponding Ziwen sheet.
16. according to the translating equipment of air ticket classification CAT rule described in rights engine 15, which is characterized in that the Ziwen is originally
When multiple;
The setting subelement includes:
Subelement is arranged in priority, for determining the priority orders between multiple Ziwen sheets;
Be arranged in order subelement, originally configures corresponding structuring for being followed successively by the Ziwen according to the priority orders
CAT sub-rule.
17. a kind of translating equipment of air ticket classification CAT rule characterized by comprising
Determination unit, for determining the CAT for including in air ticket CAT rule text that airline provides, air ticket CAT rule
It include regular data relevant at least one CAT in text;
Split cells, for according to the CAT for including in the air ticket CAT rule text, the air ticket CAT rule text to be split
At the Ziwen sheet as unit of CAT;
Call unit respectively originally translates the Ziwen for calling translation engine, obtains the corresponding knot of the Ziwen sheet
Structure CAT rule;
Assembled unit obtains the air ticket CAT of the airline for combining the corresponding structuring CAT rule of the Ziwen sheet
Rule.
18. a kind of translating equipment of ticketing service classification CAT rule, which is characterized in that the ticketing service can be divided according to classification CAT,
Each CAT includes the relevant rule of ticketing service, comprising:
Determination unit, for determining the CAT for including in ticketing service CAT rule text, in the ticketing service CAT rule text comprising with extremely
Few relevant regular data of a CAT;
Split cells, for according to the CAT for including in the ticketing service CAT rule text, the ticketing service CAT rule text to be split
At the Ziwen sheet as unit of CAT;
Call unit respectively originally translates the Ziwen for calling translation engine, obtains the corresponding knot of the Ziwen sheet
Structure CAT rule;
Assembled unit obtains the ticketing service CAT rule for combining the corresponding structuring CAT rule of the Ziwen sheet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710717100.XA CN109426667A (en) | 2017-08-21 | 2017-08-21 | The interpretation method and device of air ticket classification CAT rule |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710717100.XA CN109426667A (en) | 2017-08-21 | 2017-08-21 | The interpretation method and device of air ticket classification CAT rule |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109426667A true CN109426667A (en) | 2019-03-05 |
Family
ID=65497404
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710717100.XA Pending CN109426667A (en) | 2017-08-21 | 2017-08-21 | The interpretation method and device of air ticket classification CAT rule |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109426667A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0696114A (en) * | 1992-09-11 | 1994-04-08 | Toshiba Corp | Machine translation system and document editor |
US5495413A (en) * | 1992-09-25 | 1996-02-27 | Sharp Kabushiki Kaisha | Translation machine having a function of deriving two or more syntaxes from one original sentence and giving precedence to a selected one of the syntaxes |
CN101261633A (en) * | 2008-04-02 | 2008-09-10 | 深圳市共进电子有限公司 | Electronic translation method and system based on engineering |
CN103577397A (en) * | 2012-08-10 | 2014-02-12 | 阿里巴巴集团控股有限公司 | Computer translation data processing method and computer translation data processing device |
JP2015215660A (en) * | 2014-05-08 | 2015-12-03 | 株式会社インフィニトラベルインフォメーション | Fare rule translation system, fare rule translation method, and fare rule translation program |
CN106383818A (en) * | 2015-07-30 | 2017-02-08 | 阿里巴巴集团控股有限公司 | Machine translation method and device |
US20170139903A1 (en) * | 2015-11-13 | 2017-05-18 | The Boeing Company | Methods and systems for increasing processor speed by creating rule engine rules from unstructured text |
-
2017
- 2017-08-21 CN CN201710717100.XA patent/CN109426667A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0696114A (en) * | 1992-09-11 | 1994-04-08 | Toshiba Corp | Machine translation system and document editor |
US5495413A (en) * | 1992-09-25 | 1996-02-27 | Sharp Kabushiki Kaisha | Translation machine having a function of deriving two or more syntaxes from one original sentence and giving precedence to a selected one of the syntaxes |
CN101261633A (en) * | 2008-04-02 | 2008-09-10 | 深圳市共进电子有限公司 | Electronic translation method and system based on engineering |
CN103577397A (en) * | 2012-08-10 | 2014-02-12 | 阿里巴巴集团控股有限公司 | Computer translation data processing method and computer translation data processing device |
JP2015215660A (en) * | 2014-05-08 | 2015-12-03 | 株式会社インフィニトラベルインフォメーション | Fare rule translation system, fare rule translation method, and fare rule translation program |
CN106383818A (en) * | 2015-07-30 | 2017-02-08 | 阿里巴巴集团控股有限公司 | Machine translation method and device |
US20170139903A1 (en) * | 2015-11-13 | 2017-05-18 | The Boeing Company | Methods and systems for increasing processor speed by creating rule engine rules from unstructured text |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11921798B2 (en) | Generating a contextual search stream | |
US10956146B2 (en) | Content deployment system having a content publishing module for selectively extracting content items for integration into a specific release and methods for implementing the same | |
US10684847B2 (en) | Content deployment system having a proxy for continuously providing selected content items to a content publishing engine for integration into a specific release and methods for implementing the same | |
US9858270B2 (en) | Converting data into natural language form | |
US9977770B2 (en) | Conversion of a presentation to Darwin Information Typing Architecture (DITA) | |
Hinrichs et al. | WebLicht: Web-based LRT Services in a Distributed eScience Infrastructure. | |
Antonyuk et al. | Online tourism system development for searching and planning trips with user’s requirements | |
CN109344223A (en) | A kind of Building Information Model management system and method based on cloud computing technology | |
US20150186776A1 (en) | Contextual data analysis using domain information | |
Kärle et al. | Why are there more hotels in tyrol than in austria? analyzing schema. org usage in the hotel domain | |
Akbar et al. | Complete semantics to empower touristic service providers | |
US20180047080A1 (en) | System and method for synthetic ideation | |
Ma et al. | OpenMindat: Open and FAIR mineralogy data from the Mindat database | |
US10275462B2 (en) | Automatic translation of string collections | |
Candela | An automatic data quality approach to assess semantic data from cultural heritage institutions | |
CN116450107B (en) | Method and device for secondary development of software by low-code platform and electronic equipment | |
Sajji et al. | A methodology for transforming BPMN to IFML into MDA | |
CN109426667A (en) | The interpretation method and device of air ticket classification CAT rule | |
CN109445881A (en) | Script operation method, device, electronic equipment and storage medium | |
Zhang et al. | Research of web front-end engineering solution in public cultural service project | |
US11068468B2 (en) | Extensible validation framework | |
US9886520B2 (en) | Exposing relationships between universe objects | |
Siffa et al. | Adamant: a JSON schema-based metadata editor for research data management workflows | |
Sankar et al. | The Applied AI and Natural Language Processing Workshop: Explore practical ways to transform your simple projects into powerful intelligent applications | |
Nunes Alonso et al. | Building a Polyglot Data Access Layer for a Low-Code Application Development Platform: (Experience Report) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190305 |
|
RJ01 | Rejection of invention patent application after publication |