concordia search php

This commit is contained in:
rjawor 2017-02-21 12:47:46 +01:00
parent b32c79c4c0
commit 8489b41f05

View File

@ -37,6 +37,7 @@ $data = json_decode($response);
$markedSentence = ""; $markedSentence = "";
$fragments = array(); $fragments = array();
$lastInsertedEnd = 0; $lastInsertedEnd = 0;
for($i=0; $i<2;$i++) { for($i=0; $i<2;$i++) {
$fragment = data->result->bestOverlay[i]; $fragment = data->result->bestOverlay[i];
//previous unmarked fragment //previous unmarked fragment