• Jeremy Hylton's avatar
    Try to handle the case where a wid has no wordinfo. · be8b6d9b
    Jeremy Hylton authored
    This case can arise when the last occurence of a word is removed, or
    when a lexicon is shared across multiple indexes.
    
    XXX Not sure this code is correct, but it might be and the tests pass.
    If it's wrong, we need more tests.
    be8b6d9b
CosineIndex.py 10.4 KB