Introducing the bag-of-words model