public TermInfo_Doc_Poses(Term term) : base(term) { TermIndex = new DefaultSortedDict <int, PositionSortedCollection>((k) => new PositionSortedCollection()); }
public TermInfo_Doc_tf(Term term) : base(term) { TermIndex = new DefaultSortedDict <int, int>((k) => 0); }
public InvertedIndex() { Index = new DefaultSortedDict <Term, ITermInfo>(t => new TermInfo_Doc_tf(t)); }