Constituency Parsing with a Self-Attentive Encoder (ACL 2018)