<commit_before>$( document ).ready(function() {

	$(".yoda_button").click(function(){

        $.ajax({
            url: '//yoda.p.mashape.com/yoda?sentence=', // The URL to the API. You can get this by clicking on "Show CURL example" from an API profile
            type: 'GET', // The HTTP Method
            data: {sentence: $("#yoda_input").val()}, // Additional parameters here
            datatype: 'json',
            success: function (data) {
                $("#output").html(data);
                alert(data);
            },
            error: function (err) {
                $("#output").html(err);
            },
            beforeSend: function (xhr) {
                xhr.setRequestHeader("X-Mashape-Authorization", "<KEY>"); // Enter here your Mashape key
            }
        });

    });

    $(".text_process_button").click(function(){

        $.ajax({
            url: 'https://loudelement-free-natural-language-processing-service.p.mashape.com/nlp-text/?text=', // The URL to the API. You can get this by clicking on "Show CURL example" from an API profile
            type: 'GET', // The HTTP Method
            data: {text: $("#text_process_input").val()}, // Additional parameters here
            datatype: 'json',
            success: function (data) {
                $("#api-author").html(data["api-author"]);
                $("#api-usage").html(data["api-usage"]);
                $("#sentiment-text").html(data["sentiment-text"]);
                $("#sentiment-score").html(data["sentiment-score"]);
                $("#status").html(data["status"]);
                $("#language").html(data["language"]);
            },
            error: function (err) {
                alert(err);
            },
            beforeSend: function (xhr) {
                xhr.setRequestHeader("X-Mashape-Authorization", "<KEY>"); // Enter here your Mashape key
            }
        });

    });

    

});
<commit_msg>Trying to make txt process thing work<commit_after>$( document ).ready(function() {

	$(".yoda_button").click(function(){

        $.ajax({
            url: '//yoda.p.mashape.com/yoda', // The URL to the API. You can get this by clicking on "Show CURL example" from an API profile
            type: 'GET', // The HTTP Method
            data: {sentence: $("#yoda_input").val()}, // Additional parameters here
            datatype: 'json',
            success: function (data) {
                $("#output").html(data);
                alert(data);
            },
            error: function (err) {
                $("#output").html(err);
            },
            beforeSend: function (xhr) {
                xhr.setRequestHeader("X-Mashape-Authorization", "<KEY>"); // Enter here your Mashape key
            }
        });

    });

    $(".text_process_button").click(function(){

        $.ajax({
            url: 'https://loudelement-free-natural-language-processing-service.p.mashape.com/nlp-text/?text=', // The URL to the API. You can get this by clicking on "Show CURL example" from an API profile
            type: 'GET', // The HTTP Method
            data: {text: $("#text_process_input").val()}, // Additional parameters here
            datatype: 'json',
            success: function (data) {
                $("#api-author").html(data["api-author"]);
                $("#api-usage").html(data["api-usage"]);
                $("#sentiment-text").html(data["sentiment-text"]);
                $("#sentiment-score").html(data["sentiment-score"]);
                $("#status").html(data["status"]);
                $("#language").html(data["language"]);
            },
            error: function (err) {
                alert(err);
            },
            beforeSend: function (xhr) {
                xhr.setRequestHeader("X-Mashape-Authorization", "<KEY>"); // Enter here your Mashape key
            }
        });

    });

    

});

{'fraction_non_alphanumeric': 0.17009249743062693, 'fraction_numerical': 0.0, 'mean_word_length': 1.7629524485450674, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '709360', 'n_tokens_mistral': 1078, 'n_tokens_neox': 1050, 'n_words': 240}