Text this: Machine-learning-assisted inference of the particle charge fraction and the ion-induced nucleation rates during new particle formation events