language detector use n-gram model; language library needed