Predefined Examples
Submit
<script type="text/javascript"> function call_nte_model() { let text = document.getElementById("input-doc").value; let formdata = new FormData(); formdata.append("text", text); let requestOptions = { method: 'POST', body: formdata, redirect: 'follow' }; fetch("https://nlp.biu.ac.il/~lazary/tne/", requestOptions) .then(function(response) { return response.text() }).then(function(body) { let out = document.getElementById("out-text"); out.innerHTML = body; }); } function change_text(new_text) { document.getElementById("input-doc").value = new_text; } examples = ['I entered the house, the windows were open.', 'Adam\'s father went to meet the teacher at his school.', 'TNE is an NLU task, which focus on relations between noun phrases (NPs) that can be mediated via prepositions. The dataset contains 5,497 documents, annotated exhaustively with all possible links between the NPs in each document.', ]; function change_text() { document.getElementById("input-doc").value = examples[Math.floor(Math.random() * examples.length)]; } </script>