Language identification with limited resources