Create dictionary of terms