tomaytotomato/location4j
View on GitHub ↗ ★ 65 Java
A Java library for efficient geographical lookups without external APIs. 🌎 Provides country, state, and city identification from free text with a built-in dataset.
5 mentions on Hacker News by 1 person: 0 stories, 5 comments · first 2025-04-28 · latest 2026-01-26
20082026
-
…is quite well documented and I created a Prompt a while back along with some mermaid diagrams https://github.com/tomaytotomato/location4j/tree/master/docs I can't remember the exact prompt I gave to the LLM but I gave it a Github issue…
comment by tomaytotomato · 2026-01-26 · in Vibe coding kills open source -
…"California" Output: "California, Missouri" California is a state but also city in Missouri - https://github.com/tomaytotomato/location4j/issues/44 I asked Claude several times to resolve this ambiguity and it suggested various…
comment by tomaytotomato · 2026-01-26 · in Vibe coding kills open source -
…away on my opensource Java NLP library to parse text and find geographical information from it. https://github.com/tomaytotomato/location4j I think I am going to re-write the logic to calculate a score on all matches it makes from a given…
comment by tomaytotomato · 2025-10-13 · in Ask HN: What are you working on? (October 2025) -
…just working through a couple of bugs for my location parsing library for Java called location4j. https://github.com/tomaytotomato/location4j It uses NLP to try and understand and resolve a location from some free text to either a City,…
comment by tomaytotomato · 2025-09-30 · in Ask HN: What are you working on? (September 2025) -
…data had inconsistent ways of writing a location or address. The library is called location4j - https://github.com/tomaytotomato/location4j
comment by tomaytotomato · 2025-04-28 · in Ask HN: What are you working on? (April 2025)