A method and system for extracting waterway notice information based on BiLSTM-CRF model

The key elements of channel notification information are extracted through the BiLSTM-CRF model, which solves the problem of converting unstructured information into structured data, improves the integration and sharing of channel resources and the intelligent matching of channel maps, and realizes the efficient extraction and visualization of channel notification information. .

CN111914539BActive Publication Date: 2024-09-10CHANGJIANG WATERWAY SURVEY CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010756216.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-31
Publication Date
2024-09-10
Estimated Expiration
2040-07-31

AI Technical Summary

Technical Problem

Existing technologies fail to effectively convert unstructured channel notification information into structured data, resulting in low efficiency in integrating and sharing channel resources and making it difficult to achieve intelligent spatial matching of information and channel maps.

Method used

The waterway notice information extraction method based on the BiLSTM-CRF model is used. Through Chinese word segmentation and geographical entity recognition, the key elements in the waterway notice information are divided into institutions, locations, topics, events and time, and a text semantic extraction model is constructed. Short-term memory gated structure-discrete random field model is used for machine learning training to extract key information of channel notification elements.

Benefits of technology

It realizes the rapid extraction and structured processing of channel notification information, improves the integration and sharing utilization of channel resources, is suitable for the visualization of channel notification information and navigation auxiliary reminders, and improves the recognition accuracy and recall rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111914539B
    Figure CN111914539B
Patent Text Reader

Abstract

The present invention provides a method and system for extracting waterway notice information based on a BiLSTM-CRF model, including performing Chinese word segmentation according to waterway related information, constructing an electronic waterway map object name word segmentation dictionary according to the waterway element layer as a login dictionary when performing Chinese word segmentation; realizing key information extraction through geographic entity recognition, including dividing the elements of waterway notice information that are of practical significance to users according to organization O, location L, theme S, event E and time T, constructing a text semantic extraction model for waterway notices, using a BiLSTM-CRF model for training under the constraints of the text semantic extraction model, and extracting key information. The waterway notice information obtained by the present invention can be used for visualization of text information such as waterway notices and scales, visualization of key waterway areas and navigation assistance reminders, as well as waterway information interaction and push based on mobile terminals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent waterway information, and in particular to a waterway notice information extraction method based on a BiLSTM-CRF model. Background Art

[0002] Channel notice information is public information released by the waterway department to ensure the smooth and safe passage of waterways. Through the content of channel notices, ships can plan their sailing routes in advance and avoid safety hazards and property losses caused by obstacles as much as possible.

[0003] In the current digital waterway information construction, a fixed structured template has not yet been formed, and waterway notice information is mainly presented in the form of unstructured text, which makes it difficult for related businesses to achieve business collaboration through information sharing and process docking, and the comprehensive resource utilization efficiency is low. It is necessary to convert these texts into structured data through natural language processing technology to promote the integration and sharing of waterway resources.

[0004] Therefore, this field urgently needs to propose new practical technologies to convert unstructured channel notice data into structured data with spatial identification, so as to provide a data basis for practical applications such as intelligent spatial matching of channel notice information with electronic channel charts in the Yangtze River Channel Chart APP or other real-time application tools. Summary of the invention

[0005] The purpose of the present invention is to realize a technical solution for extracting waterway notice information based on a BiLSTM-CRF model, improve the utilization rate of waterway notice information, and promote the integration and sharing of waterway resources.

[0006] The technical solution of the present invention provides a method for extracting waterway notice information based on a BiLSTM-CRF model, comprising the following steps:

[0007] Step 1, perform Chinese word segmentation based on the waterway related information. When performing Chinese word segmentation, construct an electronic waterway chart landmark name word segmentation dictionary based on the waterway element layer as a login dictionary;

[0008] Step 2: Extract key information through geographic entity recognition, including dividing the elements in the waterway notice information that are of practical significance to users according to organization O, location L, theme S, event E and time T, building a text semantic extraction model for the waterway notice, and using the BiLSTM-CRF model for training under the constraints of the text semantic extraction model to extract key information.

[0009] Moreover, the channel information is acquired in advance, including acquiring and storing the channel related information, wherein the channel related information includes channel notices, planned water depths and maintenance scales; the acquisition of the channel related information is achieved by using a focused web crawler.

[0010] Moreover, when crawling pages, the filtered links are placed in the URL queue in sequence according to the priorities of "important", "upstream", "midstream" and "downstream".

[0011] Moreover, the implementation method of constructing the word segmentation dictionary of electronic navigation chart landmark names based on the navigation feature layer is as follows:

[0012] Step 1.1, batch load waterway feature layers;

[0013] Step 1.2, read the feature, extract the feature name according to the attribute field, and save the result to the read attribute name list;

[0014] Step 1.3, determine whether there are currently unread elements, if yes, continue reading the elements and return to step 1.2, if no, end the reading process and go to step 1.4;

[0015] Step 1.4, according to the final name list obtained in step 1.2, write them into a text file in sequence according to the "name+newline" format of the Chinese word segmentation dictionary, and output the final file as the word segmentation dictionary.

[0016] Moreover, in the text semantic extraction model of channel notices,

[0017] Organization O, used to identify the issuing organization of the navigation notice;

[0018] Location L, used to identify location-related information contained in the channel notice, including typical channel features with clear spatial location characteristics;

[0019] Subject S is used to identify the main content contained in the channel notice, including the channel special element objects and the operating status of the channel;

[0020] Event E is used to identify process-related content in navigation notices, including natural events and man-made events;

[0021] Time T is used to identify the release time of the channel notice.

[0022] Moreover, the BiLSTM-CRF model is trained under the constraints of the text semantic extraction model, including annotating the text semantic extraction model with the BIO annotation set used in the Bakeoff-3 evaluation, and adding constraints to the final predicted label in the CRF layer of the BiLSTM-CRF model.

[0023] Moreover, it is used for spatial information visualization, including spatial matching with electronic navigation charts based on geographic entities labeled as locations identified by the BiLSTM-CRF model, and generating geographic fences centered on the spatial location, with annotations to display real-time navigation notice information.

[0024] Moreover, it is used for visualization of key areas of the waterway and navigation assistance reminders.

[0025] Moreover, it is used for the interaction and push of waterway information based on mobile terminals.

[0026] The present invention also provides a waterway announcement information extraction system based on the BiLSTM-CRF model, which is used to execute the waterway announcement information extraction method based on the BiLSTM-CRF model as described above.

[0027] The present invention proposes a channel notice information extraction technology based on the BiLSTM-CRF model to achieve rapid extraction of channel notice information. The present invention first uses web crawler technology to crawl and store channel-related information on the website of the waterway bureau, and then intelligently processes the crawled data to split the unstructured channel notice information into independent word units with specific meanings, and then constructs a text semantic extraction model of the channel notice "Organization-Location-Theme-Event-Time" (OLSET), and combines the bidirectional long short-term memory gated structure-discrete random field (BiLSTM-CRF) model for machine learning training, and finally realizes machine intelligent extraction of key information of channel notice elements based on the training results. The obtained channel notice information can be used for visualization of text information such as channel notices and scales, visualization of key areas of waterways and navigation assistance reminders, as well as waterway information interaction and push based on mobile terminals. The present invention uses the names of electronic navigation chart objects to construct a word segmentation dictionary, which can extract channel information more accurately than conventional dictionaries. This solution is not only suitable for the extraction of information elements of channel notices, but also for the geospatialization and visualization of other shipping information. Moreover, as the machine learning model runs and improves, its recognition accuracy, recall rate and other indicators will continue to improve. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 is a system structure diagram of an embodiment of the present invention;

[0029] Figure 2 A schematic diagram of obtaining waterway information according to an embodiment of the present invention;

[0030] Figure 3 A schematic diagram of extracting key information according to an embodiment of the present invention;

[0031] Figure 4 A schematic diagram of the process of constructing a Chinese word segmentation dictionary according to an embodiment of the present invention;

[0032] Figure 5 A schematic diagram of a Chinese word segmentation process according to an embodiment of the present invention;

[0033] Figure 6 This is a schematic diagram of the BiLSTM-CRF model structure of an embodiment of the present invention;

[0034] Figure 7 Schematic diagram of spatial information visualization according to an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and embodiments.

[0036] The processing flow of the waterway notice information extraction method based on the BiLSTM-CRF model provided in the embodiment is specifically implemented as follows:

