Previous idiom detection systems fall in one of two paradigms: phrase classification, where a phrase p is always idiomatic or literal, e.g.
other points are possible, especially when aiming for high precision to extend the labels in Wiktionary.