Commit 2c7740b9 authored by Orin Jaworski's avatar Orin Jaworski Committed by Commit Bot

[omnibox] Add 13 more languages to Pedals concept matching data

This CL adds `en-GB, es, es-419, et, fa, fi, fil, gu, he, hi, hr,
id, it` to the set of languages supported by Pedals.

Bug: 893183
Change-Id: I6740e0074fbd6eeaf3a668973cf6423ae2ce8df7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360219
Auto-Submit: Orin Jaworski <orinj@chromium.org>
Commit-Queue: Tommy Li <tommycli@chromium.org>
Reviewed-by: default avatarTommy Li <tommycli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#798960}
parent 8bc9cd6f
......@@ -36,7 +36,20 @@ TEST(OmniboxPedals, DataLoadsForAllLocales) {
{"de", "entfernen browserverlauf"},
{"el", "εκκαθάριση πληροφορίες"},
{"en", "delete information"},
{"en-GB", "delete information"},
{"es", "eliminar información"},
{"es-419", "eliminar información"},
{"et", "tühjenda küpsisefailid"},
{"fa", "حذف کردن حافظه پنهان"},
{"fi", "tyhjennä historiatiedot"},
{"fil", "i-delete impormasyon"},
{"fr", "suppression informations"},
{"gu", "ડિલીટ કરો ઇતિહાસ"},
{"he", "איפוס נתונים"},
{"hi", "वाइप करें कैश मेमोरी"},
{"hr", "odstranjivanje privremena memorija"},
{"id", "hapus informasi"},
{"it", "cancellare informazioni"},
{"ja", "クリアキャッシュ"},
{"zh-CN", "清除浏览数据"},
// clang-format on
......
......@@ -10,7 +10,7 @@
// This value is generated during Pedal concept data processing, and written
// to all data files as well as the source code here to ensure synchrony.
// The runtime loaded data must match this version exactly or it won't load.
constexpr int OMNIBOX_PEDAL_CONCEPTS_DATA_VERSION = 15468548;
constexpr int OMNIBOX_PEDAL_CONCEPTS_DATA_VERSION = 15472385;
// Unique identifiers for Pedals, used to bind loaded data to implementations.
enum class OmniboxPedalId {
......
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15468548,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"chrome",
......
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15468548,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"a",
......
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15468548,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"chrome",
......
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15468548,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"chrome",
......
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15468548,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"a",
......
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15468548,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"aktualizovat",
......
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15468548,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"adgangskode",
......
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15468548,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"aktualisieren",
......
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15468548,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"chrome",
......
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"a",
"an",
"browser",
"browsing",
"cache",
"card",
"cards",
"change",
"chrome",
"clear",
"cookies",
"create",
"credentials",
"credit",
"data",
"delete",
"do",
"edit",
"enter",
"erase",
"for",
"google",
"history",
"how",
"i",
"in",
"incognito",
"info",
"information",
"inside",
"install",
"language",
"launch",
"manage",
"manager",
"methods",
"mode",
"my",
"on",
"open",
"page",
"password",
"passwords",
"payment",
"payments",
"private",
"remove",
"save",
"show",
"start",
"tab",
"the",
"this",
"to",
"translate",
"update",
"upgrade",
"view",
"window",
"wipe",
"within"
],
"pedals": [
{
"name": "CLEAR_BROWSING_DATA",
"id": 1,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
21,
8
],
[
3
],
[
2
],
[
8
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
15
],
[
46
],
[
19
],
[
9
],
[
59
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
28
],
[
22
],
[
10
],
[
4
],
[
14
],
[
27
]
]
}
]
},
{
"name": "MANAGE_PASSWORDS",
"id": 2,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
21,
8
],
[
2
],
[
8
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
34
],
[
33
],
[
55
],
[
7
],
[
17
],
[
47
],
[
57
],
[
48
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
12
],
[
42
],
[
41
]
]
}
]
},
{
"name": "UPDATE_CREDIT_CARD",
"id": 3,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
21,
8
],
[
2
],
[
8
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
33
],
[
55
],
[
7
],
[
17
],
[
47
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
13,
5,
28
],
[
13,
5,
27
],
[
5,
28
],
[
43,
35
],
[
13,
6
],
[
13,
5
],
[
5,
27
],
[
44
],
[
43
],
[
6
]
]
}
]
},
{
"name": "LAUNCH_INCOGNITO",
"id": 4,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
21,
8
],
[
2
],
[
8
]
]
},
{
"required": false,
"single": true,
"synonyms": [
[
32
],
[
11
],
[
49
],
[
18
],
[
39
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
26,
58
],
[
26,
36
],
[
45,
58
],
[
26,
50
],
[
45,
36
],
[
45,
50
],
[
26
]
]
}
]
},
{
"name": "TRANSLATE",
"id": 5,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
21,
8
],
[
2
],
[
8
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
7,
31
],
[
54
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
52,
40
],
[
40
],
[
52
]
]
}
]
},
{
"name": "UPDATE_CHROME",
"id": 6,
"groups": [
{
"required": true,
"single": true,
"synonyms": [
[
21,
8
],
[
2
],
[
8
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
56
],
[
30
],
[
55
]
]
}
]
}
],
"ignore_group": {
"required": false,
"single": false,
"synonyms": [
[
29
],
[
60
],
[
20
],
[
23
],
[
51
],
[
1
],
[
16
],
[
25
],
[
37
],
[
38
],
[
53
],
[
0
],
[
24
]
]
},
"max_tokens": 32
}
\ No newline at end of file
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15468548,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"a",
......
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"abrir",
"actualización",
"actualizar",
"administrador",
"administrar",
"borrar",
"caché",
"cambiar",
"chrome",
"como",
"contraseña",
"contraseñas",
"cookies",
"crear",
"credenciales",
"crédito",
"datos",
"de",
"dentro",
"editar",
"ejecutar",
"el",
"eliminar",
"en",
"entrar",
"esta",
"esto",
"formas",
"google",
"guardar",
"hacer",
"historial",
"idioma",
"incógnito",
"info",
"información",
"iniciar",
"instalar",
"la",
"mi",
"modo",
"mostrar",
"navegador",
"navegar",
"pago",
"pagos",
"para",
"pestaña",
"privada",
"privado",
"página",
"quitar",
"sacar",
"suprimir",
"tarjeta",
"tarjetas",
"traducir",
"un",
"ventana",
"ver",
"yo"
],
"pedals": [
{
"name": "CLEAR_BROWSING_DATA",
"id": 1,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
28,
8
],
[
42
],
[
43
],
[
8
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
22
],
[
53
],
[
51
],
[
5
],
[
52
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
35
],
[
31
],
[
12
],
[
6
],
[
16
],
[
34
]
]
}
]
},
{
"name": "MANAGE_PASSWORDS",
"id": 2,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
28,
8
],
[
42
],
[
8
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
3
],
[
4
],
[
2
],
[
7
],
[
29
],
[
41
],
[
19
],
[
59
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
11
],
[
14
],
[
10
]
]
}
]
},
{
"name": "UPDATE_CREDIT_CARD",
"id": 3,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
28,
8
],
[
42
],
[
8
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
4
],
[
2
],
[
7
],
[
29
],
[
19
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
35,
17,
38,
54,
17,
15
],
[
35,
17,
38,
54,
17,
15
],
[
35,
17,
38,
54
],
[
35,
17,
38,
54
],
[
55,
17,
15
],
[
54,
17,
15
],
[
27,
17,
44
],
[
55
],
[
45
],
[
44
]
]
}
]
},
{
"name": "LAUNCH_INCOGNITO",
"id": 4,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
28,
8
],
[
42
],
[
8
]
]
},
{
"required": false,
"single": true,
"synonyms": [
[
20
],
[
36
],
[
24
],
[
0
],
[
13
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
47,
17,
33
],
[
58,
17,
33
],
[
40,
17,
33
],
[
47,
48
],
[
58,
48
],
[
40,
49
],
[
33
]
]
}
]
},
{
"name": "TRANSLATE",
"id": 5,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
28,
8
],
[
42
],
[
8
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
7,
32
],
[
56
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
25,
50
],
[
50
],
[
26
]
]
}
]
},
{
"name": "UPDATE_CHROME",
"id": 6,
"groups": [
{
"required": true,
"single": true,
"synonyms": [
[
28,
8
],
[
42
],
[
8
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
1
],
[
2
],
[
37
]
]
}
]
}
],
"ignore_group": {
"required": false,
"single": false,
"synonyms": [
[
18,
17
],
[
30
],
[
46
],
[
9
],
[
46
],
[
23
],
[
21
],
[
57
],
[
23
],
[
39
],
[
23
],
[
57
],
[
60
]
]
},
"max_tokens": 32
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"asenna",
"avaa",
"chrome",
"data",
"deletoi",
"evästeet",
"google",
"hallinnointi",
"historia",
"historiatiedot",
"ikkuna",
"incognito",
"katso",
"kieltä",
"kirjautumistiedot",
"korttien",
"korttitiedot",
"käynnistä",
"käännä",
"luottokortit",
"luottokortti",
"luottokorttien",
"luottokorttitiedot",
"maksu",
"maksukortit",
"maksut",
"maksutavat",
"muokkaa",
"muuta",
"näytä",
"poista",
"pyyhi",
"päivitys",
"päivitä",
"päälle",
"salasana",
"salasanat",
"selaaminen",
"selain",
"siirry",
"siivoa",
"sivu",
"tallenna",
"temp_placeholder",
"tiedot",
"tila",
"tilaan",
"tyhjennä",
"tämä",
"uusi",
"vaihda",
"välilehti",
"välimuisti",
"yksityinen",
"ylläpidä"
],
"pedals": [
{
"name": "CLEAR_BROWSING_DATA",
"id": 1,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
6,
2
],
[
37
],
[
38
],
[
2
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
47
],
[
4
],
[
30
],
[
40
],
[
31
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
9
],
[
52
],
[
5
],
[
8
],
[
44
],
[
3
]
]
}
]
},
{
"name": "MANAGE_PASSWORDS",
"id": 2,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
6,
2
],
[
38
],
[
2
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
7
],
[
54
],
[
33
],
[
42
],
[
27
],
[
29
],
[
28
],
[
12
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
14
],
[
36
],
[
35
]
]
}
]
},
{
"name": "UPDATE_CREDIT_CARD",
"id": 3,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
6,
2
],
[
38
],
[
2
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
54
],
[
33
],
[
42
],
[
27
],
[
28
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
21,
44
],
[
15,
44
],
[
22
],
[
19
],
[
20
],
[
16
],
[
24
],
[
26
],
[
25
],
[
23
]
]
}
]
},
{
"name": "LAUNCH_INCOGNITO",
"id": 4,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
6,
2
],
[
38
],
[
2
]
]
},
{
"required": false,
"single": true,
"synonyms": [
[
17
],
[
34
],
[
39
],
[
1
],
[
49
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
53,
51
],
[
11,
51
],
[
53,
10
],
[
11,
10
],
[
11,
46
],
[
53,
45
],
[
11
]
]
}
]
},
{
"name": "TRANSLATE",
"id": 5,
"groups": [
{
"required": false,
"single": true,
"synonyms": [
[
6,
2
],
[
38
],
[
2
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
50,
13
],
[
18
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
48,
41
],
[
48
],
[
41
]
]
}
]
},
{
"name": "UPDATE_CHROME",
"id": 6,
"groups": [
{
"required": true,
"single": true,
"synonyms": [
[
6,
2
],
[
38
],
[
2
]
]
},
{
"required": true,
"single": true,
"synonyms": [
[
32
],
[
33
],
[
0
]
]
}
]
}
],
"ignore_group": {
"required": false,
"single": false,
"synonyms": [
[
43
]
]
},
"max_tokens": 32
}
\ No newline at end of file
This diff is collapsed.
{
"schema": "pedal_concepts_runtime",
"schema_version": 1,
"data_version": 15468548,
"data_version": 15472385,
"tokenize_characters": " -",
"dictionary": [
"actualise",
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment