开发者

Searching location in a sentence

开发者 https://www.devze.com 2023-01-21 13:18 出处:网络
I\'m working on a location extraction algorithm but haven\'t achieved anything considerable yet. For example in this sentence

I'm working on a location extraction algorithm but haven't achieved anything considerable yet. For example in this sentence

Riders on the B and Q lines will get some relief from construction as stations reopen, and a major project will soon begin at the Dyckman Street station.

"Dyckman Street" is location information. How we ex开发者_如何学运维tract this information from a given sentence. (I tried to extract the words from a sentence starting with a Capital letter and search it against a db having city names, but it doesn't work always).

From where i can find an algorithm to extract this information? Thanks..


I remember having seen this library when I was playing with Named Entity Recognition.

This Google search might be a useful source of information as well.


There are also a number of web services designed to parse geo-locations from text. For example Yahoo's PlaceMaker service at http://developer.yahoo.com/geo/placemaker/

0

精彩评论

暂无评论...
验证码 换一张
取 消