Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Address cutting method, device and equipment and readable storage medium

An address and address tree technology, applied in the field of semantic analysis, can solve problems such as address cutting efficiency decline, address cutting irregularities, address cutting template cutting errors, etc., to achieve efficient address cutting, reduce labeling errors, and accurate results

Pending Publication Date: 2022-02-01
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, address cutting technology is more and more widely used in various fields. For example, address information needs to be cut and processed for sending and receiving express delivery, household registration address management or letter mailing. Non-standard address cutting will bring a lot of inconvenience to people.
[0003] Due to the complexity of address information in China, according to the existing method, it is necessary to use the address cutting template to artificially cut the address text, but the cutting effect is not accurate enough, and only four types of address elements specified in the address cutting template can be cut: province, province, For cities, districts, and counties, the subsequent address text of these four types of address elements cannot be further cut; at the same time, the address cutting template is also prone to cutting errors during the process of cutting address information, and the cutting results need to be manually modified. As a result, the efficiency of address cutting is reduced

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Address cutting method, device and equipment and readable storage medium
  • Address cutting method, device and equipment and readable storage medium
  • Address cutting method, device and equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] The embodiment of the present invention provides a method for cutting addresses, such as figure 1 As shown, the method specifically includes the following steps:

[0047] Step S101: Obtain the address text to be processed, and obtain a pre-trained address segmentation model; wherein, the address segmentation model includes: a BERT algorithm layer and a CRF algorithm layer.

[0048] Wherein, the address text contains several words representing address elements, and address elements are the constituent units of an address, for example: xx province, xx city, xx district, xx street, etc. are all address elements.

[0049] The address segmentation model is a model trained based on a large amount of address sample data that can be used to identify address elements in text, and the address segmentation model is composed of a BERT algorithm layer and a CRF algorithm layer.

[0050] BERT (Bidirectional Encoder Representation from Transformers, deep bidirectional pre-training pr...

Embodiment 2

[0105] The embodiment of the present invention provides a device for cutting addresses, such as figure 2 As shown, the device specifically includes the following components:

[0106] The obtaining module 201 is used to obtain the address text to be processed, and obtain a pre-trained address segmentation model; wherein, the address segmentation model includes: a BERT algorithm layer and a CRF algorithm layer;

[0107] The labeling module 202 is used to add a corresponding label for each word in the address text by using the BERT algorithm layer; wherein, the label is used to indicate whether the word in the address text belongs to an address element;

[0108] Calibration module 203, for using the CRF algorithm layer to calculate the label accuracy rate according to the label corresponding to each word in the address text;

[0109] The determining module 204 is configured to determine the address elements in the address text according to the annotation corresponding to each w...

Embodiment 3

[0139] This embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or A server cluster composed of multiple servers), etc. Such as image 3 As shown, the computer device 30 in this embodiment at least includes but is not limited to: a memory 301 and a processor 302 that can be communicated with each other through a system bus. It should be pointed out that, image 3 Only computer device 30 is shown having components 301-302, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.

[0140] In this embodiment, the memory 301 (that is, a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an address cutting method, device and equipment and a readable storage medium, and the method comprises the steps: obtaining a to-be-processed address text, and obtaining a pre-trained address cutting model, wherein the address cutting model comprises a BERT algorithm layer and a CRF algorithm layer; adding corresponding annotation to each character in the address text by using the BERT algorithm layer, wherein the annotation is used for representing whether the character in the address text belong to address elements or not; using the CRF algorithm layer to calculate the annotation accuracy according to the annotation corresponding to each character in the address text; when the annotation accuracy is greater than a preset threshold value, determining address elements in the address text according to the annotation corresponding to each character in the address text, and adding a corresponding address element type label for each address element; and displaying the address elements and the address element type labels in the address text in pairs. According to the invention, the cutting address is more accurate and efficient.

Description

technical field [0001] The present invention relates to the technical field of semantic analysis, in particular to a method, device, equipment and readable storage medium for cutting addresses. Background technique [0002] At present, address cutting technology is more and more widely used in various fields. For example, address information needs to be cut and processed for sending and receiving express delivery, household registration address management or letter mailing. Non-standard address cutting will bring a lot of inconvenience to people. [0003] Due to the complexity of address information in China, according to the existing method, it is necessary to use the address cutting template to artificially cut the address text, but the cutting effect is not accurate enough, and only four types of address elements specified in the address cutting template can be cut: province, province, For cities, districts, and counties, the subsequent address text of these four types of...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F40/295G06F16/29G06N3/04G06N3/08G06F40/211G06F40/30
CPCG06F40/295G06F16/29G06N3/08G06F40/211G06F40/30G06N3/047G06N3/045
Inventor 邹倩霞
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products