def p_n(nnx, nn):
    """
        Computes the probability of the term x occurs in NEGATIVE news

        Args:
            nnx (int): number of NEGATIVE news with the term x
            nn (int): number of NEGATIVE news

        Returns:
            float: p(x|not(Y))
        """
    return float(nnx) / nn