Towards Solving Text-based Games by Producing Adaptive Action Spaces