Natural language grammatical inference with recurrent neural networks | Synapse