standardize naivebayes parser with LogisticRegression