Tagging class now creating category indexed dictionary of terms