How to decline on cases in different languages?

can anyone come across? make a module for SEO

there is a phrase
brown Gift packaging
Ukrainian Podarunkiv packaging
English Gift wrap

and words
Rus to Buy
Ukrainian Cigarette
eng Buy

We need to stick together and the phrase to decline relative to said
2 answers
July 8th 19 at 11:27
for a full implementation will need a neural network

the same primitive can be used to analyze end to specify a list of correspondences of endings for different cases
divide according to the analyzed end model to its line depending on the case
July 8th 19 at 11:29
For the Russian language can help

Find more questions by tags PHPMorphologySearch engine optimizationProgrammingWeb Development