N-Gram based language detection in Objective-C.