Conventional and associative memory approaches to automatic spelling correction