Task: Question Answering
Input (English): Context : The Trespasser is a 1929 American Pre-Code film directed and written by Edmund Goulding, starring Gloria Swanson, Robert Ames, Purnell Pratt, Henry B. Walthall, and Wally Albright. 
Question : Who had the role of director in The Trespasser?
Output (English): Edmund Goulding