Commit 9e34473a authored by Martin Gregor's avatar Martin Gregor
Browse files

oprava ak vypadne lematizacna sluzba, tak nech to funguje bez nej

parent b8b99f35
......@@ -312,6 +312,9 @@ class HomepagePresenter extends BasePresenter
$result = $curl->post($this->lematization_service,$sentence);
$this->words_lema = explode(' ',$result->body);
if (strstr($result->body,'Error report') == FALSE)
{
$this->words_lema = explode(' ',$result->body);
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment