Added contextual n-gram scoring