Return nil when no closest is found
Fixed Jarvis's use of lib-ngram