add configurable weights for first sentence, fix some bugs in sentiment, urgency factory