It involves several complex and interacting factors, touching upon all layers of linguistic analysis, from syntax, semantics up to pragmatics.
also annotation is complex and time consuming, and hence available annotated corpora are sparse and limited in size.