Latent class analysis is useful to classify pregnant women into dietary patterns.