Setup gigaword lm resources
Added pipe aware progress bar
Modified do_work method to pass kwargs