Arf/refactor linguistic translator