Integration of bottom-up and top-down contextual knowledge in text error correction | Synapse