File size: 1,591 Bytes
f7a8d72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
def get_multilingual_data():
    texts = [
        # =========================
        # HINDI (BALANCED NOW)
        # =========================
        "tum bewakoof ho",
        "main tumse nafrat karta hoon",
        "tum pagal ho",

        "tum bahut ache ho",
        "tum smart ho",
        "tum bahut pyare ho",
        "tum best ho",
        "mujhe tum pasand ho",

        # =========================
        # HINGLISH
        # =========================
        "tu pagal hai kya",
        "i hate you yaar",
        "tu useless hai",

        "you are amazing yaar",
        "tu bahut accha hai",
        "you are very nice",

        # =========================
        # SPANISH
        # =========================
        "te odio",
        "eres estupido",

        "eres muy bueno",
        "te quiero",
        "eres genial",

        # =========================
        # FRENCH
        # =========================
        "je te déteste",
        "tu es stupide",

        "tu es gentil",
        "je t'aime",
        "tu es incroyable",

        # =========================
        # GERMAN
        # =========================
        "ich hasse dich",
        "du bist dumm",

        "du bist nett",
        "ich liebe dich",
        "du bist großartig"
    ]

    labels = [
        # Hindi
        1, 1, 1,
        0, 0, 0, 0, 0,

        # Hinglish
        1, 1, 1,
        0, 0, 0,

        # Spanish
        1, 1,
        0, 0, 0,

        # French
        1, 1,
        0, 0, 0,

        # German
        1, 1,
        0, 0, 0
    ]

    return texts, labels