make SentenceParser be a singleton class