mehtab-alam / GeospaCy

GNU General Public License v3.0
5 stars 2 forks source link

GeospaCy

GeospaCy is a web application built in Python language used for extracting spatial relation entities (spatRE) from text and Geo-referenced them.

Installation

There are few Python packages that are needed to install for running the application

  1. Install spacy for natural language processing (NLP) tasks

    pip install spacy
  2. Install gensim library for data preprocessing

    pip install gensim
  3. Install streamit library for running web application

    pip install streamlit
  4. Install spacy-streamlit for display named entities (spatRE) in the text

    pip install spacy-streamlit
  5. Install GeoPandas

    pip install geopandas
  6. Install folium library for manipulating your data in Python, then visualize it in a Leaflet map via folium.

pip install folium
  1. Install streamlit-folium library to visualize Leaflet map in streamlit web application
pip install streamlit-folium

How to run the web application

streamlit run 1_🏠_Parser.py

Cite this work

@inproceedings{mehtab-alam-etal-2024-geospacy,
    title = "GeospaCy: A tool for extraction and geographical referencing of spatial expressions in textual data",
    author = "Mehtab Alam, Syed  and
      Arsevska, Elena  and
      Roche, Mathieu  and
      Teisseire, Maguelonne",
    editor = "Aletras, Nikolaos  and
      De Clercq, Orphee",
    booktitle = "Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations",
    month = mar,
    year = "2024",
    address = "St. Julians, Malta",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.eacl-demo.13",
    pages = "115--126",
}