A method for processing navigation notice text, computer program product and terminal

By extracting text entities of air navigation notices, performing entity classification processing, and constructing triples of knowledge graphs, using the BiLSTM-CRF and Bi-GRU-CRF-Attention models combined with the BERT model, it solves the problem of non-automatic processing of air navigation notices in the existing technology. problem, and implements an efficient and real-time processing method for NOTAMs.

CN118332138BActive Publication Date: 2024-10-01CIVIL AVIATION FLIGHT UNIV OF CHINA
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410751248.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-01
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

Existing NOTAM processing methods only focus on text processing, cannot automatically generate processing solutions, cannot meet real-time requirements, and do not combine the Bert model with the processing of NOTAMs to optimize text classification processing.

Method used

By extracting air navigation notice text entities, performing entity classification processing, and constructing a triplet of the knowledge graph: entity-entity category-processing solution, using the BiLSTM-CRF model and Bi-GRU-CRF-Attention model for named entity recognition, combined with the BERT model Classify with deep convolutional neural network to reduce data iteration loss and improve model generalization ability.

Benefits of technology

The automatic processing method of NOTAMs is realized without human intervention, which greatly improves the processing efficiency and meets the real-time requirements. It also simplifies the calculation process through the attention mechanism, reduces the computational complexity and improves the processing speed of entity recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118332138B_ABST
    Figure CN118332138B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for processing navigation notice text, a computer program product and a terminal, and belongs to the field of text processing technology. The method comprises the following steps: extracting navigation notice text entities; classifying entities to obtain entity categories; querying knowledge graphs based on entity categories to obtain processing solutions for navigation notices, and the triples of the knowledge graphs are entity-entity category-processing solution. The present invention creates a new triple model: navigation notice entity-entity category-processing solution. After extracting text entities and classifying to obtain entity categories, querying to obtain the navigation notice processing solution corresponding to the current category, a complete navigation notice automatic processing method is formed. The whole process does not require human intervention, greatly improves processing efficiency, and can meet the real-time requirements of navigation notice processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of text processing, and in particular to a method for processing navigation notice text, a computer program product and a terminal. Background Art

[0002] Notice to Airmen (NOTAM) is an important aviation safety information, which provides important information about flight safety to pilots and aviation operators. For the automated processing of NOTAM, it is necessary to build an entity recognition and information classification processing framework. At present, some scholars apply natural language processing methods to the classification processing of aviation safety reports, which increases the processing efficiency of text. Some scholars also apply the Bert pre-training model to aviation industry safety reports to improve the accuracy and efficiency of report analysis. Some scholars also apply text mining and fusion models to the text data of unsafe events of airlines to establish an intelligent early warning model for civil aviation safety risks. Most natural language processing methods focus on named entity recognition and text classification. It can be seen that these two text processing methods are the focus of research. At present, some scholars have proposed to use the BiLSTM-CRF model for text annotation to realize the basic operation of entity recognition. In order to improve the performance of the model, some scholars proposed to add the gated unit GRU to the BiLSTM-CRF model, proposed the Chinese entity annotation model of Bi-GRU-CRF, and innovatively established the lac tool, which can conveniently perform operations such as word segmentation and annotation on Chinese text.

[0003] In the field of text processing classification, after using deep learning methods, some scholars proposed combining the deep pyramid model with the Bert model based on Bert to reduce the data iteration loss problem in the previous model and further optimize the model. The massive increase in data has made the advantages of deep learning apparent. The existing algorithm mechanism can already handle the operation of huge amounts of data, but it has not combined the Bert model with the processing of navigation notices to achieve text classification processing, and there are still deficiencies in the optimization of navigation notice text data.

[0004] In addition, by constructing a knowledge graph, it is possible to extract entity connections from text data, describe the relationship between entity elements in a simple and intuitive way, and form interactive results from text processing. At present, some scholars have combined various data models with knowledge graphs, and based on knowledge graphs, have created a civil aviation travel question-and-answer system to automatically process and answer questions encountered in civil aviation travel. More scholars have begun to realize the importance of knowledge graphs, but no one has built an entire navigation notice processing system to form a knowledge graph and solve the actions that should be taken after receiving a navigation notice.

[0005] In summary, the current NOTAM processing only focuses on processing the text part of the NOTAM itself, and has not formed a complete automated processing method for NOTAM, that is, it is impossible to automatically derive a processing solution for the NOTAM based on the received NOTAM text, and it is unable to meet the real-time requirements of NOTAM processing. Summary of the invention

[0006] The purpose of the present invention is to overcome the problems of the prior art and provide a method for processing navigation notice text, a computer program product and a terminal.

[0007] The object of the present invention is to achieve the following technical solution: a method for processing navigation notice text, the method comprising the following steps:

[0008] Extract NOTAM text entity;

[0009] Classify the entities to obtain entity categories;

[0010] The knowledge graph is queried based on entity categories to obtain the processing solution for the navigation notice. The triple of the knowledge graph is entity-entity category-processing solution.

[0011] In one example, the method further includes a triple construction step of the knowledge graph:

[0012] Extract entities from NOTAM text; classify entities to obtain entity categories; determine processing solutions based on entity categories and construct a knowledge graph triple: entity-entity category-processing solution; or,

[0013] According to the historical NOTAM processing solutions, the entity categories and NOTAM text entities corresponding to each NOTAM processing solution are obtained to construct the triple of knowledge graph: entity-entity category-processing solution.

[0014] In one example, a named entity recognition model is used to extract navigation notice text entities, and the named entity recognition model is a BiLSTM-CRF model or a Bi-GRU-CRF-Attention model;

[0015] The BiLSTM-CRF model consists of a sequentially connected word embedding layer, a bidirectional long short-term memory network, and a conditional random field layer;

[0016] The Bi-GRU-CRF-Attention model includes a sequentially connected input embedding layer, a gated recurrent unit module, at least one attention mechanism module and a conditional random field layer; the gated recurrent unit module includes a parallel backward gated recurrent unit and a forward gated recurrent unit; the attention mechanism module includes a sequentially connected multi-head self-attention layer, a first added layer, a first layer normalization, a feedforward layer, a second added layer, and a second layer normalization.

[0017] In one example, the method further includes training a named entity recognition model, including:

[0018] Perform entity annotation on the NOTAM text, marking the beginning, end and non-entity parts of the entity;

[0019] The named entity recognition model is trained by annotating the navigation notice text to obtain a trained named entity recognition model, and then the navigation notice text entities are extracted.

[0020] In one example, a classification model is used to classify entities, and the classification model includes a language model and a text classification model connected in sequence; the language model is a Transformer model or a BERT model; and the text classification model is a convolutional neural network or a deep convolutional neural network;

[0021] The language model is used to convert entity text into word sequences and convert them into numerical form to obtain vectors;

[0022] The text classification model receives the vector and performs classification processing to obtain the entity category.

[0023] In one example, the classification model is a sequentially connected BERT model and a deep convolutional neural network, the BERT model includes a sequentially connected embedding module, an encoder, a pre-training task module, and a decoder; the pre-training task module includes a parallel masked language model and a next sentence prediction structure;

[0024] The deep convolutional neural network includes a region embedding layer, a first convolution block, a second convolution block, at least one downsampling module and a first pooling layer connected in sequence. The downsampling module includes a second pooling layer, a third convolution block and a fourth convolution block connected in sequence. The output end of the region embedding layer is jump-connected to the input end of the downsampling module, and the output end of the second pooling layer in the downsampling module is jump-connected to the output end of the current sampling module.

[0025] In one example, when the BERT model is pre-trained, in the masked language model stage, synonyms are used to replace masked words, so that the BERT model predicts the masked words to learn context-related word vector representations; in the next sentence prediction stage, it is determined whether the sentences appear continuously, and then the relationship between sentences is learned.

[0026] In one example, before extracting the NOTAM text entity, data preprocessing is also included, including:

[0027] Receive raw text data of NOTAM;

[0028] Perform text screening on the original text data to obtain the text of the navigation notice;

[0029] Convert the text to Chinese and remove unknown characters.

[0030] It should be further explained that the technical features corresponding to the above examples can be combined or replaced with each other to form a new technical solution.

[0031] Compared with the prior art, the present invention has the following beneficial effects:

[0032] 1. In one example, the present invention creates a new triple model: navigation notice entity-entity category-processing solution. After extracting text entities and classifying and processing to obtain entity categories, the navigation notice processing solution corresponding to the current category is queried to form a complete navigation notice automatic processing method. The entire process does not require human intervention, greatly improves processing efficiency, and can meet the real-time requirements of navigation notice processing.

[0033] 2. In one example, a Bi-GRU-CRF-Attention model was proposed, which added gated recurrent units and attention mechanisms to simplify the calculation process, reduce computational complexity, and improve the speed of NOTAM entity recognition processing.

[0034] 3. In one example, in the masked language model stage of BERT model pre-training, the traditional use of MASK tags or random word replacements can easily lead to MASK tag replacement and MASK loss in downstream classification tasks, resulting in inconsistency between pre-training learning information and fine-tuning stages. The present invention uses synonyms to replace masked words, which can reduce this inconsistency; at the same time, it can enable the model to learn multiple variants of words in different contexts, thereby improving the generalization ability of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The specific implementation methods of the present invention are further described in detail below in conjunction with the accompanying drawings. The accompanying drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The same reference numerals are used in these drawings to represent the same or similar parts. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.

[0036] Figure 1 A method flow chart provided for an example of the present invention;

[0037] Figure 2 A BiLSTM-CRF model structure diagram provided for an example of the present invention;

[0038] Figure 3 A structural diagram of the Bi-GRU-CRF-Attention model provided for an example of the present invention;

[0039] Figure 4A BERT model structure diagram provided for an example of the present invention;

[0040] Figure 5 A DPCNN model structure diagram provided for an example of the present invention;

[0041] Figure 6 A schematic diagram of the Ccf-MacBERT model structure provided as an example of the present invention;

[0042] Figure 7 A schematic diagram of the CaSV-GNN model structure provided for an example of the present invention;

[0043] Figure 8 A schematic diagram of a glyph knowledge graph provided as an example of the present invention. DETAILED DESCRIPTION

[0044] The technical solution of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0045] In one example, if Figure 1 As shown, a method for processing navigation notice text includes the following steps:

[0046] S01: Extract NOTAM text entity;

[0047] S02: Classify the entity to obtain the entity category;

[0048] S03: Query the knowledge graph based on entity categories to obtain the processing solution for the navigation notice. The triple of the knowledge graph is entity-entity category-processing solution.

[0049] In step S01, a named entity recognition model is used to extract navigation notice text entities. Optionally, a combined model formed by combining a bidirectional long short-term memory network (BiLSTM) and a conditional random field (CRF), or a combined model formed by combining a bidirectional temporal model with an attention mechanism and a conditional random field, is used to split and extract entity vocabulary in a sentence.

[0050] In step S02, a classification model is used for classification processing, such as a combination of a language model and a text classification model. The language model can be a Transformer model or a BERT model, etc.; the text classification model can be a convolutional neural network or a deep convolutional neural network, etc. Among them, the language model is used to convert the entity text into a word sequence (token sequence), and convert it into a numerical form to obtain a vector; the text classification model receives the vector for classification processing to obtain the entity category.

[0051] In step S03, the knowledge graph is a graphical model for expressing and organizing knowledge, which presents the relationship between entities in the form of a graphical structure. It is usually composed of three elements: entity, relationship, and attribute. The entity can be any concept or individual. In the navigation notice, the entity often represents a specific location, event, and processing plan; the relationship describes the connection between entities, and different navigation notice event states correspond to different navigation notice processing methods; the attribute often describes the detailed information of the entity or relationship. In the present invention, since the navigation notice does not involve entity attributes, the attribute element is ignored. The graph is usually composed of nodes and edges, where nodes represent entities and edges represent the relationship between entities. In the present invention, entities in the navigation notice are processed by the named entity recognition technology to obtain text entities, and then the navigation notice is classified by the classification algorithm so that the navigation notice can be further divided after the entity is found. Finally, the connection between the entities is obtained by constructing a knowledge graph, thereby obtaining an automated processing output result. Therefore, the triples of the knowledge graph of the present invention can be directly regarded as the mapping relationship between entities, entity categories, and processing solutions. The data relationship is expressed by triples. The subject in the triple is the entity category, the predicate is the state entity identified in the text data, and the object represents the process of the processing solution after the specific time is obtained, forming the basic data unit of the knowledge graph.

[0052] The knowledge graph is pre-built, and a traditional database can be built through the knowledge graph construction tool neo4j. Finding a processing solution in the knowledge graph is equivalent to finding the corresponding data source in the database. The Cypher language corresponding to the tool is used to query the database, that is, after entering the search statement (including the statement of the entity category) through the query language, the matching processing solution in the database is queried, thereby forming a complete automatic processing method for navigation notices. The whole process does not require human intervention, which greatly improves the processing efficiency and can meet the real-time requirements of navigation notice processing.

[0053] In one example, before extracting the NOTAM text entity, data preprocessing is also included, including:

[0054] Receive the original text data of NOTAM provided by the Civil Aviation Information Center;

[0055] Perform text screening on the original text data to obtain the text of the navigation notice;

[0056] Convert the text to Chinese and remove unknown characters.

[0057] Specifically, since the original text data provided is the original navigation notice text, the original text contains item Q, the limiting item; item A, the place of occurrence; item B, the effective date; item C, the end date; item D, the time period; and item E, the notice text. The original text is subjected to text screening, and only the text of item E of the navigation notice is screened and processed to obtain the text of item E of the navigation notice. Since the text of item E of the original data is all written in telegraph code and cannot be recognized by the computer, the original telegraph code should be converted into Chinese text, and the existing "Standard Telegraph Code Book" should be used to translate the telegraph code. Afterwards, the unknown characters in the navigation notice are removed to improve the efficiency of text processing, and converted into text data in UTF-8 format that can be recognized by the computer.

[0058] In one example, the method further includes a triple construction step of the knowledge graph:

[0059] Extract entities from the NOTAM text; classify the entities to obtain entity categories; determine the processing plan based on the entity category and construct a triplet of the knowledge graph: entity-entity category-processing plan.

[0060] In this example, the processing model corresponding to the entity extraction and classification of the navigation notice text is as described in step S01 and step S02, which will not be repeated here. After processing the entity of the navigation notice, the specific intent of the navigation notice is understood by determining the specific category of the entity, and the node of the knowledge graph is constructed. Then, the processing method of the navigation notice under the specific intent is determined from the specific intent, that is, the corresponding processing solution can be given based on the entity classification result, so as to construct a triple from the navigation notice entity to the navigation notice entity category to the navigation notice processing solution.

[0061] Optionally, the construction of the triples of the knowledge graph can also be constructed based on historical experience, such as: according to the historical navigation notice processing solutions, the entity categories and navigation notice text entities corresponding to each navigation notice processing solution are obtained, so as to construct the triples of the knowledge graph: entity-entity category-processing solution.

[0062] In one example, the named entity recognition model is a BiLSTM-CRF model or a Bi-GRU-CRF-Attention model. Figure 2As shown in the figure, the BiLSTM-CRF model includes a word embedding layer (Word embeddings), a bidirectional long short-term memory network encoder (BiLSTM encoder) and a conditional random field layer (CRF layer) connected in sequence. The bidirectional long short-term memory network includes an l structure, an r structure and a c structure. l represents the LSTM layer from left to right; r represents the LSTM layer from right to left; c represents the unit state, which is used to store long-term dependencies; the conditional random field layer includes common tags: B-PER tag, E-PER tag, O tag, S-LOC tag. B-PER is used to mark the beginning of the entity, E-PER is used to mark the end of the entity, O is used to mark the non-entity part, and S-LOC is used to mark the location name. The BiLSTM-CRF model combines the bidirectional long short-term memory network with the conditional random field. The BiLSTM network constructs the entity label weight, so that the relationship between the entity and the label is used as the input condition of the conditional random field. After obtaining the basic value passed in by the BiLSTM, the CRF starts to calculate the scores of different words in the same sentence sequence. , the calculation formula is:

[0063]

[0064] in, A sentence representing processing; is the prediction sequence; represents the state transfer matrix, Representative label To label transfer score; represents the probability model, It's location The emission fraction of the above characters, corresponding to the label ; is the data location label, is the length of the data sequence. After obtaining the sequence score, CRF maximizes the effective value to obtain the optimal output sequence. , and the result is obtained, the calculation formula is:

[0065]

[0066] in, For a given input sequence , which contains all possible label combinations; Represents a possible tag sequence; for the input characters, the context information of the sequence will be recorded by BiLSTM, and the state transition scores of CRF will be combined to obtain a joint structure.

[0067] During the use of the BiLSTM-CRF model, the LSTM training speed is too slow and the time is too long. On this basis, the BiLSTM-CRF model is optimized to obtain the Bi-GRU-CRF-Attention model, as shown in Figure 3 As shown, it includes a sequentially connected input embedding layer (Input Embedding), a gated recurrent unit module, at least one attention mechanism module and a conditional random field layer (CRF); the gated recurrent unit module includes a parallel backward gated recurrent unit (Backward GRU) and a forward gated recurrent unit (Forward GRU); the attention mechanism module includes a sequentially connected multi-head self-attention layer (Multi-Head Self-Attention), a first addition layer (Add), a first layer normalization (Layer Normalization), a feedforward layer (FeedForward), a second addition layer, and a second layer normalization.

[0068] In the Bi-GRU-CRF-Attention model, adding a gated recurrent unit can simplify the calculation process and improve the calculation efficiency. GRU adds a reset gate and an update gate on the basis of LSTM. The reset gate combines the input text information with the data obtained in the previous processing process. The reset gate calculation formula is:

[0069] h ˜ t = tanh( W ⋅ [ r t ∗ h t − 1 , x t ])

[0070] in, It represents the information after the current input and the previous hidden state are adjusted by the reset gate, through the nonlinear activation function The generated new state candidates; Represents the time step The reset gate output of Represents the time step The hidden state of Indicates that at time step Input information sequence; weight value Follow The value changes in direct proportion, The larger the value, the The larger the value of , the more the new input information is combined with the previously processed data, and vice versa.

[0071] The function of the update gate is to control the state value of the information at the previous moment. The degree of bringing in the current data state indicates how much information needs to be passed in the timing model. The expression of the update gate is:

[0072]

[0073] in, Indicates step The final hidden state of Represents the amount of data retained; Represents the degree of forgetfulness; Indicates whether to retain the information. The final retained data of the update gate is obtained through the above calculation.

[0074] After adding GRU, the data processing results are optimized and the processing efficiency is improved. In the process of using the navigation notice processing model, the processing speed is still slow due to the large number of navigation notices and complex content. In order to improve the processing speed of navigation notice entity recognition, based on BiGRU-CRF, the present invention also introduces a multi-head self-attention (ATT) mechanism. ATT can avoid the use of complex convolutional networks based on the bidirectional time series model, increase the data processing speed and calculation accuracy, and reduce the calculation complexity of the problem.

[0075] Specifically, the ATT model calculates the query matrix for each learning ( ), key matrix ( ) and the value matrix ( ),pass , , Establish relationships between NOTAM text messages. , , The matrix expression is:

[0076]

[0077]

[0078]

[0079] in, represents the matrix weight; Represents the feature matrix of the input; represents a real number; Represents the vector dimension; Represents the sequence length. After calculating the character weight and position weight, the Softmax function is used as the alignment function to obtain the output result of the self-attention mechanism of each head. The calculation formula is:

[0080]

[0081] Here, T represents transpose. The target result is to create a navigation notice text variable and output it as the attention model, so the text vectors generated by multiple attention heads should be connected together, and finally linearly transformed using weight values, and residual connections and each layer of attention normalization should be performed before the result is obtained. The final output result is The calculation expression is:

[0082]

[0083] Furthermore, the model encoding and decoding principles are the same, both use a multi-layer mechanism to perform multiple parallel training of weights, and perform matrix operations on the training results to obtain more stable model results and train better algorithm models. After adding the attention mechanism, the BiGRU-CRF-ATT model network is obtained, which is more suitable for the processing of navigation notices and has higher processing efficiency.

[0084] In one example, the method further includes training a named entity recognition model, including:

[0085] Perform entity annotation on the NOTAM text, marking the beginning, end and non-entity parts of the entity;

[0086] The named entity recognition model is trained by annotating the navigation notice text to obtain a trained named entity recognition model, and then the navigation notice text entities are extracted.

[0087] Specifically, in entity annotation, the BIO annotation system is used to indicate the beginning, end and non-entity parts of the entity. The entity text in the navigation notice uses four elements in the present invention, namely, specific location, facilities, data and reason. In the text data processing process, the cleaned navigation notice text needs to be annotated. The annotation examples are shown in Table 1 (a) and Table 1 (b):

[0088] Table 1(a) Table of entity annotations for item E (Example 1)

[0089]

[0090] Table 1(b) Table of entity annotations for item E (Example 2)

[0091]

[0092] Use the preprocessed and entity-annotated data to pre-train the model, convert the preprocessed CSV data file into a pkl file, retain the data type and the nested relationship of the data, and record the relationship between the entity and the annotation to avoid data loss during the input of the pre-trained model. Select the embedding form of the pre-trained model as fusion word embedding, position embedding, and character embedding. Input the data into the Bi-GRU-CRF-Attention model to obtain the model training parameters. After obtaining the trained model, use the model to perform entity recognition on the new navigation notice body text, observe and record the results and efficiency of entity recognition, and finally batch process the newly collected navigation notice data samples to obtain the entity data set.

[0093] In one example, the classification model is a sequentially connected BERT model and a deep convolutional neural network. BERT is a pre-trained language model based on Transformer. It breaks through the limitation that previous language models can only learn language representation in one direction, and can predict the missing parts in the language model in two directions, making the model more generalizable and applicable to a variety of natural language processing tasks. The BERT model is more suitable for the processing type of short text of the navigation notice, and can convert text data into word vectors for digital processing. Using BERT to capture global variables can increase the training efficiency of the text of item E of the navigation notice. Figure 4 As shown in the figure, the BERT model includes an embedding module, an encoder, a pre-training task module, and a decoder connected in sequence; the embedding module includes a parallel embedding vector symbol embedding layer (Token Embedding), a paragraph embedding layer (Segmentation Embedding), and a position embedding layer (Position Embedding); the encoder is a Transformer encoder; the pre-training task module includes a parallel masked language model (MLM) and a next sentence prediction (NSP). Specifically, in the MLM stage, BERT randomly replaces some (such as 15%) tokens in the input text with MASK (mask) tags, and requires the model to predict the replaced words, so that the model can learn context-related word vector representations; in the NSP stage, BERT takes two sentences as input, and the model needs to determine whether the two sentences appear consecutively, so that the model can learn the relationship between the sentences.

[0094] In the BERT model loss function for:

[0095]

[0096] in, It represents the parameters corresponding to some decoding layers; Contains the parameters of the output layer connected to the encoding layer in the MLM stage; Contains the classifier parameters on the encoding layer in the prediction task; Represents the loss function of the MLM stage; Represents the loss function of the NSP stage. In the model pre-training process, the loss function is the sum of the model loss function of the MLM stage and the NSP stage, and the expression is:

[0097]

[0098] in, Indicates covered words; Synonyms for the obscured words; Represents a character label; represents the actual label; Indicates the probability of predicting the words in the masked position; Represents the shield position; Represents all training sample pairs. The loss function obtained by processing the entity classification problem in the BERT model in the present invention is a multi-process joint loss function that minimizes the negative log-likelihood function.

[0099] Furthermore, due to the loss of tags in the BERT model, a deep pyramid convolutional neural network (DPCNN) was added to the BERT model, and the obtained model parameters and breakpoints were embedded into the DPCNN model. Combined with the characteristics of capturing local and global information of text through deep pyramid convolution, a BERT-DPCNN navigation notice classification model was established to perform entity classification processing and obtain entity categories. Figure 5 As shown, the deep convolutional neural network includes a sequentially connected regional embedding layer, a first convolution block, a second convolution block, at least one downsampling module and a first pooling layer, the downsampling module includes a sequentially connected second pooling layer, a third convolution block and a fourth convolution block, the output end of the regional embedding layer is jump-connected to the input end of the downsampling module, and the output end of the second pooling layer in the downsampling module is jump-connected to the output end of the current sampling module. The convolution block includes several convolution layers. In this example, each convolution block has the same structure, which is 3 convolution layers.

[0100] More specifically, the present invention proposes to use the BERT-DPCNN model to perform category analysis on entities, and the specific analysis steps adopt the following four steps: (1) Preprocess the text data set and clean the data set. (2) Use the BERT model to convert the text into a token sequence, train the word vector set for the E-item text elements, and convert the labels into digital form. (3) Input the trained vector set as an embedding layer into the DPCNN model. (4) Combine the BERT model to extract context features to extract global features of the text and DPCNN to extract global features of the text, and perform regional embedding, convolution, and pooling processing through DPCNN to obtain entity categories, and then obtain the model's accuracy, recall rate and F1-score (F1 score is an indicator for evaluating the performance of a classification model, which is the harmonic mean of precision and recall).

[0101] In one example, when BERT is used as a pre-training model, the MASK will be lost when it is input to the downstream DPCNN model, affecting the model training results. To address this issue, an improvement is proposed to the BERT model. In the MASK stage, a synonym toolkit calculated based on the word2vec method is used to replace the words that were masked during model pre-training with synonyms. In this case, the MASK flag is replaced in the input pre-training model, and no loss will occur in downstream work.

[0102] In one example, the BERT model is replaced with the Ccf-MacBERT model, such as Figure 6 As shown, the Ccf-MacBERT model includes an input layer, a detection network, an error correction network, an error correction mask layer and an output layer. The detection network and the error correction network are fully connected layers. The input layer is connected to the detection network and the error correction network respectively, and the input layer is connected to the error correction mask layer. At the same time, the input layer is residually connected to the output layer, the detection network, the error correction network are connected to the error correction mask layer, and the error correction mask layer is connected to the output layer. The detection network is used to output the probability that the character at each position is an incorrect character. The error correction network is used to select the position of the wrong character according to the probability of the incorrect character and perform correction processing. At the same time, the correction network is used to calculate the mask probability of each character. The error correction mask layer replaces the characters that need to be masked with synonyms in the synonym thesaurus according to the mask probability.

[0103] Specifically, the input layer is used to receive the input text vector (x1, x2, x3, x4) and convert it into an embedded vector (e1, e2, e3, e4), and then input the embedded vector into the detection network, the error correction network and the error correction mask layer. The downstream computing task adopted by the present invention is text similarity calculation. In the similarity calculation process, the main purpose of the detection network is to determine whether the character at each position is an incorrect character. The detection network involves the hidden layer vector judgment based on the BERT model. is the hidden vector of any hidden layer of BERT input, H = [ h 0 , h 1 ,..., h n − 1 ] , for each position , calculate the probability that it is an incorrect character :

[0104]

[0105] in, are the detection network parameters obtained through training; Indicates the position of each word The corresponding hidden vector; is the activation function; Used to normalize the output value to between 0 and 1, that is, after After the function is processed, each character position You can get a probability value between [0,1] , which indicates the probability that the character at this position is an error character. Then in the error correction stage, according to The value of selects the position most likely to be a typo and performs correction operations. After the detection network finds characters that may be erroneous, the error correction network corrects these characters:

[0106]

