Difficulty
Your best score
N/A
In a globalized world, messages come from all corners of the world and
can be written in various languages. To automatically process these
texts (for example, in automated translation applications), it is
essential to be able to identify the language of each text.
Your role is to develop an automatic system capable of determining the
language of a text, based on training a model using a set of labeled
examples.
The automatic system must work for the following languages:
Swedish, French, Korean, Japanese, Portuguese, English,
Persian, Pushto, Thai, Romanian, Tamil, Spanish, Turkish,
Estonian, Chinese, Arabic, Urdu, Hindi, Latin, Russian,
Indonesian, Dutch
You have two CSV files available:
Each row in train.csv has the following columns:
SampleID -- the unique identifier of the text\Text -- the original text\language -- the language of the textExample:
SampleID,Text,languageS1,"klement gottwaldi surnukeha palsameeriti ning ...",EstonianS2,"sebes joseph pereira thomas på eng the jesuit...",SwedishS3,"de spons behoort tot het geslacht haliclona en...",DutchEach row in test.csv has the following columns:
SampleID -- the unique identifier of the text\Text -- the text for which the language must be predictedExample:
SampleID,TextS1001,"ถนนเจริญกรุง อักษรโรมัน thanon charoen krung เ..."S1002,"விசாகப்பட்டினம் தமிழ்ச்சங்கத்தை இந்துப் பத்திர..."Build a system that can identify the language of the text for the
texts in test.csv.
Predictions must be saved in a submission.csv file with the format:
SampleID,languageS1001,ThaiS1002,TamilS1003,Swedishwhere:
SampleID -- the unique identifier of the text in test.csvlanguage -- the language predicted by your system, which must beSwedish, French, Korean, Japanese, Portuguese, English,
Persian, Pushto, Thai, Romanian, Tamil, Spanish, Turkish,
Estonian, Chinese, Arabic, Urdu, Hindi, Latin, Russian,
Indonesian, Dutch
Predictions will be compared with the real languages, and accuracy
will be calculated:
accuracy = (number_of_correct_predictions / total_number_of_predictions)The final score is calculated based on the accuracy obtained using the
following rules: