$(function() {
$("#nlp_input_form").submit(function(e) {
e.preventDefault(); // avoid to execute the actual submit of the form.
var form = $(this);
var url = form.attr('action');
$('#info').css('display', "none");
$('#description').css('display', "none");
$.ajax({
type: "POST",
url: '/do_nlp' ,
data: form.serialize(), // serializes the form's elements.
success: function(data)
{$('#result').html(data);
$("#pageloader").fadeOut();
//alert(data);
}
});
});
});
$(function() {
$('#calc').click(function() {
$('#info').css('display', "none");
$('#description').css('display', "none");
//console.log(url);
$.ajax({
url : '/save_nlp?model_name=' + document.getElementById('model_name').value+'&model_type=NLP'+ '&model_language=' + document.querySelector('input[name="options"]:checked').value,
success: function(data) {
$('#saving').html(data);
}
});
});
})
Please login to your account to save this NLP model.
Contact: support@gypsysystem.com © Gypsy System LLC, USA