[0107] Among them, the output value is a vector whose dimension is the same as the character set of the language, and each component of which represents the probability of a character being correct; Used to normalize the output values ​​to a probability distribution.

[0108] The mask probability of each character is calculated based on the output of the detection network, and then whether the character is masked is determined based on this. The mask probability calculation formula is as follows:

[0109]

[0110] in, It's location The probability that the characters above are masked; is a hyperparameter, usually set between 1 and 10, used to control the strength of the mask. This mask probability is represented by a special mask character MASK (e mask ) to replace the original characters. In the present invention, a synonym word library is established to replace the mask character MASK, and the found synonyms (the synonyms with the highest similarity to the masked vocabulary) are used to replace the original characters or words to generate a new sequence. This new sequence is input into the Ccf-MacBERT model, and the Ccf-MacBERT model generates a corrected sequence (y1, y2, y3, y4) based on this sequence.

[0111] Furthermore, the establishment of the synonym word library includes the following steps:

[0112] Calculate the pronunciation similarity and glyph similarity of Chinese characters in NOTAM;

[0113] The synonyms of each Chinese character are determined based on the similarity of pronunciation and shape, and then a synonym database is established.

[0114] Optionally, calculating pronunciation similarity includes:

[0115] Provide pronunciation annotations for Chinese characters in NOTAMs;

[0116] Use the character embedding model to calculate the pronunciation vector of Chinese characters;

[0117] A pronunciation knowledge graph is established with the pronunciations of Chinese characters in the navigation notice as nodes and the relationships between pronunciations as edges, which serves as the input of the graph neural network.

[0118] The pronunciation vector is added to the graph neural network as a supplementary vector, so that the graph neural network performs weighted processing on the calculated node vector and the pronunciation vector, and calculates the similarity between the weighted vectors to obtain the pronunciation similarity.

[0119] Before annotating the pronunciation of Chinese characters in the navigation notice, it is necessary to build a Chinese character pronunciation dataset for the navigation notice. The selected navigation notice Chinese character database is annotated with pronunciation to ensure that the pronunciation of 8,000 Chinese characters is correctly annotated, and then the pronunciation is classified according to the similarity relationship, which includes pronunciation, flat and rolled tongue, the same initial consonant, the same final, and front and back nasal sounds, reducing the complexity of program operation, thereby establishing a Chinese character pronunciation database.

[0120] A common method for capturing character features is word embedding technology, which converts Chinese characters into vectors in a high-dimensional space to express the information of Chinese character pronunciation and obtain a dense vector representation of feature similarity. The present invention uses the BERT model as a model of word embedding technology. The BERT model uses a bidirectional Transformer to learn the deep semantics of text.

[0121] Furthermore, the present invention uses a graph database management system neo4j (a knowledge graph construction tool) to generate a Chinese character feature knowledge graph. The graph of the graph is usually composed of nodes and edges, wherein nodes represent text features (such as Chinese characters, pronunciations, etc.), and edges represent the relationship between features. The present invention uses the batch import function in neo4j to establish a complete and readily accessible character pronunciation knowledge graph with the pronunciations of Chinese characters in the navigation notice as nodes and the relationship between pronunciations as edges.

[0122] On the basis of constructing the phonetic knowledge graph, a graph data processing model can be used to extract pronunciation features based on the phonetic knowledge graph. This example specifically uses graph convolutional neural networks (GNN) to extract pronunciation features. GNN is obviously effective in processing graph structured data and can capture the connection between nodes (Chinese characters) and edges (phonetic relationships) in the Chinese character knowledge graph.

[0123] Furthermore, the present invention simultaneously uses GNN and character embedding methods to calculate the vector of the pronunciation features in the pronunciation knowledge graph. Before converting the pronunciation of Chinese characters into knowledge graph nodes, the processed pronunciation feature database is used and input into BERT for model training to obtain the pronunciation vector under the character embedding model. After the knowledge graph is constructed, the graph structure data is transmitted into GNN for model training, and the pronunciation vector obtained by character embedding is added as a supplementary vector into the constructed GNN model to construct a CaSv-GNN model with character embedding as a supplementary vector. Finally, the vector value of the feature is output by the trained CaSv-GNN model, and then input into the downstream feature similarity task, and the similarity between the features is calculated by the feature value.

[0124] The similarity calculation task is used as the downstream task of the two models. Since the vector size of the pronunciation vector here is negligible and the focus is on the characteristics of the vector direction, the cosine similarity is added after the vector output layer in the model to calculate the feature similarity value, predict the pronunciation similarity, and use it to evaluate the performance of the model. The calculation expression is:

[0125]

[0126] in , are two vectors; and are the components of the vector; Represents a serial number label, Represents the total sequence number.

[0127] Furthermore, the phonetic feature vector calculated by the BERT model is used as a supplementary vector, and the supplementary vector is added before the GNN model performs similarity calculation, and the GNN model is designed to design the CaSv-GNN model. The model structure is as follows: Figure 7 As shown in the figure, it includes the sequentially connected input layer, graph convolution block, supplementary vector layer, similarity calculation layer and output layer. The graph convolution block includes several graph convolution layers. In the graph representation learning, the conventional graph convolution neural network GNN continuously replaces the nodes in the knowledge graph in the graph convolution layer. The node update formula is as follows:

[0128]

[0129] in, Representation Node In the New feature representation of convolutional layers, Representation Node In the Feature representation in convolutional layers; represents an activation function, and the ReLU activation function is used in the present invention; Representation Node The set of adjacent nodes of Representation Node The set of adjacent nodes of For the The weight matrix of the layer convolution.

[0130] Capture the word vector obtained in the word embedding stage before the BERT model enters the similarity calculation work. The word vector is obtained by adding the mapping vector of the text minimum unit Token and the unique position encoding of BERT. Represents the captured pronunciation vector.

[0131] Before the graph convolution model enters the downstream work, the pronunciation vector is weighted added with the node vector calculated by the convolution network. The calculation formula of the weighted addition is:

[0132]

[0133] in, To set the weight value; Representation Node exist The feature representation in the convolutional layer. According to the loss function of the CaSV-GNN model, the corresponding weight value is adjusted to minimize the loss function in the iteration stage. Since the downstream task of the model is similarity calculation, the mean square error loss is used to calculate the loss function value. The loss function The calculation expression is:

[0134]

[0135] Where N is the total number of nodes; Indicates the current node; is the true similarity; is the generated similarity value.

[0136] Optionally, after obtaining the pronunciation similarity, the pronunciation similarity is annotated to the character pronunciation knowledge graph, and combined with the character shape knowledge graph to perform the next step of text correction.

[0137] Optionally, calculating the glyph similarity includes:

[0138] Extract glyph feature vectors through convolutional neural network tianzege-CNN;

[0139] Use the BERT model to process Chinese characters or words to obtain character or word-level embedding vectors;

[0140] Combine the embedding vector with the glyph feature vector to form an enhanced embedding vector;

[0141] Calculate the similarity between enhanced embedding vectors to get glyph similarity.

