tools/smaz: implement the new forced words feature