Git Product home page Git Product logo

Comments (7)

kanarinka avatar kanarinka commented on August 19, 2024

"Amazon" is getting matched to Benin

from cliff-annotator.

kanarinka avatar kanarinka commented on August 19, 2024

"Latin America" is getting located to Illinois:

id: 4899401,
lon: -87.65339,
source: {
charIndex: 178,
string: "Latin America"
},
name: "Latin America Lutheran Church",
countryCode: "US",
state: "IL",
featureCode: "CH",
confidence: 1,
lat: 41.94142

from cliff-annotator.

kanarinka avatar kanarinka commented on August 19, 2024

"Africa" matching to "Mahdia, Tunisia" because of data error from geonames.org. I updated the alternative names on geonames.org but we will have to adjust for this manually or download new data.

from cliff-annotator.

rahulbot avatar rahulbot commented on August 19, 2024

I fixed "Reddit" and "Amazon".
What should "Latin America" and "Africa" resolve to? You can blacklist them for now if that is easiest.

from cliff-annotator.

kanarinka avatar kanarinka commented on August 19, 2024

Latin America is tough but Africa should resolve to the continent. It's fixed in geonames.org now - what's the process for updating the lucene index with new data? Maybe we should do that together and then I'm happy to document it in the README since we'll have to do that periodically

from cliff-annotator.

kanarinka avatar kanarinka commented on August 19, 2024

Regarding Latin America --

One thing we could consider doing which is more of a feature is building in some custom support for regions, areas and continents. Geonames' gazetteer has the idea of "areas" but these don't correspond exactly to regions and don't seem to resolve properly (for example - in geonames.org, "Latin America" gets located to an "area" that is in Brazil, "Eastern Africa" doesn't have a good match).

In Terra Incognita I've been using regions as defined by the UN - http://unstats.un.org/unsd/methods/m49/m49regin.htm

So if an article is returned by CLIFF that is about Ghana, Terra Incognita associates the region of West Africa and the continent of Africa to that mention. We could consider doing this at the CLIFF level - like returning aboutness for regions and continents as well.

This could go in both directions - so a mention of "Latin America" could be counted (for aboutness purposes) as a mention of all of the countries in Latin America. And also a mention of Brazil would count towards the region of "Latin America and the Caribbean".

Anyways, something to discuss...

from cliff-annotator.

rahulbot avatar rahulbot commented on August 19, 2024

I'm going to close this bug - too many issues combined here. I fixed many of them already. Please split off individual errors to bugs (like #25 and #12 do).

from cliff-annotator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.