with unknown words optimizer