Populates global dictionary, removes stop words when required.