Olivia Wilde to Costar with Bradley Cooper in ‘The Words’