Issue #297 new

Store word weights in spelling FST

Matt Chaput
repo owner created an issue
  1. Instead of storing only the words in an FSA, store word/weight pairs in an FST.

  2. Try to re-use weight tracking (TermInfo) from regular terms for separate spelling terms.

Comments (1)

  1. Matt Chaput reporter

    ETA: part of the fix should be to remove this bit from spelling.py:

    f = freq(fieldname, sug) or 1

    and replace it with the weight stored in the graph.

  2. Log in to comment