You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I know in Fluent we can't parametrise arguments. In a sense that this code will be impossible to parse.
skeleton = {$case-> [genitive] Skeleton [possessive] by Skeleton}cultist = {$case-> [genitive] Cultist [possessive] by Cultist}shoot = {$victim} has be shoot {$attacker(case: "possessive") }
This is obviously not a problem for English, but it is a problem for other languages with grammatical cases, for example, Slavic ones. https://en.wikipedia.org/wiki/Grammatical_case
(I translated the bear was killed by another bear to Polish and got niedźwiedź został również zabity przez innego niedźwiedzia. You can see the difference between niedźwiedź and niedźwiedzia)
So to solve it, I was thinking about adding EVAL function, which would take its first parameter as a term and pass args to it.
shoot = {$victim} has been shoot {EVAL($attacker,case:"possessive")}
P. S. after creating this, I saw #80 which would probably cover a lot of cases, but I thought about tossing this idea here in case someone would find it valuable.
The text was updated successfully, but these errors were encountered:
As far as I know in Fluent we can't parametrise arguments. In a sense that this code will be impossible to parse.
This is obviously not a problem for English, but it is a problem for other languages with grammatical cases, for example, Slavic ones. https://en.wikipedia.org/wiki/Grammatical_case
(I translated the bear was killed by another bear to Polish and got
niedźwiedź został również zabity przez innego niedźwiedzia
. You can see the difference betweenniedźwiedź
andniedźwiedzia
)So to solve it, I was thinking about adding EVAL function, which would take its first parameter as a term and pass args to it.
P. S. after creating this, I saw #80 which would probably cover a lot of cases, but I thought about tossing this idea here in case someone would find it valuable.
The text was updated successfully, but these errors were encountered: