$text .= ' ' . $spanish;
    # $alldictionaries = $english.' '.$spanish;
}
if ($_POST['deva_dict'] == "yes") {
    include "../dictionaries/devanagari.php";
    $text .= ' ' . $devangari;
    # $alldictionaries = $english.' '.$spanish;
}
// Do Stuff
$a = new textFilter();
$a->getText($text);
if (!empty($_POST['filterglyphs'])) {
    $a->madefrom($_POST['filterglyphs']);
}
if (!empty($_POST['having'])) {
    $a->having($_POST['having']);
}
if (!empty($_POST['also_having'])) {
    $a->having($_POST['also_having']);
}
if (!empty($_POST['also_having_more'])) {
    $a->having($_POST['also_having_more']);
}
if (!empty($_POST['not_having'])) {
    $a->not_having($_POST['not_having']);
}
if (!empty($_POST['also_not_having'])) {
    $a->not_having($_POST['also_not_having']);
}
if (!empty($_POST['starting'])) {
    $a->starting($_POST['starting']);
    $maxglyphs = $_POST['maxglyphs'];
}
// Do Stuff
$a = new textFilter();
$a->AddSourceText($text, $minglyphs, $maxglyphs);
if (!empty($_POST['madefrom'])) {
    $a->madefrom($_POST['madefrom']);
}
if (!empty($_POST['measures'])) {
    $a->AddMeasures($_POST['measures']);
}
if (!empty($_POST['kerning'])) {
    $a->AddKerning($_POST['kerning']);
}
if (!empty($_POST['having_one'])) {
    $a->having($_POST['having_one']);
}
if (!empty($_POST['having_two'])) {
    $a->having($_POST['having_two']);
}
if (!empty($_POST['having_three'])) {
    $a->having($_POST['having_three']);
}
if (!empty($_POST['having_four'])) {
    $a->having($_POST['having_four']);
}
if (!empty($_POST['having_five'])) {
    $a->having($_POST['having_five']);
}
if (!empty($_POST['not_having_one'])) {
    $a->not_having($_POST['not_having_one']);