From 17d7627e97df07f965347907bebb2592705eb515 Mon Sep 17 00:00:00 2001 From: cesare Date: Mon, 12 Feb 2024 09:30:54 +0100 Subject: [PATCH] minor change --- js/cesareBrowse.js | 7 +++++-- node_modules/commarcdiag/d019e1db56ab1d8c@1540.js | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/js/cesareBrowse.js b/js/cesareBrowse.js index a59dad3..e77d899 100644 --- a/js/cesareBrowse.js +++ b/js/cesareBrowse.js @@ -1408,7 +1408,9 @@ function resetFrasi(){ alert('Digitare una stringa da cercare') return } - + if (jsonQuery['Clausola0']['lemma_forma'] == 'testo'){ + searchwords = jsonQuery['Clausola0']['queryText'].split(' ') + } jsonQuery = buildSQ(jsonQuery) myquery = new sparqlGenerator().stringify(jsonQuery) @@ -1724,6 +1726,7 @@ function resetFrasi(){ var resultsInCantica = [] var resultsInCanto = [] seachbBindingsStream.on('data', (binding) => { + //cantica if (binding.has('Cantica')) cantica = binding.get('Cantica').value; @@ -1752,7 +1755,7 @@ function resetFrasi(){ //regione della clausola var clfrom=binding.get('clfr').value; var clto=binding.get('clto').value; - var cltype=binding.get('clatype').value.replace('https://dantenetwork.it/ontology/syntit/current/','') + //var cltype=binding.get('clatype').value.replace('https://dantenetwork.it/ontology/syntit/current/','') var clfunction=binding.get('clafunction').value.replace('https://dantenetwork.it/ontology/syntit/current/','') var clocc=binding.get('clocc').value.replace('http://dantenetwork.it/data/commedia/','') //var clfunction=binding.get('clf').value.replace('https://dantenetwork.it/ontology/syntit/current/','') diff --git a/node_modules/commarcdiag/d019e1db56ab1d8c@1540.js b/node_modules/commarcdiag/d019e1db56ab1d8c@1540.js index 74fdfd2..69a01c6 100644 --- a/node_modules/commarcdiag/d019e1db56ab1d8c@1540.js +++ b/node_modules/commarcdiag/d019e1db56ab1d8c@1540.js @@ -1098,7 +1098,7 @@ function _sentenceStructArcs_new(d3,DOM,width,margin,sentenceheight,lisid,data_f return container.node(); } - +//THIS function _sentenceArcsStructs_new(d3,DOM,width,margin,sentenceheight,lisid,data_frasi,yScale,colorssp,maptypestopalette,wrap_text_array,idToNode,clauseFunctions,getTypes,sentenceFunctionsColor2,darken,wrap_text_nchar) {