Text this: Video matching method based on "bag of words"