added ned entity merging method. Included additional outputs in respons to match frontend streamlit app 0dd8e27 kavg commited on Dec 17, 2023