Instead of InChI strings, we used SMILES codes of the molecules as the input for the functional group identification method. In addition, modifying the SMARTS string for ethers proved essential for clearly distinguishing between excludes any pattern where carbon is directly bonded to oxygen in a carbonyl group (C=O), ensuring that the ether carbon atom is not part of a carbonyl group.