It seems like users assume that whitespace does not matter. So " x" equals "x". This is currently not true. A proposal would be to normalize several whitespaces to one space. One whitespace is normalize to one space. No whitespace stays the empty string "".
The trim method of normalizeState in the current release takes care of this usecase. More features are not yet possible until state_norm_fn is better supported.
It seems like users assume that whitespace does not matter. So " x" equals "x". This is currently not true. A proposal would be to normalize several whitespaces to one space. One whitespace is normalize to one space. No whitespace stays the empty string "".