Factors that affect the accuracy of text-based language identification

The classification accuracy of text-based language identification depends on several factors, including the size of the text fragment to be identified, the amount of training data available, the cl...