Is irony detected?

Although it can be very tricky, it is possible to recognize irony in written form. The more text our system encounters, the more it understands how irony works in writing. For example, it has learned that the phrase “congratulations to the developers” is usually used in a sarcastic way, thus its sentiment value is negative despite it containing “congratulations”, which is usually a positive phrase.