maps entries to categories