added 2nd scoring method to non_continuous_n_gram.py