Text this: Large-scale database analysis of anomalous thermal conductivity of quasicrystals and its application to thermal diodes