Order- n correction for regular languages | Synapse