[Paper Review] GeoTextTagger: High-Precision Location Tagging of Textual Documents using a Natural Language Processing Approach
GeoTextTagger proposes a high-precision natural language processing approach for geotagging textual documents by combining part-of-speech tagging, named entity recognition, and a distance-based scoring system over OpenStreetMap data. It achieves a 10th percentile error of 490 metres and a median error of 54 km on Wikipedia articles, with 50% of articles correctly tagged within 8.5 km when considering the top five scores.
Location tagging, also known as geotagging or geolocation, is the process of assigning geographical coordinates to input data. In this paper we present an algorithm for location tagging of textual documents. Our approach makes use of previous work in natural language processing by using a state-of-the-art part-of-speech tagger and named entity recognizer to find blocks of text which may refer to locations. A knowledge base (OpenStreatMap) is then used to find a list of possible locations for each block. Finally, one location is chosen for each block by assigning distance-based scores to each location and repeatedly selecting the location and block with the best score. We tested our geolocation algorithm with Wikipedia articles about topics with a well-defined geographical location that are geotagged by the articles' authors, where classification approaches have achieved median errors as low as 11 km, with attainable accuracy limited by the class size. Our approach achieved a 10th percentile error of 490 metres and median error of 54 kilometres on the Wikipedia dataset we used. When considering the five location tags with the greatest scores, 50% of articles were assigned at least one tag within 8.5 kilometres of the article's author-assigned true location. We also tested our approach on Twitter messages that are tagged with the location from which the message was sent. Twitter texts are challenging because they are short and unstructured and often do not contain words referring to the location they were sent from, but we obtain potentially useful results. We explain how we use the Spark framework for data analytics to collect and process our test data. In general, classification-based approaches for location tagging may be reaching their upper accuracy limit, but our precision-focused approach has high accuracy for some texts and shows significant potential for improvement overall.
Motivation & Objective
- To develop a high-precision geotagging system that assigns accurate geographical coordinates to textual references in documents.
- To overcome limitations of classification-based approaches in geolocation, which are constrained by class size and diminishing returns in accuracy.
- To enable multi-tag geotagging per document by identifying and scoring multiple potential location references in text.
- To evaluate performance on both structured Wikipedia articles and unstructured Twitter messages, reflecting real-world challenges.
- To leverage Apache Spark for scalable data processing and integration of geotagged datasets.
Proposed method
- Utilizes a state-of-the-art part-of-speech tagger and named entity recognizer to identify candidate location references in text.
- Queries OpenStreetMap as a knowledge base to retrieve candidate locations for each identified text block.
- Assigns distance-based scores to each candidate location based on proximity to the true location, using a greedy selection strategy.
- Selects the highest-scoring location per text block iteratively, improving precision through iterative refinement.
- Processes large-scale datasets using Apache Spark for efficient data ingestion, joining, and pre-processing of Wikipedia and Twitter geotagged data.
- Modifies Spark Streaming to specifically collect geotagged tweets from targeted regions (Canada, US, Netherlands, Australia), ensuring relevant training data.
Experimental results
Research questions
- RQ1Can a precision-focused NLP approach outperform existing classification-based geotagging methods in terms of localization accuracy?
- RQ2How effective is the system in tagging multiple locations per document, particularly when the text contains multiple geographical references?
- RQ3What is the performance of the algorithm on unstructured, short-form text such as Twitter messages, which often lack explicit location cues?
- RQ4To what extent does using a dynamic, distance-based scoring system improve accuracy compared to fixed-class classification models?
- RQ5Can scalable data processing frameworks like Apache Spark effectively support the ingestion and integration of large, heterogeneous geotagged datasets for geolocation research?
Key findings
- When considering only the highest-scoring tag, GeoTextTagger achieved a 10th percentile error of 490 metres and a median error of 54 kilometres on the Wikipedia dataset.
- When considering the five highest-scoring tags per document, 50% of Wikipedia articles had at least one tag within 8.5 kilometres of the author-assigned true location.
- The system demonstrated robust performance on Twitter data, despite the challenges of short, unstructured, and error-prone text, indicating potential for real-world deployment.
- The algorithm's performance is significantly better than prior classification-based methods, which achieved median errors around 11 km on similar Wikipedia data, suggesting a shift toward precision-focused approaches.
- The use of Apache Spark enabled efficient processing of large-scale geotagged datasets, with less than 80 lines of Scala code required to join Wikipedia articles with their location tags.
- The dataset used in this study differs from prior work due to a later data dump (June 2015 vs. September 2010), and the absence of redirect articles in the final dataset, likely due to processing pipeline filtering.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.