How to get the adjective from the noun in pymorphy2?

The training system flared "pitfalls".
For example, the query "Gazelle with an awning to five tons" is parsed correctly - the theme is "Gazelle" and settings "with the awning up to five ton".
But "the Gazelle tilt of up to five tons," already throws IndexError, because part of speech is defined as an adjective, and the output we have a noun.
And the system doesn't know how to do is to take into account the following word or not.

Query "Gazelle canvas" returns two threads request - "Gazelle" and "tent" (so not necessary), but "Gazelle tent" was the theme of "Gazelle" and the parameters of the "with tent" (as needed).
June 5th 19 at 21:13

Find more questions by tags Natural language processingText processingPython