[0037] 1. Acquire and store waterway related information in advance.

[0038] The embodiment preferably uses the focused crawler technology to crawl waterway notices, planned water depths, maintenance scales and other waterway related information from the Yangtze River Waterway Administration website, and the results can be stored in a database. Figure 2 , the detailed implementation steps are described as follows:

[0039] Step 1, definition and description of crawling targets: In the focused web crawler, first of all, the targets and descriptions of the focused web crawler should be defined according to the crawling requirements, that is, the waterway service webpage of the Yangtze River Navigation Administration, including weekly waterway scale forecasts, waterway notices, water levels, tide levels, safety warnings, comprehensive service information, monthly water depth plans, annual water depth plans, etc.;

[0040] Step 2, obtain the initial URL (http: / / www.cjhdj.com.cn / hdfw / );

[0041] Step 3, crawl the page according to the initial URL and obtain the new URL;

[0042] Step 4: Filter out links that are not related to the crawling target from the new URL. For example, when crawling channel notices, the filtering keyword of the URL address is "channel_notice", that is, all web page addresses must start with "http: / / www.cjhdj.com.cn / hdfw / channel_notice / ";

[0043] Step 5: Put the filtered links into the URL queue one by one:

[0044] In specific implementation, based on the business division of the Yangtze River Navigation Administration, the channel notice webpage has sub-columns such as key, upstream, midstream, downstream, and summary. The key column includes channel information that is of great reference significance and value to ship navigation, such as the opening and closing of the channel, the adjustment of the channel, and some channel emergencies, etc. The upstream, midstream, and downstream columns provide notice information corresponding to the geographical section division of the channel, usually divided by geographical location. Therefore, the preferred suggestion can be placed in the URL queue in sequence according to the priority of "important", "upstream", "midstream", and "downstream", for example:

[0045] ① "Important" (http: / / www.cjhdj.com.cn / hdfw / channel_notice / hdtgzy / ),

[0046] ② "Upstream" (http: / / www.cjhdj.com.cn / hdfw / channel_notice / hdtgsy / ),

[0047] ③ "Middle" (http: / / www.cjhdj.com.cn / hdfw / channel_notice / hdtgzy1 / ),

[0048] ④ “Downstream” (http: / / www.cjhdj.com.cn / hdfw / channel_notice / hdtgxy / );

[0049] Step 6, adopting a breadth-first crawling strategy for the filtered links to obtain web page content;

[0050] Step 7, obtain the next URL address to be crawled as the initial URL address, and repeat steps 3-7;

[0051] Step 8: Stop crawling when the URL address to be crawled cannot be obtained.

[0052] 2. Based on the input waterway related information, Chinese word segmentation and geographic entity recognition are performed. The extraction process is as follows: Figure 3 , the detailed implementation steps are described as follows:

[0053] (1) Chinese word segmentation

[0054] Since the electronic navigation chart contains proper nouns such as names of navigation-related places and names of navigation facilities such as navigation marks and regulation buildings, which are not included in conventional dictionaries, the embodiment uses the names of electronic navigation chart objects to construct a word segmentation dictionary. The processing flow is as follows: Figure 4 As shown in the figure, the open source word segmentation tool Jieba is used in Python environment to segment the channel notice title. The processing flow is as follows Figure 5, the detailed implementation steps are described as follows:

[0055] Step 1: Build a word segmentation dictionary for electronic navigation chart object names, see Figure 4 , the specific process is described as follows:

[0056] Step 1.1, batch load waterway feature layers.

[0057] Step 1.2, read the feature, extract the feature name according to the attribute field (such as NOBJNM), and save the result to the read attribute name list.

[0058] Step 1.3, determine whether there are currently unread elements. If so, continue reading the elements and repeat step 1.2. If not, end the reading process and proceed to step 1.4.

[0059] Step 1.4, according to the final name list obtained in step 1.2, write them into a text file in sequence according to the "name+newline" format commonly used in Chinese word segmentation dictionaries, and output the final file as a word segmentation dictionary.

[0060] Step 2: perform sentence cleaning on the sentence to be processed, separate special characters such as Latin symbols based on utf8 encoding that are not related to word segmentation, and mark the special characters as unknown parts of speech.

