Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8217615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:31:11+00:00 2026-06-07T12:31:11+00:00

i want to write a parser which search some city names or other geographic

  • 0

i want to write a parser which search some city names or other geographic topics in a large count of textes. For example Sydney,Tower Bridge,Munich…

My idea is to request some words to a local database with informations about geography(such http://www.geonames.org/, there i can download some cityinformations) if there is a hit, the database response some lan and lon coordinats. The words must start with upper case letter and must be a length>2

But i think that the performance is very worse. One text contains 10 to 100 words.
Is there a better method to find geoinformations about a text?

And maybe there is a better database with more geoinformations?

Greetings,
destiny

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T12:31:12+00:00Added an answer on June 7, 2026 at 12:31 pm

    You might want to index the text files using a library such as Lucene and then search for each of Cities in the list. The results would give you the file name and the location of the term (with surrounding text snippet)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to write a rename function to replace String names (which represent hierarchical
I want write a little code analyzer which parses nested structures and translates into
I want write a simple query which will fetch data from a table (which
I want to make an app which (amongst other things) can parse feeds loaded
I want to add one xml file (which has some static data related to
I try to write a simple Markdown parser in JavaScript. Therefore I want to
I am currently trying to write a simple parser for some XMI files (Generated
I want to write a program (preferably in java) that will parse and analyze
Hello I want write my own desktop sharing application in Java. The application should
I want to write a batch script statement where: FINDSTR has to check for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.