' . PHP_EOL; $out .= '' . PHP_EOL; $out .= '
' . PHP_EOL; $sm = $this->result->data->analysis->sm; $out .= ''; $out .= ''; $spellState = $this->result->data->analysis->sm->state; $out .= '
' . PHP_EOL; $out .= '' . PHP_EOL; $out .= '
' . PHP_EOL; if ( strtolower( $spellState ) != "green" ) { $out .= '' . PHP_EOL; $out .= '' . PHP_EOL; $out .= '
'; if ( strtolower( $gm->state ) != "green" ) { $out .= '' . PHP_EOL; $out .= '' . PHP_EOL; $out .= '
'; if ( strtolower( $lc->state ) != "green" ) { $out .= 'Links
'; $out .= ''; $out .= '
Word Count: ' . $ln->measured->words . '
' . PHP_EOL; $out .= 'Sentence Count: ' . $ln->measured->sentences . '
' . PHP_EOL; $pc = count( $this->result->data->analysis->pwd->detail->paragraphs ); $out .= 'Paragraph Count: ' . $pc . '
' . PHP_EOL; $out .= 'Keywords: ' . $this->keywordsList() . '
' . PHP_EOL; $out .= ''; $out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'TOO COMPLEX' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'HIT' ) {
$out .= '
';
}
}
if ( $this->result->data->analysis->so->target == 'Knowledgeable' ) {
if ( $this->result->data->analysis->so->detail == 'TOO SIMPLE' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'TOO COMPLEX' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'HIT' ) {
$out .= '
';
}
}
if ( $this->result->data->analysis->so->target == 'Specialist' ) {
if ( $this->result->data->analysis->so->detail == 'TOO SIMPLE' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'TOO COMPLEX' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'HIT' ) {
$out .= '
';
}
}
if ( $this->result->data->analysis->so->target == 'Academic' ) {
if ( $this->result->data->analysis->so->detail == 'TOO SIMPLE' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'TOO COMPLEX' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'HIT' ) {
$out .= '
';
}
}
if ( $this->result->data->analysis->so->target == 'Genius' ) {
if ( $this->result->data->analysis->so->detail == 'TOO SIMPLE' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'TOO COMPLEX' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'HIT' ) {
$out .= '
';
}
}
$out .= '';
$out .= '