matchms.filtering.clean_compound_name module

matchms.filtering.clean_compound_name.clean_compound_name(spectrum_in: Spectrum) Spectrum[source]

Clean compound name.

A list of frequently seen name additions that do not belong to the compound name will be removed.