Text this: In-situ porosity prediction in metal powder bed fusion additive manufacturing using spectral emissions