Semantic decomposition and synctactic flexibility in idiom recognition