Introduction to the Bag-of-Words (BoW) Model