concordia search php

This commit is contained in:
rjawor 2017-02-21 12:55:59 +01:00
parent 535d1b9e32
commit 41f96c5ad9

View File

@ -30,7 +30,6 @@ $data = json_decode($response);
</div> </div>
<div id="content"> <div id="content">
<div id="result"> <div id="result">
<pre><?php print_r($data);?></pre>
<div id="result-score">Concordia score: <b><?= round($data->result->bestOverlayScore*100) ?>%</b></div> <div id="result-score">Concordia score: <b><?= round($data->result->bestOverlayScore*100) ?>%</b></div>
<?php <?php
@ -55,7 +54,7 @@ $data = json_decode($response);
$markedSentence += substr($inputSentence, $lastInsertedEnd); $markedSentence += substr($inputSentence, $lastInsertedEnd);
?> ?>
<div id="result-sentence"><?=$markedSentence ?></div> <div id="result-sentence"><?=$inputSentence ?><?=$markedSentence ?></div>
<br/><br/><br/> <br/><br/><br/>
</div> </div>
</div> </div>