Kernel for language detection lite version.