Python Forum
Using locationtagger to extract locations found in a specific country/region
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using locationtagger to extract locations found in a specific country/region
#1
I have found locationtagger as a python based tool which can help me extract locations from a piece of text. My problem is the locations to be extracted are expected to be from a specific location (and different regions / countries have similarly named locations). Is it possible to use locationtagger to identify and extract locations from a specific region / country?

For example: identify locations found around Durban, South Africa in a text?
Reply
#2
lord_of_cinder Wrote:My problem is the locations to be extracted are expected to be from a specific location (and different regions / countries have similarly named locations).
Not so.
Re-read the documentation on this package.
It can give you relationships from all countries.
readme: https://github.com/kaushiksoni10/locationtagger
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  encode/decode to show correct country letters in a CTk combobox janeik 2 726 Sep-02-2023, 09:46 AM
Last Post: janeik
  Match and extract if found Calli 21 3,785 Sep-16-2022, 07:42 AM
Last Post: Gribouillis
  How to find employees clocked in at two different locations ToussaintOps 0 805 Aug-19-2022, 05:51 PM
Last Post: ToussaintOps
  How to extract specific data from .SRC (note pad file) Shinny_Shin 2 1,284 Jul-27-2022, 12:31 PM
Last Post: Larz60+
  Extract specific sentences from text file Bubly 3 3,422 May-31-2021, 06:55 PM
Last Post: Larz60+
  How to extract specific key value pair from string? aditi06 0 2,542 Apr-15-2021, 06:26 PM
Last Post: aditi06
  Control Mouse and Keyboard Across the Country Without VNC on Target PC Khuber79 5 3,014 Feb-21-2021, 02:42 AM
Last Post: NullAdmin
  How can I found how many numbers are there in a Collatz Sequence that I found? cananb 2 2,557 Nov-23-2020, 05:15 PM
Last Post: cananb
  Add new line after finding last string in a region Nigel11 1 1,888 Aug-08-2020, 10:00 PM
Last Post: Larz60+
  pytz: get integer utc offset from Olsen region/city h4tt3n 2 5,269 Jul-30-2020, 06:43 AM
Last Post: h4tt3n

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020