ADD stubs for Bag-of-words and Bi-gram index