create occurrences for words