contemplating design of dictionary (esp. the inverted index)