</td> <!-- <td><?php /*myLevensteinEditDistance(removeTashkeel($mapTermKey), $mapTermVal)*/ ?> </td>--> </tr> <?php } ?> <thead> <tr> <td colspan="2"> <?php $uthmaniCounter = addCommasToNumber($uthmaniCounter); $simpleCounter = addCommasToNumber($simpleCounter); echoN("{$uthmaniCounter} Uthmani Words - {$simpleCounter} Simple words"); ?> </td> </tr> </thead> </table> </div> </div> <?php require "./analysis.template.end.code.php"; ?>
$nGramesArr = getPoSNGrams($posPatternString); $avgCollocationFreq = array_sum($nGramesArr); $nGramsCount = count($nGramesArr); ?> <table id='ngrams-results-table'> <thead> <tr> <td colspan='2'> Number of N-Grams:<b><?php echo addCommasToNumber($nGramsCount); ?> </b> Total repetitions:<b><?php echo addCommasToNumber($avgCollocationFreq); ?> </b> </td> </tr> </thead> <tr> <th> Words </th> <th> Frequency </th> </tr>
if (isset($markedVerses[$verseLocation])) { continue; } $verseText = preg_replace("/({$pauseMark})/umi", "<marked_fg class='pausemarks-style'>\\1</marked_fg>", $verseText); $markedVerses[$verseLocation] = $verseText; } } } ?> <table id='pausemarks-verses-table'> <tr> <th> Verses (<?php echo addCommasToNumber(count($markedVerses)); ?> ) </th> </tr> <tr> <td> <?php //echoN($segmentWord); //echoN($verseText); //exit; foreach ($markedVerses as $location => $verseText) { $suraName = $META_DATA['SURAS'][$location[0] - 1]['name_' . strtolower($lang)]; ?> <div class='pos-value-div' location='<?php echo $location;
<div id='repetition-area'> <?php $repeatedVerses = array(); $repeatedVerses = getRepeatedVerses($lang); $repeatedVersesCount = count($repeatedVerses); ?> <table id='repeated-results-table'> <thead> <tr> <td colspan='2'> <b><?php echo addCommasToNumber($repeatedVersesCount); ?> </b> Verses </td> </tr> </thead> <tr> <th> Words </th> <th> Frequency </th> </tr>