refactor WordPenaltyProducer
refactor UnknownWordPenalty