Text this: Correlation between the electric and acoustic signals emitted during compression of brittle materials