[0061] Step 3, load the constructed electronic navigation chart landmark name segmentation dictionary as a login dictionary to establish a trie tree segmentation model (prefix dictionary).

[0062] Step 4: Scan the word graph based on the prefix dictionary to generate a directed acyclic graph (DAG) consisting of all possible word formation situations of Chinese characters in the text;

[0063] Step 5: Use dynamic programming to find the maximum probability path Route and find the maximum segmentation combination based on word frequency;

[0064] Step 6, for the entry words included in the word segmentation dictionary, mark them according to the dictionary;

[0065] Step 7: For words not included in the word segmentation dictionary, they are identified separately in Chinese and English, and the combination of English, numbers and time forms is marked accordingly. For Chinese, the Hidden Markov Model (HMM) model based on the word-forming ability of Chinese characters is used to calculate the word-forming probability;

[0066] Step 8: Part-of-speech tagging based on the Viterbi algorithm;

[0067] Step 9: Extract keywords based on TF-IDF and TextRank models.

[0068] (2) Named Entity Recognition

[0069] Step 1: Although the current channel notice information is unstructured, it still contains specific element units, such as organization, location, subject, event and time. This allows the geographic entity recognition of the channel notice information to be converted into a sequence labeling problem, thereby simplifying the problem into structured classification, paving the way for the next step of deep learning. The elements in the channel notice information that are of practical significance to users are divided according to organization, location, subject, event and time, thereby constructing a text semantic extraction model of the channel notice "Organization-Location-Subject-Event-Time" (OLSET), where:

[0070] (1) O (Organization): used to identify the issuing agency of the waterway notice, such as Yangtze River XX Waterway Bureau, etc.

[0071] (2) L (Location) is used to identify the location-related information contained in the channel notice, such as XX waterway\waters\river section\shoal... (only XX is marked, without suffixes such as waterway\waters\river section\shoal) and typical waterway features with clear spatial location characteristics such as bridges and docks.

[0072] (3) S (Subject): It is used to identify the main content contained in the channel notice, including special channel elements such as controlled river sections, shoals, bridge areas, signal towers, dedicated waterways, navigation marks, etc., as well as the operating status of the channel, such as prohibited navigation, non-prohibited navigation, closing of classes, opening of classes, navigation mark adjustment, removal, restoration, deployment, abnormality, change, etc.

[0073] (4) E (Event): used to identify process-related content in waterway notices, such as natural events such as flood peaks, floods, low water levels, flood seasons, non-flood seasons, or artificial events such as waterway maintenance, dredging, sand mining, construction, operations, surveys, etc.

[0074] (5) T (Time): used to indicate the time of issuance of the channel notice, such as XX / XX / XX, etc.

[0075] Step 2: Use the BiLSTM-CRF model to perform machine learning training and extract key information. The model structure is shown in the figure below: Figure 6 , the processing flow is described as follows:

[0076] 1) Based on the text semantic extraction model constructed in step 1, the model is annotated using the BIO annotation set used in the Bakeoff-3 evaluation, that is, B-ORG represents the first word of the organization, I-ORG represents the non-first word of the organization, B-LOC represents the first word of the location, I-LOC represents the non-first word of the location, B-SUB represents the first word of the subject, I-SUB represents the non-first word of the subject, B-EVE represents the first word of the event, I-EVE represents the non-first word of the event, B-TM represents the first word of the event, I-TM represents the non-first word of the time, and O represents that the word is not part of the named entity.

[0077] The present invention proposes that geographic entity recognition is actually a classification problem, so the targets are divided according to business needs, and the subsequent steps will be identified through machine learning. In the embodiment, the crawled "important" waterway notice information is used as a training data set to annotate the text semantic extraction model.

[0078] 2) Taking sentences as units, a sentence (sequence of words) containing n words is recorded as:

[0079] x=(x1,x2,...,x n )

[0080] where x i It represents the id of the i-th word in the sentence in the dictionary, and then we can get the word vector of each word, and the dimension is the size of the dictionary.

[0081] 3) Use pre-trained or randomly initialized embedding vector matrices to embed each word x in the sentence i Mapping word vectors to low-dimensional dense word vectors x i (x i ∈R d , R is the word vector, d is the dimension of the vector), and set the overfitting parameter dropout to alleviate overfitting. Dropout means that during the training process of the deep learning network, for the neural network unit, it is temporarily discarded from the network according to a certain probability.

