Parameters of Gaussian distribution are obtained using Maximum Likelihood Estimate (MLE) as follows: We set the threshold θ = µ + σ.
those words have probabilities higher than θ are considered very likely to belong to the P class.