CN105704258B - A kind of method and apparatus of Address Recognition - Google Patents
A kind of method and apparatus of Address Recognition Download PDFInfo
- Publication number
- CN105704258B CN105704258B CN201410713649.8A CN201410713649A CN105704258B CN 105704258 B CN105704258 B CN 105704258B CN 201410713649 A CN201410713649 A CN 201410713649A CN 105704258 B CN105704258 B CN 105704258B
- Authority
- CN
- China
- Prior art keywords
- address
- target text
- text group
- information
- group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Character Discrimination (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to Address Recognition technical field more particularly to a kind of methods and apparatus of Address Recognition.The text to be identified that the address recognition apparatus of the embodiment of the present invention will intercept in the word content inquired by needs, the target text group of composition is sent to location service equipment, the address authentication information for target text group that the address recognition apparatus is sent according to the location service equipment received, after determining that target text group is address information, at least one the subsequent text that is located at adjacent with the text of the last time interception in the word content is added in target text group, and returns to the step of target text group is sent to location service equipment;It is content in the target text group of address information as an address using the last time determination after determining target text group not and being address information.Due in text reading, increasing the measure of address information in the word content that automatic identification needs to inquire, and then improve the quality of text reading.
Description
Technical field
The present invention relates to Address Recognition technical field more particularly to a kind of methods and apparatus of Address Recognition.
Background technique
With the appearance of the text readings such as electronic book material on the internet, in a large amount of text reading material, ground
Location information is one of important information.If reader wants to further appreciate that the concrete condition of address information, need by
The information such as geographical location, surrounding enviroment are understood, however text reading material itself may lack these information, this is just
It will cause reader and shortage spatial impression understood for address information, affect reading quality, reduce being appreciated that for text material
Property.
In practical applications, in current most of text readings and processing software, help is not provided and understands text material
The function of middle address information can not overcome reader to the disturbance of understanding of address information, to affect the quality of text reading.
In conclusion at present in most of text readings and processing software, in shortage automatic identification text reading material
The measure of location information, and then affect the quality of text reading.
Summary of the invention
A kind of method and apparatus of Address Recognition provided in an embodiment of the present invention is existing in the prior art big to solve
In most text readings and processing software, lack the measure of address information in automatic identification text reading material, and then affects
The problem of quality of text reading.
A kind of method of Address Recognition provided in an embodiment of the present invention, comprising:
The text to be identified that address recognition apparatus will intercept in the word content inquired by needs, the target text of composition
Group is sent to location service equipment, and wherein target text group includes at least two texts;
The ground for target text group that the address recognition apparatus is sent according to the location service equipment received
Location authentication information, after determining that target text group is address information, by the text in the word content with the last time interception
Adjacent at least one the subsequent text that is located at is added in target text group, and returns target text group being sent to location-based service
The step of equipment;
The ground for target text group that the address recognition apparatus is sent according to the location service equipment received
The last time determination is the target text of address information after determining target text group not and being address information by location authentication information
Content in group is as an address.
The method of another kind Address Recognition provided in an embodiment of the present invention, comprising:
It is intercepted in the word content inquired by needs that location service equipment reception address recognition apparatus is sent to be identified
Text composition target text group, wherein the target text group include at least two texts;
Whether the location service equipment is address information according to the target text group that address library inquiry receives, and will
Query result is placed in the authentication information of address;
The address authentication information is returned to the address recognition apparatus by the location service equipment.
A kind of address recognition apparatus of Address Recognition provided in an embodiment of the present invention, the equipment include:
Sending module, the text to be identified for will be intercepted in the word content inquired by needs, the target text of composition
Word group is sent to location service equipment, and wherein target text group includes at least two texts;
First determining module, the ground for target text group for being sent according to the location service equipment received
Location authentication information, after determining that target text group is address information, by the text in the word content with the last time interception
Adjacent at least one the subsequent text that is located at is added in target text group, and triggers the sending module and send out target text group
Give location service equipment;
Second determining module, the ground for target text group for being sent according to the location service equipment received
The last time determination is the target text of address information after determining target text group not and being address information by location authentication information
Content in group is as an address.
A kind of location service equipment of Address Recognition provided in an embodiment of the present invention, the equipment include:
Receiving module, for receive address recognition apparatus transmission the word content inquired by needs in intercept it is to be identified
Text composition target text group, wherein the target text group include at least two texts;
Enquiry module, whether the target text group for being received according to address library inquiry is address information, and will be looked into
Result is ask to be placed in the authentication information of address;The address authentication information is returned into the address recognition apparatus.
Address recognition apparatus provided in an embodiment of the present invention can intercept text to be identified automatically, and by the target of composition
Group of text is sent to location service equipment and is judged, determines whether target text group is address information.By circulate operation, into
And realizing will need the address information in the word content inquired all to identify.Due in text reading, increasing certainly
The measure of address information in the word content that dynamic identification needs to inquire, and then improve the quality of text reading.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of Address Recognition system provided in an embodiment of the present invention;
Fig. 2 is the detailed construction schematic diagram of Address Recognition system provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the address recognition apparatus of Address Recognition provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the location service equipment of Address Recognition provided in an embodiment of the present invention;
Fig. 5 is the method flow schematic diagram of the first Address Recognition provided in an embodiment of the present invention;
Fig. 6 is the method flow schematic diagram of second of Address Recognition provided in an embodiment of the present invention;
Fig. 7 is a kind of overview flow chart of the method for Address Recognition provided in an embodiment of the present invention.
Specific embodiment
The text to be identified that address recognition apparatus of the embodiment of the present invention will intercept in the word content inquired by needs, group
At target text group be sent to location service equipment, wherein target text group include at least two texts;Address recognition apparatus
According to the address authentication information for target text group that the location service equipment that receives is sent, determining that target text group is
After address information, mesh is added at least one the subsequent text that is located at adjacent with the text of the last time interception in word content
It marks in group of text, and returns to the step of target text group is sent to location service equipment;Address recognition apparatus is according to receiving
Location service equipment send the address authentication information for target text group, determining that target text group is not address information
It afterwards, is content in the target text group of address information as an address using the last time determination.Due in text reading,
The measure of address information in the word content that automatic identification needs to inquire is increased, and then improves the quality of text reading.
Below in conjunction with Figure of description, preferred embodiment of the present invention will be described, it should be understood that described herein
Preferred embodiment is only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.And in the absence of conflict, this Shen
Please in embodiment and embodiment in feature can be combined with each other.
In following declarative procedure, when carrying out Address Recognition for the word content for needing to inquire, Address Recognition is set
Standby and location service equipment cooperation implementation is illustrated, finally respectively from the address recognition apparatus of Address Recognition and Address Recognition
The implementation of location service equipment be illustrated, but this does not imply that the two must cooperate implementation, in fact, working as Address Recognition
When equipment and location service equipment are performed separately, also solve respectively present in the address recognition apparatus and location service equipment
Problem can obtain superior technique effect when only the two is used in combination.
As shown in Figure 1, the system that a kind of address provided in an embodiment of the present invention is known includes: address recognition apparatus 10 and position
Service equipment 20.
Address recognition apparatus 10, the text to be identified for will be intercepted in the word content inquired by needs, composition
Target text group is sent to location service equipment 20, and wherein target text group includes at least two texts;According to the position received
The address authentication information for target text group for setting the transmission of service equipment 20, after determining that target text group is address information,
At least one the subsequent text that is located at adjacent with the text of the last time interception in word content is added in target text group,
And return to the step of target text group is sent to location service equipment 20;It is sent according to the location service equipment 20 received
For the address authentication information of target text group, after determining target text group not and being address information, it is by the last time determination
Content in the target text group of address information is as an address;
Location service equipment 20 is intercepted for receiving in the word content inquired by needs that address recognition apparatus 10 is sent
Text to be identified composition target text group, wherein target text group include at least two texts;According to address library inquiry
Whether the target text group received is address information, and query result is placed in the authentication information of address;By address authentication information
Return to address recognition apparatus 10.
In implementation, the equipment that Address Recognition is carried out in the embodiment of the present invention can be embedded in text reading equipment, can also be with
It is text-independent arrangement for reading.
If location service equipment 20 and address recognition apparatus 10 can be separated two independently of text reading equipment
Entity is also possible to be combined entity.
If being embedded in text reading equipment, location service equipment 20 and address recognition apparatus 10 can all be embedded into text
In arrangement for reading, it can also be embedded into text reading equipment with location service equipment 20.
Meanwhile the address base for carrying out address lookup can be one included address base of location service equipment 20, it can also
To be the individual address base separated with location service equipment 20, and user can as needed be updated it.
Wherein, for showing that the electronic map of address location can be common existing electronic map, such as Baidu map, Google
Figure etc., is also possible to customized electronic map, and user can in real time be updated the customized electronic map.
As shown in Fig. 2, being the detailed construction schematic diagram of Address Recognition system provided in an embodiment of the present invention;But the present invention is real
It applies example and is not limited to be only structure shown in Fig. 2, Fig. 2 is intended merely to clearly explain the structure of system of the embodiment of the present invention
A kind of situation.In Fig. 2, address recognition apparatus 10 is embedded among text reading equipment, and is shown on the display device,
Meanwhile regarding address recognition apparatus 10 and location service equipment 20 as two entities, and address base and location service equipment are also
Separated structure.
It should be noted that the embodiment of the present invention is not limited to address above mentioned identification equipment 10 and location service equipment 20
The mode of Address Recognition is carried out, other modes for being able to carry out Automatic Address Recognition are all suitable for the embodiment of the present invention.
In implementation, user can carry out Address Recognition for the word content for needing to inquire when reading content of text, this
Inventive embodiments can automatically extract and identify address information, do not need to be selected manually, can mark automatically to address
Note, and then address is shown on corresponding electronic map, user is improved to the address information occurred in content of text
Position sensitive comprehension or spatial position understanding, and then improve user to the penetrability of comprehension of information, meanwhile, the present invention
Embodiment provide Address Recognition method do not influence read normal, smooth progress, user do not need diverter tool or
Device can be checked directly, reduce and read the step of user consults the work of address information by other tools again,
Improve the speed read and understood.
Wherein, the word content for needing to inquire in the embodiment of the present invention does not limit the mode of its interception, can be user
The word content voluntarily selected when reading, be also possible to address device intercepts automatically when reading word content either its
His interception way.For example, can set text reading equipment in actual production manufacturing process in user and read content of text
When, all word contents that text reading equipment can be shown can be identified automatically, the target text group of interception is sent out
Location service equipment is given to be judged;The key that a triggering can also be set, when the user clicks when the key, can trigger
Address recognition apparatus carries out Address Recognition to all word contents that can be shown in all text reading equipment, when user does not have
When clicking the key, user can voluntarily intercept the target text group of location service equipment to be sent to.
In implementation, if user has pages content to need to carry out Address Recognition when reading, prevpage and the next page it is interior
Appearance will be regarded as continuous content and be identified.For example, there is passage, " Xicheng District is the most flourishing city of Beijing's tertiary industry
One of ", " Xicheng District is Beijing " therein on the previous page in, and remaining text " most flourishing one of the city of city's tertiary industry "
In the content of the next page, then address recognition apparatus will be " Xicheng District be most flourishing one of the city of Beijing's tertiary industry " certainly
It is dynamic to be considered as continuous a word, after identify " Xicheng District is Beijing ", continue to identify " the most flourishing city of city's tertiary industry it
One ".
Lower mask body introduction carries out the detailed step process of Address Recognition.
In order to facilitate detailed description, using a certain number of specific word contents as needing in the following examples
It is illustrated for the word content of inquiry, but the embodiment of the present invention is not intended to limit text in the word content identified
Quantity.
Preferably, the text to be identified that address recognition apparatus will intercept in the word content inquired by needs, composition
Target text group is sent to location service equipment, and wherein target text group includes at least two texts;
Correspondingly, intercepted in the word content inquired by needs that location service equipment reception address recognition apparatus is sent
The target text group of text composition to be identified, wherein target text group includes at least two texts;Location service equipment according to
Whether the target text group that address library inquiry receives is address information, and query result is placed in the authentication information of address;Position
Address authentication information is returned to address recognition apparatus by service equipment.
Preferably, the address for target text group that address recognition apparatus is sent according to the location service equipment received
Authentication information will be adjacent with the text of the last time interception in word content after determining that target text group is address information
It is added in target text group positioned at least one subsequent text, and returns and target text group is sent to location service equipment
Step;
Preferably, the address for target text group that address recognition apparatus is sent according to the location service equipment received
The last time determination is the target text group of address information after determining target text group not and being address information by authentication information
In content as an address.
For example, have one section need inquire word content " Xicheng District be the most flourishing city of Beijing's tertiary industry it
One ", address recognition apparatus will intercept at least two texts, and the target text group of composition is sent to location service equipment.
For convenience of explanation, it is assumed that the target text group that address device is sent to location service equipment is " Xicheng District " three
Word receives after then location service equipment receives " Xicheng District " three words that address recognition apparatus is sent according to address library inquiry
" Xicheng District " three words are address informations, and the query result that " Xicheng District " three words are address informations is placed in address and identifies letter
In breath, the obtained address authentication information is returned into address recognition apparatus, address recognition apparatus reflects according to the address received
Other information, it is after determining that " Xicheng District " three words are address information, " Xicheng District " in the word content for needing to inquire is subsequent
Minimum of one "Yes" word is added target text group and is sent to location service equipment, i.e., " Xicheng District is " is sent to position clothes again
Business equipment, is so recycled, as long as the target text group determined is address information, will be cut in word content with the last time
Adjacent at least one the subsequent text that is located at of the text taken is added in target text group, and returns and be sent to target text group
The step of location service equipment.
" Xicheng District is " four words due to being sent to location service equipment are not address informations, and by " Xicheng District is " four
A word is not that the query result of address information is placed in the authentication information of address, and the obtained address authentication information is returned to address
Identify equipment, address recognition apparatus determines that " Xicheng District is " four words are not address letters according to the address authentication information received
It is the content of address information " Xicheng District " as an address using the last time determination after breath.
Preferably, the address for target text group that address recognition apparatus is sent according to the location service equipment received
Authentication information, after determining that target text group is address information, further includes:
If the text of the last time interception is the last one text in word content, address recognition apparatus will be the last
Determination is content in the target text group of address information as an address.
For example, there is one section of word content " Xicheng District " for needing to inquire, address recognition apparatus will intercept at least two texts,
The target text group of composition is sent to location service equipment.
For convenience of explanation, it is assumed that the target text group that address device is sent to location service equipment is " Xicheng District " three
Word receives after then location service equipment receives " Xicheng District " three words that address recognition apparatus is sent according to address library inquiry
" Xicheng District " three words are address informations, since, without more texts, thus Address Recognition is set behind " Xicheng District " three words
Standby using the last determination is three words of address information " Xicheng District " as an address.
In implementation, address recognition apparatus is ground after determining target text group not and being address information, by the last time determination
After content in the target text group of location information is as an address, also it will continue in the word content that interception needs to inquire
Text is specifically introduced below as target text group.
Preferably, address recognition apparatus is ground after determining target text group not and being address information, by the last time determination
After content in the target text group of location information is as an address, further includes:
Address recognition apparatus determination be not in the target text group of address information the last one text in word content
Position;
If it is determined that word content in position after have at least two texts, address recognition apparatus is out of, determining text
Position in appearance starts to intercept at least two texts, and all texts of interception are replaced all texts in target text group,
And return to the step of target text group is sent to location service equipment.
For example, since " Xicheng District is " four words for being sent to location service equipment are not address informations, and by " Xicheng District
It is " four words are not that the query result of address information is placed in the authentication information of address, the obtained address authentication information returned
To address recognition apparatus, address recognition apparatus determines that " Xicheng District is " four words are not according to the address authentication information received
After address information, using the last time determination be address information " Xicheng District " content as an address after, Address Recognition
Equipment determination is not the last one position of text "Yes" in word content in the target text group " Xicheng District is " of address information
It sets, if address recognition apparatus is since "Yes" word location, from newly intercepting text to be identified at least there are two text behind "Yes"
Word replaces the content in original target text group, i.e., " being Beijing " three words as target text group is sent to location-based service
Equipment.
In implementation, address recognition apparatus further includes two different feelings after determining target text group not and being address information
Condition, lower mask body are introduced.
The first situation:
Preferably, address recognition apparatus is ground after determining target text group not and being address information, by the last time determination
Before content in the target text group of location information is as an address, further includes:
Address recognition apparatus determines that the last determination is first text in the target text group of address information, and is not
First text in the target text group of address information is identical.
For example, " Xicheng District is " four words that address recognition apparatus is sent to location service equipment are not address informations, but
It is " Xicheng District " therein is the last address information determined, and first in four words of target text group " Xicheng District is "
A identical as the first character of " Xicheng District ", then the last time is determined as " Xicheng District " three of address information by address recognition apparatus
A word is as an address.
Second situation:
Preferably, address recognition apparatus is after determining target text group not and being address information, further includes:
If the last determination is first text in the target text group of address information, with the target for not being address information
First text in group of text be not identical, or is the target text group of address information, then address knowledge without the last determination
Other equipment determination is not position of second text in word content in the target text group of address information;
If it is determined that word content in position after have at least two texts, address recognition apparatus is out of, determining text
Position in appearance starts to intercept at least two texts, and all texts of interception are replaced all texts in target text group,
And return to the step of target text group is sent to location service equipment.
For example, address recognition apparatus is after determining that four words of target text group " Xicheng District is " are not address information, from being
Start from new interception target text group, by the word content for needing to inquire, " Xicheng District is the most flourishing city of Beijing's tertiary industry
" being Beijing " in one of area " is issued location service equipment as target text group and is judged, receives in address recognition apparatus
Be not to " being Beijing " three words address information authentication information after, determine " being Beijing " three words be not address information, and
Since first character "Yes" in target text group " being Beijing " and the last determination are the target text group " west cities of address information
First text be not identical in area ", then address recognition apparatus determination is not in the target text group " being Beijing " of address information
Position of two texts " north " in word content, if " north ", below at least there are two text, address recognition apparatus is from " north "
Word location starts, and from text to be identified is newly intercepted, replaces the content in original target text group, i.e., by " Beijing " three words
Location service equipment is sent to as target text group.
It in addition is to be the target text group of address information without the last determination there are also a kind of situation, for example, there is one section
Word content " article read is needed according to the reader " address recognition apparatus for needing to inquire will intercept at least two texts, composition
Target text group be sent to location service equipment;Assuming that the target text group that address device is sent to location service equipment is
" according to reading " three words, then after location service equipment receives " according to reading " three words that address recognition apparatus is sent, according to address
" according to reading " that library inquiry receives is not address information, and the query result that " according to reading " three words are not address informations is placed in
In the authentication information of address, the obtained address authentication information is returned into address recognition apparatus, address recognition apparatus is according to reception
The address authentication information arrived, after determining that " according to read " three words are not address information, due to not having before " according to reading " three words
It is determined as the information of address, thus address recognition apparatus equally determination is not the in the target text group " according to reading " of address information
Position of two texts " according to " in word content, if " according to ", below at least there are two text, address recognition apparatus is from " according to "
Word location starts, and from text to be identified is newly intercepted, replaces the content in original target text group, i.e., by three words " according to reader "
Location service equipment is sent to as target text group.
In implementation, preferably, judging that the last determination is when the target text group of interception is not better address information
Whether the content of the target text group of address information is address prefix information, and address recognition apparatus does not need to judge whether every time
It is address prefix information, is introduced in detail below.
Preferably, after whether the target text group that is received according to address library inquiry of location service equipment is address information,
Before address authentication information is returned to address recognition apparatus, further includes:
Location service equipment judges whether target text group is address prefix after determining that target text group is address information
Information, and query result is placed in the authentication information of address.
Correspondingly, the last determination is content in the target text group of address information as one by address recognition apparatus
A address, comprising:
According to the address authentication information received, in determining the target text group that the last determination is address information in
It is content in the target text group of address information as a ground using the last time determination after appearance is not address prefix information
Location.
In implementation, if the target text group that the last determination is address information is not address information, only address prefix
Information, then it is similar when being address information with target text group, by position adjacent with the text of the last time interception in word content
At least one text later is added in target text group, and returns to the step that target text group is sent to location service equipment
Suddenly;If the target text group that the last determination is address information is not address prefix information, the last time determination is ground
Content in the target text group of location information is as an address.
If the target text group that the last determination is address information is not address information, only address prefix information, then
It is similar when with target text group being address information, by word content it is adjacent with the text of the last time interception be located at it is subsequent
At least one text is added in target text group, and returns to the step of target text group is sent to location service equipment;If most
Nearly primary determination is that the target text group of address information is not address prefix information, then is address information by the last time determination
Content in target text group is as an address.
For example, there is one section of word content " Xicheng District make people rich road A be B company " for needing to inquire, address recognition apparatus will
At least two texts are intercepted, the target text group of composition is sent to location service equipment.
For convenience of explanation, it is assumed that the target text group that address device is sent to location service equipment is " Xicheng District " three
Word receives after then location service equipment receives " Xicheng District " three words that address recognition apparatus is sent according to address library inquiry
" Xicheng District " three words are address prefix informations, and the query result that " Xicheng District " three words are address informations is placed in address mirror
In other information, the obtained address authentication information is returned into address recognition apparatus;
Address recognition apparatus is according to the address authentication information received, after determining that " Xicheng District " three words are address information,
It will need " Xicheng District " subsequent minimum of one " abundant " word in the word content inquired that target text group is added and be sent to position
Service equipment is set, i.e., " Xicheng District is abundant " is sent to location service equipment again;Due to some in " Xicheng District is abundant " and address base
Or the partial address information of multiple address informations is identical, thus location service equipment will determine that " Xicheng District is abundant " is address prefix
Information, and return to execute and " Xicheng District is abundant " is issued into location service equipment judge;
Circulate operation is so carried out, as long as the target text group determined is address prefix information either address information,
At least one the subsequent text that is located at adjacent with the text of the last time interception in word content is added in target text group,
And the step of target text group is sent to location service equipment is returned, it is all sent to until by " Xicheng District make people rich road A "
Location service equipment, location service equipment set query result after determination " Xicheng District make people rich road A " is an address information
In the authentication information of address, and address recognition apparatus is returned to, since " Xicheng District make people rich road A " still has " being B company " below
Text, then target text group is added in " Xicheng District make people rich road A " subsequent text "Yes" by address recognition apparatus, i.e., by " west city
The area road A that makes people rich is " it is sent to location service equipment, since " Xicheng District make people rich road A be " is not address information, according to receiving
Address authentication information, can determine " Xicheng District make people rich road A be " nor address prefix information, thus address recognition apparatus
To be using the last determination content in address information " Xicheng District make people rich road A " as an address after;If " Xicheng District
Make people rich road A " there is no " being B company " several texts below, then the last time determination is directly address letter by address recognition apparatus
Content in " Xicheng District make people rich road A " of breath is as an address.
In implementation, the embodiment of the present invention can show that the address information of identification, lower mask body are situated between by electronic map
It continues.
Preferably, this method further include:
After determining that the content in target text group is an address, address is shown in electronic map.
In implementation, after determining that the content in target text group is an address, the address identified can be marked
Note, allowing the user to pick out which information is the address information being identified, the method for label including but not limited to
Lower several ways: changing its text color, changes its text outer rim color, width, changes text size, color, font and
Pattern etc..
Meanwhile the text information parts of address are marked as, the method interacted with user is increased, for example, mouse
It clicks, double click, the operation such as mouse suspension.When user is to address information part, after having carried out specific operation, Address Recognition
Equipment pops up electronic map according to the address information content of mark, electronic map positioning to address information mark at position, electronics
The address information of this position of map denotation and this position, and show the information on this position periphery, thus if reader want into
The concrete condition of one step understanding address information, it is only necessary to which information can be both shown to by carrying out specific operation to the information of label
On corresponding electronic map, enable reader that the address information is more clearly understood, and then improves the quality of reading.
It should be noted that by being shown to the side of electronic map after identifying to address again in the embodiment of the present invention
Formula, can also be by the way that the text information for needing to read, handmarking, hand labeled or dependence other information mark hand in advance
Section is marked, and marks address information therein, and by operation of the user to mark information, realize address details and
Address map is shown.
Based on the same inventive concept, the address recognition apparatus and position clothes of Address Recognition are additionally provided in the embodiment of the present invention
The method of equipment of being engaged in and Address Recognition, due to the system phase of principle and Address Recognition that these device and method solve the problems, such as
Seemingly, therefore the implementation of these device and method may refer to the implementation of system, and overlaps will not be repeated.
As shown in figure 3, the address recognition apparatus of Address Recognition of the embodiment of the present invention includes: that sending module 100, first determines
Module 110 and the second determining module 120.
Sending module 100, the text to be identified for will be intercepted in the word content inquired by needs, the target of composition
Group of text is sent to location service equipment, and wherein target text group includes at least two texts;
First determining module 110, the ground for target text group for being sent according to the location service equipment received
Location authentication information will be adjacent with the text of the last time interception in word content after determining that target text group is address information
At least one the subsequent text that is located at be added in target text group, and trigger sending module and target text group be sent to position
Service equipment;
Second determining module 120, the ground for target text group for being sent according to the location service equipment received
The last time determination is the target text of address information after determining target text group not and being address information by location authentication information
Content in group is as an address.
Preferably, the second determining module 120, is also used to:
Determine that the last time determination is first text in the target text group of address information, with the mesh for not being address information
First text marked in group of text is identical.
Preferably, the second determining module 120, is also used to:
If the last determination is first text in the target text group of address information, with the target for not being address information
First text in group of text be not identical, or is the target text group of address information without the last determination, it is determined that no
It is position of second text in word content in the target text group of address information;
If it is determined that word content in position after have at least two texts, opened from the position in determining word content
Begin at least two texts of interception, and all texts of interception is replaced all texts in target text group, and trigger transmission mould
Target text group is sent to location service equipment by block.
Preferably, the second determining module 120, is also used to:
Determination is not position of the last one text in word content in the target text group of address information;
If it is determined that word content in position after have at least two texts, opened from the position in determining word content
Begin at least two texts of interception, and all texts of interception are replaced all texts in target text group, and returns target
Group of text is sent to the step of location service equipment.
Preferably, the second determining module 120, is specifically used for:
It is content in the target text group of address information as when an address using the last time determination, if the last
The text of interception is the last one text in word content, is in the target text group of address information by the last time determination
Content is as an address.
Preferably, the second determining module 120, is specifically used for:
According to the address authentication information received, in determining the target text group that the last determination is address information in
It is content in the target text group of address information as a ground using the last time determination after appearance is not address prefix information
Location.
Preferably, the equipment is also used to:
After determining that the content in target text group is an address, address is shown in electronic map.
As shown in figure 4, the location service equipment of Address Recognition of the embodiment of the present invention includes: receiving module 200 and inquiry mould
Block 210.
Receiving module 200, for receive address recognition apparatus transmission the word content inquired by needs in intercept to
The target text group of the text composition of identification, wherein target text group includes at least two texts;
Enquiry module 210, whether the target text group for being received according to address library inquiry is address information, and will inquiry
As a result it is placed in the authentication information of address;Address authentication information is returned into address recognition apparatus.
Preferably, enquiry module 210, is also used to:
After determining that target text group is address information, judge whether target text group is address prefix information, and will look into
Result is ask to be placed in the authentication information of address.
In an implementation, the address recognition apparatus in Fig. 3 can be carried out Address Recognition.Location service equipment in Fig. 4 can also
It can be carried out Address Recognition, so the function of address recognition apparatus and location service equipment can close (the i.e. address in an entity
Identification equipment and the module of location service equipment are in an entity), selection uses the function of address recognition apparatus as needed
Or the function of location service equipment.
As shown in figure 5, the method that address recognition apparatus of the embodiment of the present invention carries out Address Recognition includes the following steps:
The text to be identified that step 501, address recognition apparatus will intercept in the word content inquired by needs, composition
Target text group, wherein target text group includes at least two texts;
Target text group is sent to location service equipment by step 502, address recognition apparatus;
The ground for target text group that step 503, address recognition apparatus are sent according to the location service equipment received
Location authentication information determines whether target text group is address information, no to then follow the steps 505 if so then execute step 504;
Step 504, address recognition apparatus after determining that target text group is address information, by word content with nearest one
Adjacent at least one the subsequent text that is located at of the text of secondary interception is added in target text group, and returns to step 502;
Step 505, address recognition apparatus are ground after determining target text group not and being address information, by the last time determination
Content in the target text group of location information is as an address.
Preferably, address recognition apparatus is ground after determining target text group not and being address information, by the last time determination
Before content in the target text group of location information is as an address, further includes:
Address recognition apparatus determines that the last determination is first text in the target text group of address information, and is not
First text in the target text group of address information is identical.
Preferably, address recognition apparatus is after determining target text group not and being address information, further includes:
If the last determination is first text in the target text group of address information, with the target for not being address information
First text in group of text be not identical, or is the target text group of address information, then address knowledge without the last determination
Other equipment determination is not position of second text in word content in the target text group of address information;
If it is determined that word content in position after have at least two texts, address recognition apparatus is out of, determining text
Position in appearance starts to intercept at least two texts, and all texts of interception are replaced all texts in target text group,
And return to the step of target text group is sent to location service equipment.
Preferably, address recognition apparatus is ground after determining target text group not and being address information, by the last time determination
After content in the target text group of location information is as an address, further includes:
Address recognition apparatus determination be not in the target text group of address information the last one text in word content
Position;
If it is determined that word content in position after have at least two texts, address recognition apparatus is out of, determining text
Position in appearance starts to intercept at least two texts, and all texts of interception are replaced all texts in target text group,
And return to the step of target text group is sent to location service equipment.
Preferably, the address for target text group that address recognition apparatus is sent according to the location service equipment received
Authentication information, after determining that target text group is address information, further includes:
If the text of the last time interception is the last one text in word content, address recognition apparatus will be the last
Determination is content in the target text group of address information as an address.
Preferably, the last determination is content in the target text group of address information as one by address recognition apparatus
A address, comprising:
According to the address authentication information received, in determining the target text group that the last determination is address information in
It is content in the target text group of address information as a ground using the last time determination after appearance is not address prefix information
Location.
Preferably, this method further include:
After determining that the content in target text group is an address, address is shown in electronic map.
As shown in fig. 6, the method that location service equipment of the embodiment of the present invention carries out Address Recognition includes the following steps:
Step 601, location service equipment receive to be intercepted in the word content inquired by needs that address recognition apparatus is sent
Text to be identified composition target text group, wherein target text group include at least two texts;
Whether the target text group that step 602, location service equipment are received according to address library inquiry is address information, and will
Query result is placed in the authentication information of address;
Address authentication information is returned to address recognition apparatus by step 603, location service equipment.
Preferably, after whether the target text group that is received according to address library inquiry of location service equipment is address information,
Before address authentication information is returned to address recognition apparatus, further includes:
Location service equipment judges whether target text group is address prefix after determining that target text group is address information
Information, and query result is placed in the authentication information of address.
Wherein, Fig. 5 and Fig. 6 can synthesize a process, and the method for forming new Address Recognition executes the successive suitable of step
Sequence is step 501, step 601, step 602, step 603, step 502, step 503 or step 504.
According to above-mentioned to a kind of description of Address Recognition method of the embodiment of the present invention, the overall procedure of this method is summed up
Figure, as shown in fig. 7, being a kind of overview flow chart of the method for Address Recognition provided in an embodiment of the present invention, including the following steps:
The text to be identified intercepted in the word content inquired by needs is formed mesh by step 701, address recognition apparatus
Group of text is marked, wherein target text group includes at least two texts;
Target text group is sent to location service equipment by step 702, address recognition apparatus;
Step 703, location service equipment receive to be intercepted in the word content inquired by needs that address recognition apparatus is sent
Text to be identified composition target text group;
The target text group that step 704, location service equipment are received according to address library inquiry whether be address information and
Whether address prefix information, and query result is placed in the authentication information of address and returns to address recognition apparatus;
Step 705, address recognition apparatus judge whether target text group is address according to the address authentication information received
Otherwise information, executes step 709 if so, executing step 706;
Step 706, address recognition apparatus determine adjacent with the text of the last time interception in word content be located at below
Whether there is at least one text, if so, thening follow the steps 707, otherwise, executes step 708;
Step 707, address recognition apparatus by word content with the last time interception text it is adjacent be located at it is subsequent
At least one text is added in target text group, and returns to step 702;
Step 708, address recognition apparatus using the last determination be content in the target text group of address information as
One address;
Step 709, address recognition apparatus determine that the last determination is first text in the target text group of address information
Word, be not address information target text group in first text it is whether identical, if so, then follow the steps 7010, otherwise,
Execute step 7014;
Step 7010, address recognition apparatus using the last determination be content in the target text group of address information as
One address, and execute step 7011;
Step 7011, address recognition apparatus determination be not in the target text group of address information the last one text in text
Position in content, and execute step 7012;
Step 7012, address recognition apparatus judge whether there are at least two texts after the position in determining word content
Otherwise word, terminates this process if so, thening follow the steps 7013;
Step 7013, address recognition apparatus intercept at least two texts since the position in determining word content, and
By all texts in all texts replacement target text group of interception, 702 are returned to step;
It and is not address if step 7014, the last determination are first texts in the target text group of address information
First text in the target text group of information be not identical, or is the target text of address information without the last determination
Group, then address recognition apparatus determination is not position of second text in word content in the target text group of address information,
And execute step 7015;
Step 7015, address recognition apparatus judge whether there are at least two texts after the position in determining word content
Otherwise word, terminates this process if so, thening follow the steps 7016;
Step 7016, address recognition apparatus intercept at least two texts since the position in determining word content, and
By all texts in all texts replacement target text group of interception, and return to step 702.
The text to be identified that address recognition apparatus of the embodiment of the present invention will intercept in the word content inquired by needs, group
At target text group be sent to location service equipment, wherein target text group include at least two texts;Address recognition apparatus
According to the address authentication information for target text group that the location service equipment that receives is sent, determining that target text group is
After address information, mesh is added at least one the subsequent text that is located at adjacent with the text of the last time interception in word content
It marks in group of text, and returns to the step of target text group is sent to location service equipment;Address recognition apparatus is according to receiving
Location service equipment send the address authentication information for target text group, determining that target text group is not address information
It afterwards, is content in the target text group of address information as an address using the last time determination.Due in text reading,
The measure of address information in the word content that automatic identification needs to inquire is increased, and then improves the quality of text reading.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Claims (16)
1. a kind of method of Address Recognition, which is characterized in that this method comprises:
The text to be identified that address recognition apparatus will intercept in the word content inquired by needs, the target text group hair of composition
Location service equipment is given, wherein target text group includes at least two texts;
The address recognition apparatus reflects according to the address for target text group that the location service equipment received is sent
Other information will be adjacent with the text of the last time interception in the word content after determining that target text group is address information
At least one the subsequent text that is located at be added in target text group, and return and target text group be sent to location service equipment
The step of;
The address recognition apparatus reflects according to the address for target text group that the location service equipment received is sent
Other information, after determining target text group not and being address information, if the address recognition apparatus determines that the last determination is ground
First text in the target text group of location information, be not address information target text group in first text it is identical,
It is then content in the target text group of address information as an address using the last time determination.
2. the method according to claim 1, wherein the address recognition apparatus is determining target text group not
After address information, further includes:
If the last determination is first text in the target text group of address information, with the target text for not being address information
First text in group be not identical, or is the target text group of address information without the last determination, then the address knowledge
Other equipment determination is not position of second text in word content in the target text group of address information;
If it is determined that word content in position after have at least two texts, the address recognition apparatus is out of, determining text
Position in appearance starts to intercept at least two texts, and all texts of interception are replaced all texts in target text group,
And return to the step of target text group is sent to location service equipment.
3. the method according to claim 1, wherein the address recognition apparatus is determining target text group not
After address information, using the last time determination be content in the target text group of address information as an address after, also wrap
It includes:
The address recognition apparatus determination be not in the target text group of address information the last one text in word content
Position;
If it is determined that word content in position after have at least two texts, the address recognition apparatus is out of, determining text
Position in appearance starts to intercept at least two texts, and all texts of interception are replaced all texts in target text group,
And return to the step of target text group is sent to location service equipment.
4. the method according to claim 1, wherein the address recognition apparatus is according to the position received
The address authentication information for target text group that service equipment is sent also wraps after determining that target text group is address information
It includes:
If the text of the last time interception is the last one text in the word content, the address recognition apparatus will be nearest
Primary determination is content in the target text group of address information as an address.
5. method according to any one of claims 1 to 4, which is characterized in that the address recognition apparatus will be the last true
It surely is the content in the target text group of address information as an address, comprising:
According to the address authentication information received, the content in the target text group that the last determination is address information is being determined not
It is content in the target text group of address information as an address using the last time determination after being address prefix information.
6. method according to any one of claims 1 to 4, which is characterized in that this method further include:
After determining that the content in target text group is an address, the address is shown in electronic map.
7. a kind of method of Address Recognition, which is characterized in that this method further include:
Location service equipment receives the text to be identified intercepted in the word content inquired by needs that address recognition apparatus is sent
The target text group of word composition, wherein the target text group includes at least two texts;
Whether the location service equipment is address information according to the target text group that address library inquiry receives, and will inquiry
As a result it is placed in the authentication information of address;
The address authentication information is returned to the address recognition apparatus by the location service equipment, so that the Address Recognition
Equipment determines that the target text group is not address information according to the address authentication information, and determines that the last determination is ground
In the target text group of location information first text be not address information target text group in first text it is identical after,
It is content in the target text group of address information as an address using the last time determination.
8. the method according to the description of claim 7 is characterized in that the location service equipment was received according to address library inquiry
After whether the target text group is address information, by the address authentication information return to the address recognition apparatus it
Before, further includes:
The location service equipment after determining that the target text group is address information, judge the target text group whether be
Address prefix information, and query result is placed in the address authentication information.
9. a kind of address recognition apparatus of Address Recognition, which is characterized in that the equipment includes:
Sending module, the text to be identified for will be intercepted in the word content inquired by needs, the target text group of composition
It is sent to location service equipment, wherein target text group includes at least two texts;
First determining module, the address for target text group for being sent according to the location service equipment received reflect
Other information will be adjacent with the text of the last time interception in the word content after determining that target text group is address information
At least one the subsequent text that is located at be added in target text group, and trigger the sending module and be sent to target text group
Location service equipment;
Second determining module, the address for target text group for being sent according to the location service equipment received reflect
Other information, after determining target text group not and being address information, however, it is determined that the last determination is the target text of address information
First text in group, be not address information target text group in first text it is identical, then the last will determine
It is the content in the target text group of address information as an address.
10. equipment according to claim 9, which is characterized in that second determining module is also used to:
If the last determination is first text in the target text group of address information, with the target text for not being address information
First text in group be not identical, or is the target text group of address information without the last determination, it is determined that is not ground
Position of second text in word content in the target text group of location information;
If it is determined that word content in position after have at least two texts, since the position in determining word content cut
At least two texts are taken, and all texts of interception are replaced into all texts in target text group, and return target text
Group is sent to the step of location service equipment.
11. equipment according to claim 9, which is characterized in that second determining module is also used to:
Determination is not position of the last one text in word content in the target text group of address information;
If it is determined that word content in position after have at least two texts, since the position in determining word content cut
At least two texts are taken, and all texts of interception are replaced into all texts in target text group, and trigger the transmission mould
Target text group is sent to location service equipment by block.
12. equipment according to claim 9, which is characterized in that second determining module is specifically used for:
It is content in the target text group of address information as when an address using the last time determinations, if the last intercept
Text be the word content in the last one text, by the last time determination be in the target text group of address information
Content is as an address.
13. according to any equipment of claim 9~12, which is characterized in that second determining module is specifically used for:
According to the address authentication information received, the content in the target text group that the last determination is address information is being determined not
It is content in the target text group of address information as an address using the last time determination after being address prefix information.
14. according to any equipment of claim 9~12, which is characterized in that the equipment is also used to:
After determining that the content in target text group is an address, the address is shown in electronic map.
15. a kind of location service equipment of Address Recognition, which is characterized in that the equipment includes:
Receiving module, for receiving the text to be identified intercepted in the word content inquired by needs that address recognition apparatus is sent
The target text group of word composition, wherein the target text group includes at least two texts;
Enquiry module, whether the target text group for being received according to address library inquiry is address information, and inquiry is tied
Fruit is placed in the authentication information of address;The address authentication information is returned into the address recognition apparatus, so that the address is known
Other equipment determines that the target text group is not address information according to the address authentication information, and determines that the last determination is
In the target text group of address information first text be not address information target text group in first text it is identical
It afterwards, is content in the target text group of address information as an address using the last time determination.
16. equipment according to claim 15, which is characterized in that the enquiry module is also used to:
After determining that the target text group is address information, judge whether the target text group is address prefix information, and
Query result is placed in the address authentication information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410713649.8A CN105704258B (en) | 2014-11-28 | 2014-11-28 | A kind of method and apparatus of Address Recognition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410713649.8A CN105704258B (en) | 2014-11-28 | 2014-11-28 | A kind of method and apparatus of Address Recognition |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105704258A CN105704258A (en) | 2016-06-22 |
CN105704258B true CN105704258B (en) | 2019-11-29 |
Family
ID=56230588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410713649.8A Active CN105704258B (en) | 2014-11-28 | 2014-11-28 | A kind of method and apparatus of Address Recognition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105704258B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110502299B (en) * | 2019-08-12 | 2021-05-14 | 南京大众书网图书文化有限公司 | Method and equipment for providing novel information |
CN113536781A (en) * | 2021-06-30 | 2021-10-22 | 上海晶赞融宣科技有限公司 | Address identification method and device, readable storage medium and terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1225484A (en) * | 1998-01-22 | 1999-08-11 | 富士通株式会社 | Address recognition apparatus and method |
CN101996253A (en) * | 2010-11-17 | 2011-03-30 | 上海合合信息科技发展有限公司 | Method for automatically extracting address and searching map |
CN102253972A (en) * | 2011-06-14 | 2011-11-23 | 南京师范大学 | Web crawler-based geographical name database maintenance method |
CN102402533A (en) * | 2010-09-13 | 2012-04-04 | 方正国际软件有限公司 | Address matching method and system |
CN102646124A (en) * | 2012-02-27 | 2012-08-22 | 杨志远 | Method for automatically identifying address information |
CN103440311A (en) * | 2013-08-27 | 2013-12-11 | 深圳市华傲数据技术有限公司 | Method and system for identifying geographical name entities |
-
2014
- 2014-11-28 CN CN201410713649.8A patent/CN105704258B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1225484A (en) * | 1998-01-22 | 1999-08-11 | 富士通株式会社 | Address recognition apparatus and method |
CN102402533A (en) * | 2010-09-13 | 2012-04-04 | 方正国际软件有限公司 | Address matching method and system |
CN101996253A (en) * | 2010-11-17 | 2011-03-30 | 上海合合信息科技发展有限公司 | Method for automatically extracting address and searching map |
CN102253972A (en) * | 2011-06-14 | 2011-11-23 | 南京师范大学 | Web crawler-based geographical name database maintenance method |
CN102646124A (en) * | 2012-02-27 | 2012-08-22 | 杨志远 | Method for automatically identifying address information |
CN103440311A (en) * | 2013-08-27 | 2013-12-11 | 深圳市华傲数据技术有限公司 | Method and system for identifying geographical name entities |
Also Published As
Publication number | Publication date |
---|---|
CN105704258A (en) | 2016-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Hesselbarth et al. | landscapemetrics: an open‐source R tool to calculate landscape metrics | |
CN103678631B (en) | page rendering method and device | |
Cecconi et al. | Adaptive zooming in web cartography | |
CN103914546B (en) | Data-updating method and its device | |
US20230199013A1 (en) | Attack situation visualization device, attack situation visualization method and recording medium | |
CN110019575A (en) | The method and apparatus that geographical address is standardized | |
CN109086377B (en) | Equipment portrait generation method and device and computing equipment | |
CN107315824A (en) | Method and apparatus for generating thermodynamic chart | |
JP2020057394A (en) | Information processing apparatus and information processing method | |
CN105874449A (en) | Systems and methods for extracting and generating images for display content | |
CN109359186B (en) | Method and device for determining address information and computer readable storage medium | |
CN106484726B (en) | A kind of page display method and device | |
CN106407768B (en) | A kind of determination of device-fingerprint, the method and apparatus that target device is identified | |
Vogt et al. | FAO-State of the World’s forests: forest fragmentation | |
CN107430631A (en) | From position, report determines semantic place name | |
CN105704258B (en) | A kind of method and apparatus of Address Recognition | |
CN109783589A (en) | The method, apparatus and storage medium of electronic map parsing address | |
CN109656954A (en) | Trade mark inquiry method, apparatus and computer equipment | |
CN105677851B (en) | A kind of interface screenshot method and user equipment | |
CN107918936A (en) | Use high frequency offset of the label tracking for divided-fit surface algorithm | |
CN106998476A (en) | A kind of video inspection method and device based on GIS-Geographic Information System | |
CN110188156A (en) | Transmission line engineering three-dimensional design result key information extraction method and system | |
CN104994062B (en) | A kind of information-pushing method and device | |
US11126791B2 (en) | In-application example library | |
CN104123345B (en) | A kind of method and apparatus for providing page info |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180905 Address after: 100080 Beijing Haidian District North Fourth Ring Road 52 5 5 505 Applicant after: Founder international software (Beijing) Co., Ltd. Address before: 100080 floor 16, fangzheng International Building, 52 North Fourth Ring Road West, Haidian District, Beijing. Applicant before: Beijing Shanhai Jingwei Information Technology Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |