concordia search php
This commit is contained in:
parent
535d1b9e32
commit
41f96c5ad9
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user