Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: What are you working on? (April 2025).
e.g.
"san francisco ca united states" - San Francisco, California, America
"california, san francisco" - San Francisco, California, America
"glasgow, kentucky" - Glasgow, Kentucky, America
"glasgow, UK" - Glasgow, Scotland, United Kingdom
It started as a project when I was scraping websites, and some data had inconsistent ways of writing a location or address.
The library is called location4j - https://github.com/tomaytotomato/location4j
There are no comments on this comment yet.
e.g.
"san francisco ca united states" - San Francisco, California, America
"california, san francisco" - San Francisco, California, America
"glasgow, kentucky" - Glasgow, Kentucky, America
"glasgow, UK" - Glasgow, Scotland, United Kingdom
It started as a project when I was scraping websites, and some data had inconsistent ways of writing a location or address.
The library is called location4j - https://github.com/tomaytotomato/location4j