[0142] Specifically, the Tianzege-CNN model trained using a unique data set can achieve an accuracy rate of 99.8% in Chinese character natural language processing tasks such as Chinese classification and entity recognition. The radicals of Chinese characters are separated in the database of the present invention, and then the characters are classified according to the glyph similarity relationship (traditional and simplified comparison, decomposition, and merging), avoiding the calculation of similarity under different classification types and increasing the efficiency of program operation. The Chinese glyph database of the navigation notice is input into the similarity calculation model for model training, and the trained model is used to output the glyph similarity. The glyph similarity calculation model structure under the similarity task is as follows: Figure 8 As shown, the Glyce-BERT model includes the tianzege-CNN and BERT models. The glyph vector (enhanced embedding vector) output by the Glyce-BERT model is then used for similarity calculation, such as cosine similarity calculation, to obtain glyph similarity. It should be further explained that Figure 8 Here, "cls" is a marker added to the beginning of the sequence and "seq" is a delimiter.

[0143] Optionally, after calculating the glyph similarity, the following steps are also included:

[0144] The neo4j system is used to establish a glyph knowledge graph with Chinese character glyphs as nodes and relationships between glyphs as edges. Optionally, the relationships between glyphs include glyph similarity.

[0145] In summary, the present invention replaces the BERT model with the Ccf-MacBERT model, which can improve the accuracy and efficiency of error correction of Chinese navigation notices. Combining the Ccf-MacBERT model with the DPCNN model can only improve the classification ability of the model. Specifically, the MacBERT model proposes improvements based on the BERT model. In the mask stage, a synonym toolkit calculated based on the word2vec method is used to replace the words masked during model pre-training with synonyms. In this case, the mask flag input into the pre-trained model is replaced, and no loss will occur in downstream work. The present invention proposes further improvements suitable for navigation notices for the masking part of MacBERT. The word2vec method is an earlier character processing model. In the masking stage of MacBERT, the synonyms used by the MacBERT model are too general, and most of the non-similar Chinese characters are used for replacement. The difference with the random masking of the original model is small, and the model cannot effectively pay attention to context information. The actual performance improvement is small, and the masking word library of the model is the same for different usage scenarios, so there is no special optimization for the actual text processing problem. In view of the problems of MacBERT model in actual use, the present invention proposes to improve the original model, and use the synonym word library of navigation notice text constructed by the present invention to optimize the replacement source in the original model to obtain a new mask vocabulary. The mask words are not randomly selected, but the mask words are optimized according to the research problem of the present invention to improve the processing accuracy and efficiency of specific problems. The DPCNN model is combined to perform category analysis on entities, which can further improve the accuracy and efficiency of entity classification processing.

[0146] Furthermore, the method further includes classifying the NOTAM entities. The specific categories of NOTAM entities and the corresponding data volumes are shown in Table 2:

[0147] Table 2 Classification of NOTAM categories

[0148]

[0149] Since the data volume of NOTAM is too large and there are many categories, and airport NOTAMs are the most numerous in the entire NOTAM release process, and a large amount of data will make the model training more efficient, the data of airport NOTAMs are taken for example analysis in the present invention. Airport NOTAMs contain three parts: facilities and services, lighting facilities, and operating areas and landing areas. There are a large number of texts in the services and facilities and operating areas and landing areas, so these two categories are selected. Since there are fewer categories under this classification, the query knowledge graph intent is unclear. According to the different handling methods of different events in the NOTAMs, the types of airport NOTAMs are redefined. For example, in Table 3, for taxiway and runway NOTAMs, airport staff will adopt different response mechanisms, so these two NOTAMs are divided into Class A and Class B. The categories and their supporting data volumes are shown in Table 3:

[0150] Table 3 Classification of airport NOTAM categories

[0151]

[0152] It should be noted that some airport-related NOTAMs that do not fall into the above categories are extremely rare and are therefore ignored here.

[0153] On the basis of the two major categories of services and facilities and operation areas and landing areas, subdivided categories are established to make the intention of knowledge graph establishment more clear and improve the processing effect. On the basis of the clear category list, the category of each entity in the navigation notice is established. The entity category annotation example is shown in Table 4:

[0154] Table 4 Entity category annotation example table

[0155]

[0156] Convert the CSV file output after entity recognition into text data, and use the text classification form in Table 4 to label the entity categories. Input the processed text entity data into the BERT-DPCNN model for model pre-training, put the new text data into the trained model, and divide the categories to achieve further intent analysis of the entity data.

[0157] The above examples are combined to obtain a preferred example of the present invention, in which the method of the present invention comprises the following steps:

[0158] S11: Preprocess the navigation notice text and perform BIO annotation, and use the annotated data to train the Bi-GRU-CRF-Attention model; at the same time, classify the navigation notice entities and annotate the entity categories, and use the annotated data to train the BERT-DPCNN model;

[0159] S12: Constructing triples of the knowledge graph: extracting entities of the NOTAM text; classifying the entities to obtain entity categories; determining processing solutions based on entity categories, and constructing triples of the knowledge graph: entity-entity category-processing solution;

[0160] S13: Receive a new navigation notice text entity, classify it, and then query the knowledge graph based on the entity category to obtain a processing solution for the navigation notice.

[0161] In order to illustrate the technical advantages of the method of the present invention, the navigation notice messages from September 2020 to April 2023 obtained from the intelligence center in the past three years are used as a data set, with a total of 105,797 navigation notice data, to construct a self-use navigation notice original data set. In the entity recognition and entity classification stages, the experimental evaluation indicators use precision (Precision), recall (Recall), and F1 value (F1-score) to measure the performance value of the algorithm. The calculation formulas for each evaluation indicator are as follows:

[0162]

[0163]

[0164]

[0165] Among them, TP is the number of samples correctly predicted by the model as positive; FP is the case where the model incorrectly predicts the negative class as positive; FN is the case where the model incorrectly predicts the positive class as negative. The above performance indicators can accurately represent the training efficiency of the model. During the experiment, the present invention will compare a series of previously used entity recognition models such as the Bi-GRU model, BiLSTM-CRF model, and Bi-GRU-CRF model in the entity recognition stage, and in the entity classification stage, it will compare BERT, ERNIE, BERT-CNN and other text classification models to further understand the pros and cons of the model used by the present invention and conduct a clear comparative analysis. And find the optimization direction of the model based on the comparative experiment, and clarify the subsequent experimental work.

[0166] Furthermore, the experiment of the present invention adopts Pytorch1.13.1, Python3.7.16 environment, graphics card 2060, running memory is 6G, the running memory is small, the batch size is reduced to 8, the learning rate is 5×10-5, and the epoch parameter is set to 20. The experimental model is designed to randomly select 60% of the data as the training set, 20% of the data as the test set, and 20% of the data as the validation set during each training process.

[0167] For the Bi-GRU-CRF-Attention model, after data preprocessing, the cleaned data is annotated in the CSV file. The present invention uses the BIO annotation method to annotate the facilities, status, and reasons in the navigation notice with the entity start and end. The annotated CSV data is packaged into a pkl file and input into the Bi-GRU-CRF-Attention model for entity recognition model training. The model is compared with the existing model. The model performance comparison results under the training set are shown in Table 5:

[0168] Table 5 Training set parameter comparison table

[0169]

[0170] It can be seen from the above table that among the performance parameters obtained after training the model using the training set, the Bi-GRU-CRF-Attention model of the present invention has the best training effect. When the model is trained to the 19th generation, the maximum F1 value is 0.9549, presenting the best result. Compared with the previously available model parameters, the model performance used in the present invention is more stable and the training efficiency is better.

[0171] The training parameters of the model are usually obtained and adjusted through the training set data. The training set data is used to learn the parameters in the model and to minimize the loss function on the training set. After the model is trained with the training set data, the validation set is used to adjust the model's hyperparameters and prevent the model from overfitting. Finally, the model uses the test set to evaluate the final performance. The performance index parameters of different models obtained from the test set are shown in Table 6:

[0172] Table 6 Test set parameter comparison table

[0173]

[0174] Due to the occurrence of overfitting, the performance parameters of the test set are lower than those of the training set. The overfitting of the model is alleviated by expanding the training set. The F1 of the model on the training set can reach 0.9436. The performance parameters obtained on the test set can illustrate the performance of the model on data that did not participate in the training process, showing that the model has good generalization ability.

[0175] Furthermore, the trained model is used for entity labeling. The labeling result examples are shown in Table 7:

[0176] Table 7 Example of model annotation results

[0177]

[0178] After the entity recognition results are processed, the sentences are divided into vocabulary. First, the airport-type navigation notices are screened out according to the judgment basis of the Q code in the navigation notice. Then, the facilities and services and the operation area and landing area are selected from the airport-type navigation notices. The number of these two types of notices is relatively large in the entire navigation notice original data. When the number is large, the model training effect is better and the performance is better. After the text data used is screened out, it is divided into independent vocabulary individuals according to the beginning and end annotations of the entity for the next step of entity classification operation. The text data is divided according to the table in Chapter 3. The types after division are 8 types from AH and above. The above 8 types of text data files are stored in txt files, and then 11449 items of data are annotated. The annotation examples are shown in Table 4. In the txt file, the entity text data and the letters representing the category are separated by spaces, and all the filtered entity texts are annotated. After the processed txt file is input into the BERT-DPCNN classification model, the classification model is trained. Due to the different amount of data of each type, different training performances will appear after the data is input into the model for training. Different types of data also have different content repetitions. For example, since the D-type navigation notice text is more complex, although the D-type data is more in the training of the present invention, the model training effect is not good. The training effect of the model is affected by the repetition rate and the amount of text. The training performance is shown in Table 8:

[0179] Table 8 Entity classification model experimental results

[0180]

[0181] It can be seen from the above table that in the case of training set data, the algorithm performance of different category models is also different. The F1 value of the Class C downtime area is as high as 0.9895. Finally, the model performance parameters of all categories are combined to obtain the average F1 value of the model effectiveness, which is 0.8842.

[0182] When using the training set data, the BERT-DPCNN model of the present invention is compared and analyzed with the previous commonly used classification models. The analysis results are shown in Table 9:

[0183] Table 9 Model classification performance comparison table

[0184]

[0185] By comparing different models with the entity model classification algorithm model used in the present invention, it can be seen that, in the case of training set data, the F1 value of the model of the present invention is higher than that of each traditional classification algorithm.

[0186] The generalization of the model is also evaluated and compared in the test set. Due to the existence of overfitting, the entity classification model still has the situation that the training set model parameters are better than the test set model parameters. The model parameters in the test set are shown in Table 10:

[0187] Table 10 Comparison of model generalization performance

[0188]

[0189] As can be seen from the table above, the model of the present invention performs better than the conventional classification model in the test set data, and the F1 value reaches 0.8372, indicating that the model is relatively good in generalization. However, the model is greatly affected by the degree of overfitting, which may be due to the short length of text data at the classification model level, which causes the model to react more strongly to small changes in the training data.

[0190] After using this model to process the text, the specific categories can be accurately represented, laying the foundation for the subsequent establishment of knowledge graph triples, making the intention of each navigation notice clearer and more accurately divided into the subject entity part of the triple, and obtaining the processing plan of the navigation notice through the relationship in the knowledge graph database.

[0191] For the generation of processing solutions, neo4j is used to build a knowledge graph. First, the subject part of the triple is created according to the navigation notice facility entity. The state part of the entity and various navigation notice processing methods are used to create the predicate and object components, so as to use the Cypher language to write the knowledge graph triple. For example, the process of "RWY12 closed due to construction" is shown in Tables 11 (a) and 11 (b).

[0192] Table 11(a) Example table for creating nodes

[0193]

[0194] Table 11(b) Create a relationship example table

[0195]

[0196] In the creation of nodes, a node of Statement type (node ​​type) named receiveStatement (node ​​name) is created in the node table, and its text attribute is: 'RWY12 Closed due to construction', and a node of Runway type named runway is created, and its name attribute is RWY12, and its state attribute is 'Closed'. In the creation of relationships, a relationship is created from the receiveStatement node to the runway node, and the relationship type is AFFECTS (one entity has an impact on another entity), and a relationship from the runway node to the solution node, and the relationship type is REQUIRES (one entity requires another entity to complete a process or achieve a result).

[0197] Each type of airport NOTAM text is stored in the knowledge graph according to the above steps to build a complete knowledge graph database. When there is new NOTAM issuance knowledge, the Cypher language is used to search in the database to obtain the processing plan for the NOTAM, as shown in Table 12:

[0198] Table 12 Treatment solution lookup table

[0199]

[0200] In the above table, the meaning of the first query statement is to match a pattern, which contains a receiveStatement node of Statement type, whose text attribute is 'RWY12 closed due to construction', connected to a runway node of Runway type through AFFECTS relationship, and then connected to a solution node of Solution type through REQUIRES relationship. The meaning of the second query statement is to match a pattern, which contains a receiveStatement node of Statement type, whose text attribute is 'Parking bay 112 closed', connected to an apron node (node ​​name) of Apron (attribute name) type through AFFECTS relationship, and then connected to a solution node of Solution type through REQUIRES relationship.

[0201] The present invention proposes an automated processing method for NOTAM. Firstly, the preprocessed text data is used to identify entities such as status, facilities, and reasons in the NOTAM through a Bi-GRU-CRF-Attention named entity recognition algorithm model with an attention mechanism, and segmentation is performed to screen out airport NOTAMs. The entities therein are classified using a BERT-DPCNN model, and a classification suitable for airport NOTAMs is established. The model is used to divide specific categories of different entities. Finally, a knowledge graph triple is constructed through neo4j according to the specific categories, and the newly received NOTAMs are retrieved in a database through the Cypher language. Finally, a processing scheme for this NOTAM is obtained, and the full-process automated processing of NOTAMs is realized.

