Method and device for recognizing preset addresses
A technology of preset addresses and addresses, which is applied in the computer field, can solve problems affecting normal user shopping experience and achieve the effect of improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] An embodiment of the present disclosure provides a method for identifying a preset address, see figure 1 , the method flow includes:
[0029] In step 101, the address to be recognized is traversed and queried in the pre-generated vocabulary tree, wherein the vocabulary tree contains at least one pre-stored preset address that has been word-segmented and the similarity value corresponding to the vocabulary. The method of the embodiment is used in the server;
[0030] In step 102, according to the similarity value of the vocabulary matched by the address to be recognized in the vocabulary tree, the distance between the address to be recognized and at least one preset address corresponding to the matched vocabulary is calculated. Similar value, the method of this embodiment is used in the server;
[0031] In step 103, when the similarity value corresponding to the address to be identified is greater than a preset similarity value, it is determined that the address to be ...
Embodiment 2
[0034] An embodiment of the present disclosure provides a method for determining a preset address in a historical address set in a method for identifying a preset address, see figure 2 .
[0035] Among them, the method flow includes:
[0036] In step 201, a first address and a second address are selected from a pre-stored historical address set, and the method of this embodiment is used in a server.
[0037] First, sort the addresses in the recorded historical address collection according to the preset area information and text arrangement order.
[0038] Wherein, the set of historical addresses is a set of all corresponding delivery addresses in the historical order. The address is composed of basic address information such as province, city, district, street, building, house number, etc., and is composed according to the sequence of the currently arranged basic address information.
[0039] In the process of generating the vocabulary tree, it is first necessary to sort a...
Embodiment 3
[0081] An embodiment of the present disclosure provides a method for identifying a preset address, see Figure 5 .
[0082] Among them, the method flow includes:
[0083] In step 501, the address to be recognized is traversed and queried in the pre-generated vocabulary tree, wherein the vocabulary tree contains at least one preset address that has been pre-stored for word segmentation and similar values corresponding to the vocabulary. The method of the embodiment is used in the server.
[0084] When the server receives the user's order, the delivery address in the order is used as the address to be identified to carry out the identification process of the preset address.
[0085] Among them, the traversal process can be further as follows:
[0086] In step 5011, according to the arrangement order of the characters in the address to be recognized, the characters in the address to be recognized are traversed and searched in the vocabulary tree, and the method of this embod...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 