Parsing with Neural and Finite Automata Networks