pageTitle=Yii::t('app', Yii::app()->name); ?>
{nominative}
'));
echo Yii::t('dict', "This is noun") . "
";
}
if ($wordType === "adjective")
{
$adjectiveData = $data["adjective"];
echo str_replace('{nominative}', $adjectiveData["nominativeSingularForm"], Yii::t('dict', 'Most likely, original word is {nominative}
'));
echo Yii::t('dict', "This is adjective") . "
";
}
?>
";
}
else if ($nounData["grammaticalCase"] === "NGC_P1_NOMINATIVE")
{
$combinedStr = $nounData["grammaticalCase"] . "_" . $nounData["count"] . $genderSuffix;
echo str_replace('{noun}', $request, Yii::t('dict', $combinedStr)) . "
";
}
else
{
$combinedStr = $nounData["grammaticalCase"] . "_" . $nounData["count"] . $genderSuffix;
echo str_replace('{noun}', $request, Yii::t('dict', $combinedStr)) . "
";
}
echo Yii::t('dict', $animateSuffix) . "
";
}
if ($wordType === "adjective")
{
$animateSuffix = "";
if ($adjectiveData["animated"] === "true")
{
$animateSuffix = "ANIMATE";
}
else
{
$animateSuffix = "INANIMATE";
}
$genderSuffix = "";
if ($adjectiveData["count"] === "NC_SINGULAR")
{
if ($adjectiveData["gender"] === "0")
{
$genderSuffix = "_MALE";
}
else if ($adjectiveData["gender"] === "1")
{
$genderSuffix = "_FEMALE";
}
else
{
$genderSuffix = "_NEUTER";
}
}
if ($adjectiveData["grammaticalCase"] === "NGC_P4_ACCUSATIVE")
{
$combinedStr = $adjectiveData["grammaticalCase"] . "_" . $adjectiveData["count"] . "_" . $animateSuffix . $genderSuffix;
echo str_replace('{noun}', $request, Yii::t('dict', $combinedStr)) . "
";
}
else if ($adjectiveData["grammaticalCase"] === "NGC_P1_NOMINATIVE")
{
$combinedStr = $adjectiveData["grammaticalCase"] . "_" . $adjectiveData["count"] . $genderSuffix;
echo str_replace('{noun}', $request, Yii::t('dict', $combinedStr)) . "
";
}
else
{
$combinedStr = $adjectiveData["grammaticalCase"] . "_" . $adjectiveData["count"] . $genderSuffix;
echo str_replace('{noun}', $request, Yii::t('dict', $combinedStr)) . "
";
}
echo Yii::t('dict', $animateSuffix) . "
";
echo Yii::t('dict', $genderSuffix) . "
";
}
?>