Add rudimentary prototype logic for spelling correction