Code-mixing provides some challenges for language identification like spelling variations and non-grammatical structures in a sentence (Barman et al., 2014).
last line determines the category in which the tweet belongs i.e.