[0202] An example of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method for processing navigation notice text formed by any one of the above examples or a combination of multiple examples. The processor may be a single-core or multi-core central processing unit or a specific integrated circuit, or one or more integrated circuits configured to implement the present invention.

[0203] An example of the present invention further provides a terminal, which has the same inventive concept as any example or a combination of multiple examples corresponding to the above-mentioned method for processing a navigation notice text, and includes a memory and a processor, wherein the memory stores computer instructions that can be run on the processor, and the processor executes the steps of the above-mentioned method for processing a navigation notice text when running the computer instructions. The processor can be a single-core or multi-core central processing unit or a specific integrated circuit, or one or more integrated circuits configured to implement the present invention.

[0204] In one example, the terminal, i.e., the electronic device, is in the form of a general-purpose computing device, and the components of the electronic device may include, but are not limited to: the above-mentioned at least one processing unit (processor), the above-mentioned at least one storage unit, and a bus connecting different system components (including the storage unit and the processing unit). The storage unit stores a program code, and the program code can be executed by the processing unit, so that the processing unit performs the steps of various exemplary embodiments of the present invention described in the above-mentioned "Exemplary Method" section of this specification. For example, the processing unit can execute the above-mentioned one method for processing the text of the navigation notice. The storage unit may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 3201 and / or a cache storage unit, and may further include a read-only storage unit (ROM). The bus may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of a variety of bus structures.

[0205] The electronic device may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may communicate with one or more devices that enable a user to interact with the electronic device, and / or may communicate with any device that enables the electronic device to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface. Furthermore, the electronic device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter. The network adapter communicates with other modules of the electronic device through a bus. It should be understood that other hardware and / or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0206] Through the above description, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to this exemplary embodiment can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method of the exemplary embodiment of the present application.

[0207] The above specific implementation methods are detailed descriptions of the present invention. It cannot be determined that the specific implementation methods of the present invention are limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions and substitutions can be made without departing from the concept of the present invention, which should be regarded as belonging to the protection scope of the present invention.

Claims

1. A method for processing NOTAM text, It is characterized in that The following steps are involved: Extract NOTAM text entity; Classify the entities to obtain entity categories; The knowledge graph is queried based on entity categories to obtain the processing solution for NOTAM. The triple of the knowledge graph is entity-entity category-processing solution. A classification model is used to classify entities. The classification model includes a sequentially connected language model and a text classification model. The language model is a Ccf-MacBERT model. The text classification model is a convolutional neural network or a deep convolutional neural network. The language model is used to convert entity text into word sequences and convert them into numerical form to obtain vectors; The text classification model receives the vector and performs classification processing to obtain the entity category; The Ccf-MacBERT model includes an input layer, a detection network, an error correction network, an error correction mask layer and an output layer. The detection network and the error correction network are fully connected layers. The input layer is connected to the detection network and the error correction network respectively, and the input layer is connected to the error correction mask layer. The input layer is residually connected to the output layer. The detection network, the error correction network and the error correction mask layer are connected, and the error correction mask layer is connected to the output layer. The detection network is used to output the probability that the character at each position is an incorrect character. The error correction network is used to select the position of the wrong character according to the probability of the incorrect character and perform correction processing. The correction network is used to calculate the mask probability of each character. The error correction mask layer replaces the characters that need to be masked with synonyms in the synonym thesaurus according to the mask probability. The establishment of a synonym word library includes the following steps: Calculate the pronunciation similarity and glyph similarity of Chinese characters in NOTAM; Determine the synonyms of each Chinese character based on pronunciation similarity and character shape similarity, and then establish a synonym word library; Calculating pronunciation similarity includes: Provide pronunciation annotations for Chinese characters in NOTAMs; Use the character embedding model to calculate the pronunciation vector of Chinese characters; A pronunciation knowledge graph is established with the pronunciations of Chinese characters in the navigation notice as nodes and the relationships between pronunciations as edges, which serves as the input of the graph neural network. The pronunciation vector is added as a supplementary vector to the graph neural network, so that the graph neural network performs weighted processing on the calculated node vector and the pronunciation vector, and calculates the similarity between the weighted vectors to obtain the pronunciation similarity; Calculating glyph similarity includes: Extract glyph feature vectors through convolutional neural network tianzege-CNN; Use the BERT model to process Chinese characters or words to obtain character or word-level embedding vectors; Combine the embedding vector with the glyph feature vector to form an enhanced embedding vector; Calculate the similarity between enhanced embedding vectors to get glyph similarity.

2. A method for processing navigation notice text according to claim 1, It is characterized in that The method also includes a triple construction step of the knowledge graph: Extract entities from NOTAM text; classify entities to obtain entity categories; determine processing solutions based on entity categories and construct a knowledge graph triple: entity-entity category-processing solution; or, According to the historical NOTAM processing solutions, the entity categories and NOTAM text entities corresponding to each NOTAM processing solution are obtained to construct the triple of knowledge graph: entity-entity category-processing solution.

3. A method for processing navigation notice text according to claim 1, It is characterized in that Extract the navigation notice text entities through the named entity recognition model, where the named entity recognition model is the BiLSTM-CRF model or the Bi-GRU-CRF-Attention model; The BiLSTM-CRF model consists of a sequentially connected word embedding layer, a bidirectional long short-term memory network, and a conditional random field layer; The Bi-GRU-CRF-Attention model includes a sequentially connected input embedding layer, a gated recurrent unit module, at least one attention mechanism module, and a conditional random field layer; the gated recurrent unit module includes a parallel backward gated recurrent unit and a forward gated recurrent unit; The attention mechanism module includes a multi-head self-attention layer, a first addition layer, a first layer normalization, a feedforward layer, a second addition layer, and a second layer normalization connected in sequence.

4. A method for processing navigation notice text according to claim 3, It is characterized in that The method also includes training a named entity recognition model, including: Perform entity annotation on the NOTAM text, marking the beginning, end and non-entity parts of the entity; The named entity recognition model is trained by annotating the navigation notice text to obtain a trained named entity recognition model, and then the navigation notice text entities are extracted.

5. A method for processing navigation notice text according to claim 1, It is characterized in that Before extracting the NOTAM text entity, data preprocessing is also included, including: Receive raw text data of NOTAM; Perform text screening on the original text data to obtain the text of the navigation notice; Convert the text to Chinese and remove unknown characters.

6. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of a method for processing navigation notice text as described in any one of claims 1-5 are implemented.

7. A terminal comprising a memory and a processor, wherein the memory stores computer instructions executable on the processor, It is characterized in that When the processor runs the computer instructions, the processor executes the steps of a method for processing navigation notice text as described in any one of claims 1-5.

Citation Information

Cited By

  • Method for generating navigation announcement abstract through artificial intelligence technology

    CN121071136A

  • A method for generating a navigation notice abstract by artificial intelligence technology

    CN121071136B

  • System and process for correcting NOTAMS using a trained machine learning algorithm

    US12530974B2

  • System and process for correcting notams using a trained machine learning algorithm

    US20230360540A1