/tmf_nyt

This repository contains the New York Times enhancement module of TellMeFirst

Primary LanguageJavaGNU Affero General Public License v3.0AGPL-3.0

TMF NYTimes Enhancer

This repository contains the New York Times enhancement module of TellMeFirst.

This module directly interacts with the DBpedia Sparql endpoint and The New York Times semantic APIs in order to retrieve news related to the results of the classification system of TellMeFirst.

API usage

Once you bulid this module with Maven, you can invoke getNewsFromNYTimes().

	NYTimesEnhancer nyTimesEnhancer = new NYTimesEnhancer();
    String results = nyTimesEnhancer.getNewsFromNYTimes("http://dbpedia.org/resource/Barack_Obama");

The parameter of getNewsFromNYTimes() is a DBpedia URI.