Extraction of phrases including sentiment

Greetings,

I was wondering if it is possible to build such a model, that would take text, and as an output return array of phrases including aspect and sentiment.

Example: "This phone is terrible, only battery life on this phone is great."

Output: ["This phone is terrible", "only battery life on this phone is great"]

If it is possible what would be best approach to train such a model?