An inverted index to map the labels to document ids in examplecollection