Explore Your Data

APIs for data enrichment. simple, fast, transparent



1. Sentiment analysis for tweets

Examples:
"The truce has ended and war has started again" -> neutral
"War is a horrible thing" -> negative
"I hate you :-)" -> positive
"@HPCareers: Meet Ada, one of our #SuperInterns in #Barcelona! Join our #heroes' #team today! " -> positive
"@Ginoshie he is decent magic user but his hp pool sucks dies all the time" -> negative

Try out the API with your favorite language. These samples actually work — copy and run them directly from your favorite editor or IDE:

        //using the Maven dependency: org.apache.httpcomponents.httpclient and sending the tweet "I love you"
        HttpGet httpGet = new HttpGet("http://api.exploreyourdata.com/umigonapi/v1/analyze/test/?tweet=I%20love%20you");
        CloseableHttpResponse response = client.execute(httpGet);

        String sentiment = EntityUtils.toString(response.getEntity());
        System.out.println("response: " + sentiment);
                        

2. Remove stopwords from a text

Examples for texts in English or French. Many other languages supported. The language of the text is automaticallly detected:


"My wife and I had a good weekend" -> "wife good weekend"
"Vous n'imaginez pas l'utilité de cette api" -> "n'imaginez l'utilité api"