[0082] 4) Automatically extract sentence features. The embedding vector sequence (x1, x2, ..., x n ) as the input of each time step of the bidirectional LSTM, and then the hidden state sequence (h1,h2...,h n ) and the hidden state sequence (h'1,h'2...,h' n ) The hidden states output at each position are concatenated by position h t =[h t ;h' t ]∈R m(m is the dimension of the position), and we get the complete hidden state sequence (h1,h2...,h n )∈R n*m .

[0083] 5) After setting dropout, a linear layer is connected to map the hidden state vector from m dimensions to k dimensions, where k is the number of labels in the annotation set, thereby obtaining the automatically extracted sentence features, which are recorded as the LSTM output matrix P = (p1, p2, ..., p n )∈R n*k .

[0084] R n*k is the word vector set after dimensionality reduction, p i is the rank of the LSTM output matrix.

[0085] You can put p i ∈R k Each dimension p ij are all regarded as the character x i The score of the jth label is classified. If P is Softmaxed again, it is equivalent to k-classification for each position independently. However, when labeling each position in this way, the information that has been labeled cannot be used, so a conditional random field CRF layer will be connected for labeling.

[0086] 6) Perform sentence-level sequence tagging. The parameters of the CRF layer are a (k+2)×(k+2) matrix A, A ij It represents the transfer score from the i-th label to the j-th label. When labeling a position, we can use the previously labeled label. The reason for adding 2 is to add a start state to the beginning of the sentence and a stop state to the end of the sentence. If we record a label sequence y=(y1,y2,...,y n ), then the model's score for sentence x's label equals y is:

[0087]

[0088] Where P i,yi is the score of the i-th word classified into the yi-th label, A yi-1,yi represents the transfer score from the yi-1th label to the yith label.

[0089] It can be seen that the score of the entire sequence is equal to the sum of the scores of each position, and the score of each position is obtained from two parts, one of which is p output by LSTM i The other part is determined by the CRF transfer matrix A. Then, Softmax can be used to obtain the normalized probability:

[0090]

[0091] Among them, y n is a subsequence of the label sequence y, that is, the possible labels. score(x,y) is the score of sentence x having label equal to y. n ) is the label of sentence x equal to y n 's scoring.

[0092] 7) Maximize the log-likelihood estimate. The following formula gives the log-likelihood of a training sample (x, y):

[0093]

[0094] 8) Get the predicted label of each word. Use the Viterbi algorithm of dynamic programming to solve the optimal path:

[0095]

[0096] The Viterbi algorithm is a classic algorithm for solving the optimal path through dynamic programming, which will not be described in detail in the present invention.

[0097] 9) CRF layer rule constraints. B-LSTM can be used to obtain the label of each word in a sentence, but it cannot guarantee that the label is predicted correctly every time. The CRF layer can add some constraints to the final predicted label to ensure that the predicted label complies with the rules. These constraints can be automatically learned through the CRF layer during the training data training process. Connecting the CRF layer to perform sentence-level label prediction makes the labeling process no longer an independent classification of each word, introduces the transition probability of the sequence, and finally calculates the function loss and feeds it back to the network. Under the action of CRF, the sequence can make reasonable adjustments based on the transition probability.

[0098] In the embodiment, after the model training and learning is completed, the crawled "upstream", "midstream" and "downstream" waterway announcement information is used as a test data set to verify and evaluate the model processing results.

[0099] In specific implementation, the method proposed in the technical solution of the present invention can be automatically operated by those skilled in the art using computer software technology, and the system device for operating the method should also be within the protection scope of the present invention. Figure 1 The embodiment also provides a waterway notice information extraction system based on the BiLSTM-CRF model, comprising a Chinese word segmentation module (10) and a named entity recognition module (20).

[0100] The Chinese word segmentation module (10) is used to perform Chinese word segmentation based on the waterway related information. When performing Chinese word segmentation, an electronic waterway chart landmark name word segmentation dictionary is constructed based on the waterway element layer to serve as a login dictionary;

[0101] The named entity recognition module (20) is used to realize key information extraction through geographic entity recognition, including dividing the elements in the waterway notice information that are of practical significance to the user according to the organization O, location L, theme S, event E and time T, constructing a text semantic extraction model for the waterway notice, using a BiLSTM-CRF model for training under the constraints of the text semantic extraction model, and extracting key information.

