stephbuon / digital-history

Instructional repository for "Text Mining as Historical Method"
GNU General Public License v3.0
7 stars 3 forks source link

Fix matching issue #7

Closed stephbuon closed 3 years ago

stephbuon commented 3 years ago

In digital-history/expert-vocab/hist3368-week3-controlled-vocab.ipynb , figure out why we are not matching with more words and fix issue:

`controlled_words = []

for w in words: if w.lower() in controlled_vocab: controlled_words.append(w)

Counter(controlled_words) # counter is not working properly here `

alexanderr commented 3 years ago

Fixed in 95fb4a3f1d4934f1177d931a42f9ac5427ce88a7