• Przemyslaw Kaminski's avatar
    [ngrams] NgramsTerm normalization · e6d5a03f
    Przemyslaw Kaminski authored
    It is not enough to normalize terms on the backend, because the frontend
    isn't fully aware of this (there isn't a "corrected" patch being sent,
    after the term is committed). Therefore we perform some normalization
    here (stripping spaces). However the `normNgram` function is used both
    for sending terms and highlighting them later. Too much normalization
    will lead to incorrect highlights.
    e6d5a03f
Core.purs 34.6 KB