[0102] The implementation of each module can refer to the corresponding method step implementation instructions, which will not be described in detail in the present invention.

[0103] The technical solution of the present invention can have a variety of subsequent applications, such as:

[0104] (1) Visualization of text information such as waterway notices and scales. The Yangtze River Waterway Map APP obtains the text information of waterway notices published by the Yangtze River Navigation Administration, extracts the geographical location, scope, key content, start and end time and other information in the text information through natural language processing technologies such as template matching word segmentation and named entity recognition, and performs structured processing on it. The spatial information such as the geographical location and scope is matched with the waterway, mileage and other elements on the electronic waterway chart, and a geographic fence is constructed with "coordinate point + buffer zone" or polygons. The corresponding key content in the waterway notice and scale is displayed on it, and the start and end time is used to control the display and cancellation of information.

[0105] (2) Visualization of key waterway areas and navigation assistance reminders. Geographic fences are constructed based on the scope of anchorages, warning areas, restricted navigation areas, etc., and are displayed superimposed on the electronic navigation chart. When the ship positioning signal approaches or is within the scope of the geographic fence, relevant warning and alarm information can be pushed to it; a geographic fence is constructed based on the waterway scope of the Yangtze River electronic navigation chart. When the ship positioning signal approaches or is within the scope of the geographic fence of the waterway, the waterway maintenance scale, navigation mark water level information, waterway notices, surrounding meteorological information and related geographic information points of interest (POI) related to the waterway can be pushed to it.

[0106] (3) Interaction and push of navigation information based on mobile terminals. The Yangtze River Navigation Map APP provides users with a "user reporting" function. Click on the electronic navigation map to obtain the geographic coordinates of the location, and use this to create a geographic fence and generate reporting information. Users can attach text descriptions or on-site photos to the reporting information and report the navigation site information to the relevant management department, which is conducive to the first-time confirmation of the site and the rapid update and release of information.

[0107] For ease of implementation and reference, the specific implementation description of the channel information visualization of the embodiment is provided as follows:

[0108] The identified geographic entities, i.e. the entities marked (labeled) as "location" in the named entity recognition step, are spatially matched with the electronic navigation chart, and a geographic fence is generated with the spatial location as the center, and the real-time navigation notice information is marked. The visualization process is as follows Figure 7 , the detailed implementation steps are described as follows:

[0109] Step 1: Based on AIS data or mobile GPS data, parse and obtain the latitude and longitude of the current location to determine whether it is within the relevant APP map range. If not, roam to the map where the current location is located.

[0110] Step 2: Extract the center of the waterway feature so that the notification information can be drawn at the center of the feature: Perform overlay analysis within the current map range to obtain typical waterway features with clear spatial location characteristics such as waterways, navigation marks, bridges, and docks, and calculate their center positions in turn so that the waterway notification information can be drawn in the center. For point features such as navigation marks and obstructions, their center positions are represented by the actual position; for linear or surface features such as bridges, docks, and waterways, their center positions can be represented as:

[0111]

[0112] where x i and i It is the coordinate of point feature i that makes up the line or area feature, and n is equal to the total number of point features that make up the line or area feature.

[0113] Step 3, calculate a suitable buffer radius or polygon range (such as one third of the screen width) according to the current mobile device resolution and the center position obtained in step 2, and construct the geo-fence in turn.

[0114] Step 4: Calculate whether the geofences constructed in step 3 overlap each other. For simple polygonal geofences, the "ray method" has a higher query efficiency. Draw a ray along the X-axis from each point of geofence A in turn, determine the intersection of the ray with each edge of geofence B, and count the number of intersections. If the number of intersections is even, there is no overlap between geofences A and B. Otherwise, there is overlap. In this case, the geofence range needs to be adjusted or offset processed.

[0115] Step 5: Based on the feature name obtained in step 2, the corresponding key information is obtained through WebService service requests in sequence.

[0116] Step 6, based on the center position of the feature obtained in step 2 and the key information obtained in step 5, organize it in a preset specific format (such as feature name + event + time) to simplify the channel notification information, and draw and mark it within the geographic fence range determined in step 4.

