12.07.2015 Views

Dictionaries and Tolerant Retrieval

Dictionaries and Tolerant Retrieval

Dictionaries and Tolerant Retrieval

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction to Information <strong>Retrieval</strong>Sec. 3.1Trees• Simplest: binary tree• More usual: B‐trees• Trees require a st<strong>and</strong>ard ordering of characters <strong>and</strong> hencestrings … but we st<strong>and</strong>ardly have one• Pros:• Solves the prefix problem (terms starting with hyp)• Cons:• Slower: O(log M) [<strong>and</strong> this requires balanced tree]• Rebalancing binary trees is expensive• But B‐trees mitigate the rebalancing problem10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!