Text this: Comparing galaxy populations in compact and loose groups of galaxies