// Note: If lemmatizer data file is not specified, then use lemmas from the BaseToken normalizedToken field.
// Initialize lemmatizer
URL lemmatizerDataFileURL = this.lemmatizerDataFile == null
? this.getClass().getClassLoader().getResource(ENG_LEMMATIZER_DATA_FILE)
: this.lemmatizerDataFile.toURI().toURL();
lemmatizer = new MorphEnAnalyzer(new URL(lemmatizerDataFileURL.toString()));
}
// Initialize role labeler
URL parserModelURL = this.parserModelFileName == null
? this.getClass().getClassLoader().getResource(DEFAULT_MODEL_FILE_NAME)