refactoring, added optional Standford sentence parser