Seol mar théacs é seo: Learning to compose words into sentences with reinforcement learning