Changed typo dictionary to use OptChar

This is because we want to be able to have an empty character entry in
the dictionary.