adding code to fix parse confidence and some details in the feature generation and the pipeline