Text Mining for Developers

Create and use text processing modules without being a rocket scientist, integrate with your project within minutes.

Please enter a valid email address.

Your message was sent successfully. Thanks.

Launching at TechCrunch Disrupt SF 2014!

Next section

Benefits

  • Easy to use

    No NLP or Machine Learning knowledge is required. Just play with our elegant UX.

  • Customized for your needs

    Create your own text mining module from scratch. Upload your text data and train your custom machine learning model.

  • Instant Integration

    Integrate with your project within minutes, MonkeyLearn is compatible with all major programming languages.

Next section

Simple and Modern User Experience

Taste the power of Machine Learning in your hands!

Interface image
  • This is a Category Tree
  • These are your project statistics
  • These are your project samples
Next section

How it works

Use MonkeyLearn in 3 simple steps!

  • Select or Create a Module

    1. Select or Create a Module

    You can select ready to use modules or create your own with a simple and elegant UX!

  • Test

    2. Test

    Use our web interface to test your module and improve the results.

  • Integrate

    3. Integrate

    Integrate with any programming language through an API that will be instantly published.

Next section

Super Easy Integration

Libraries & Documentation are provided to easily integrate MonkeyLearn with your favorite programming language.

  • Python

    import unirest
    
    response = unirest.post("http://app.monkeylearn.com/api/v1/categorizer/hDDngsX8/classify_text/",
    	headers={
    		"Authorization": "token <YOUR TOKEN GOES HERE>"
        },
        params={
    		"text": "This is a text to try language detection."
        }
    )
    
    print response.code
    print response.headers
    print response.body
  • Ruby

    require 'unirest'
    
    response = Unirest::post(
    	"http://app.monkeylearn.com/api/v1/categorizer/hDDngsX8/classify_text/",
    	headers: {
    		"Authorization" => "token <YOUR TOKEN GOES HERE>"
    	},
    	parameters: {
    		:text => "This is a text to try language detection."
    	}
    )
    
    puts response.code
    puts response.headers
    puts response.body
  • PHP

    <?php
    
    require_once 'unirest-php/lib/Unirest.php';
    
    $response = Unirest::post(
    	"http://app.monkeylearn.com/api/v1/categorizer/hDDngsX8/classify_text/",
    	array(
    		"Authorization" => "token <YOUR TOKEN GOES HERE>"
    	),
    	array(
    		"text" => "This is a text to try language detection."
    	)
    );
    
    print_r($response->code);
    print_r($response->headers);
    print_r($response->body);
    
    ?>
  • JavaScript

    <!DOCTYPE html>
    <html>
    <head>
    
    <meta charset="UTF-8">
    
    <title>MonkeyLearn Javascript Integration</title>
    
    <script src="js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript">
    
    $.ajax({
    	url : "http://app.monkeylearn.com/api/v1/categorizer/hDDngsX8/classify_text/",
    	type : "POST",
    	headers: {
    		"Authorization": "token <YOUR TOKEN GOES HERE>",
    	},
    	data : {
    		text: "This is a text to try language detection."
    	},
    	success : function(result) {
    		alert(result);
    	},
    	error : function(e) {
    		alert('Error: ' + e);
    	}
    });
    
    </script>
    
    </head>
    </html>
  • Java

    package com.monkeylearn;
    
    import com.mashape.unirest.http.Unirest;
    import com.mashape.unirest.http.HttpResponse;
    import com.mashape.unirest.http.JsonNode;
    import com.mashape.unirest.http.exceptions.UnirestException;
    
    
    public class App
    {
    	public static void main( String[] args ) throws UnirestException
    	{
    		HttpResponse<JsonNode> response = Unirest.post(
    			"http://app.monkeylearn.com/api/v1/categorizer/hDDngsX8/classify_text/"
    		)
    		.header("Authorization", "token <YOUR TOKEN GOES HERE>")
    		.field("text", "This is a text to try language detection.")
    		.asJson();
    
    		System.out.println(response.getCode());
    		System.out.println(response.getHeaders());
    		System.out.println(response.getBody());
    	}
    }
  • .NET

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Net.Http;
    using System.Net.Http.Headers;
    
    
    namespace dotnet_integration
    {
    	class Program
    	{
    		static void Main(string[] args)
    		{
    			using (var client = new HttpClient())
    			{
    				client.BaseAddress = new Uri("http://app.monkeylearn.com/");
    				client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("token", "<YOUR TOKEN GOES HERE>");
    
    				var content = new FormUrlEncodedContent(new[]
    				{
    					new KeyValuePair<string, string>("text", "This is a text to try language detection.")
    				});
    
    				var response = client.PostAsync("api/v1/categorizer/hDDngsX8/classify_text/", content).Result;
    
    				if (response.IsSuccessStatusCode)
    				{
    					var responseBody = response.Content.ReadAsStringAsync().Result;
    					Console.WriteLine(responseBody);
    					Console.ReadLine();
    				}
    			}
    		}
    	}
    }
Next section

Featured in the Press

Some news about MonkeyLearn

Build your first module

Please enter a valid email address.

Your message was sent successfully. Thanks.

Back to top