[0117] During specific implementation, the above applications can also be automatically run using software.

[0118] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.

Claims

1. A method for extracting waterway notice information based on the BiLSTM-CRF model, characterized in that: The following steps are involved: Step 1: Perform Chinese word segmentation based on the waterway related information. When performing Chinese word segmentation, construct an electronic waterway chart landmark name word segmentation dictionary based on the waterway element layer as the login dictionary. The implementation process is as follows: First, construct the word segmentation dictionary of electronic navigation chart landmark names. The implementation method is as follows: Step 1.1, batch load waterway feature layers; Step 1.2, read the feature, extract the feature name according to the attribute field, and save the result to the read attribute name list; Step 1.3, determine whether there are currently unread elements, if yes, continue reading the elements and return to step 1.2, if no, end the reading process and go to step 1.4; Step 1.4, according to the final name list obtained in step 1.2, write them into a text file in sequence according to the "name+newline" format of the Chinese word segmentation dictionary, and output the final file as the word segmentation dictionary; Then, the sentences to be processed are cleaned to separate special characters that are not related to word segmentation, and the special characters are marked as unknown parts of speech; the constructed electronic navigation chart landmark name word segmentation dictionary is loaded as the login dictionary to establish a trie tree word segmentation model and obtain a prefix dictionary; the word graph is scanned based on the prefix dictionary to generate a directed acyclic graph consisting of all possible word formation situations of Chinese characters in the text; dynamic programming is used to find the maximum probability path Route to find the maximum segmentation combination based on word frequency; the login words included in the word segmentation dictionary are marked according to the dictionary; for words not included in the word segmentation dictionary, they are identified separately in Chinese and English, and the combination of English, numbers and time forms is marked accordingly. The hidden Markov model based on the word formation ability of Chinese characters is used to calculate the word formation probability of Chinese; part-of-speech tagging is performed based on the Viterbi algorithm; keywords are extracted based on the TF-IDF and TextRank models; Step 2, extract key information through geographic entity recognition, including dividing the elements of waterway notice information that are of practical significance to users according to organization O, location L, theme S, event E and time T, building a text semantic extraction model for waterway notices, training with a BiLSTM-CRF model under the constraints of the text semantic extraction model, and extracting key information; pre-acquiring waterway information, including acquiring and storing waterway related information, the waterway related information including waterway notices, planned water depths and maintenance scales; acquiring waterway related information is achieved by using a focused web crawler; The BiLSTM-CRF model is used for training under the constraints of the text semantic extraction model, including annotating the text semantic extraction model with the BIO annotation set used in the Bakeoff-3 evaluation, and adding constraints to the final predicted label at the CRF layer of the BiLSTM-CRF model; The recognition results are used for spatial information visualization, including spatial matching with the electronic navigation chart based on the geographic entities labeled as locations identified by the BiLSTM-CRF model, and generating geographic fences centered on the spatial location, with annotations to display real-time navigation notice information.

2. The method for extracting waterway notice information based on the BiLSTM-CRF model according to claim 1 is characterized in that: When crawling pages, the filtered links are placed in the URL queue in order according to the priorities of "important", "upstream", "midstream", and "downstream".

3. The method for extracting waterway notice information based on the BiLSTM-CRF model according to claim 1 is characterized in that: In the text semantic extraction model of waterway notices, Organization O, used to identify the issuing organization of the navigation notice; Location L, used to identify location-related information contained in the channel notice, including typical channel features with clear spatial location characteristics; Subject S is used to identify the main content contained in the channel notice, including the channel special element objects and the operating status of the channel; Event E is used to identify process-related content in navigation notices, including natural events and man-made events; Time T is used to identify the release time of the channel notice.

4. The method for extracting waterway notice information based on the BiLSTM-CRF model according to claim 1, 2 or 3, characterized in that: Used for visualization of key waterway areas and navigation assistance reminders.

5. The method for extracting waterway notice information based on the BiLSTM-CRF model according to claim 1, 2 or 3, characterized in that: Used for channel information interaction and push based on mobile terminals.

6. A waterway notice information extraction system based on the BiLSTM-CRF model, characterized by: Used to execute the waterway announcement information extraction method based on the BiLSTM-CRF model as described in claims 1 to 5.