create dictionary of terms