copied file tools from other project, misc word frequency tasks