質問編集履歴
6
d
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
```
|
26
26
|
|
27
|
-
[["3", "- My nail,",
|
27
|
+
[["3", "- My nail,"],
|
28
28
|
|
29
29
|
["6", "is very big."],
|
30
30
|
|
5
la
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,17 +12,13 @@
|
|
12
12
|
|
13
13
|
```
|
14
14
|
|
15
|
-
let cartions = "
|
15
|
+
let cartions = "3 - My nail, 6 is very big. 11 (lively music) 26 - Konnichiwa everyone? 27 - Konnichiwa. 29 - Oh Japan. 32 - I wanna scream. 33 May I? 35 (screams) 43 - Oh that's Japanese. 45 I know it. 49 - Oh. 50 - Oh it smells good. 53 (mumbles) 56 - Yum. 58 (mumbles) 65 - Spicy. 70 - I wonder why they make it"
|
16
16
|
|
17
17
|
```
|
18
18
|
|
19
19
|
|
20
20
|
|
21
21
|
この `captions` を、JavaScript で以下の多次元配列に変換しるには、どうすればいいでしょうか?
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
時刻の表示形式 "00:01:10" は、"70" のように秒形式にしたいです。
|
26
22
|
|
27
23
|
|
28
24
|
|
4
e
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
|
33
33
|
["6", "is very big."],
|
34
34
|
|
35
|
-
["11", "(lively music)],
|
35
|
+
["11", "(lively music)"],
|
36
36
|
|
37
37
|
["26", "- Konnichiwa everyone?"],
|
38
38
|
|
3
u
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
```
|
14
14
|
|
15
|
-
let cartions = 00:00:03 - My nail, 00:00:06 is very big. 00:00:11 (lively music) 00:00:26 - Konnichiwa everyone? 00:00:27 - Konnichiwa. 00:00:29 - Oh Japan. 00:00:32 - I wanna scream. 00:00:33 May I? 00:00:35 (screams) 00:00:43 - Oh that's Japanese. 00:00:45 I know it. 00:00:49 - Oh. 00:00:50 - Oh it smells good. 00:00:53 (mumbles) 00:00:56 - Yum. 00:00:58 (mumbles) 00:01:05 - Spicy. 00:01:10 - I wonder why they make it"
|
15
|
+
let cartions = "00:00:03 - My nail, 00:00:06 is very big. 00:00:11 (lively music) 00:00:26 - Konnichiwa everyone? 00:00:27 - Konnichiwa. 00:00:29 - Oh Japan. 00:00:32 - I wanna scream. 00:00:33 May I? 00:00:35 (screams) 00:00:43 - Oh that's Japanese. 00:00:45 I know it. 00:00:49 - Oh. 00:00:50 - Oh it smells good. 00:00:53 (mumbles) 00:00:56 - Yum. 00:00:58 (mumbles) 00:01:05 - Spicy. 00:01:10 - I wonder why they make it"
|
16
16
|
|
17
17
|
```
|
18
18
|
|
2
i
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,9 @@
|
|
12
12
|
|
13
13
|
```
|
14
14
|
|
15
|
-
let cartions = 00:00:03 - My nail, 00:00:06 is very big. 00:00:11 (lively music) 00:00:26 - Konnichiwa everyone? 00:00:27 - Konnichiwa. 00:00:29 - Oh Japan. 00:00:32 - I wanna scream. 00:00:33 May I? 00:00:35 (screams) 00:00:43 - Oh that's Japanese. 00:00:45 I know it. 00:00:49 - Oh. 00:00:50 - Oh it smells good. 00:00:53 (mumbles) 00:00:56 - Yum. 00:00:58 (mumbles) 00:01:05 - Spicy. 00:01:10 - I wonder why they make it"
|
15
|
+
let cartions = 00:00:03 - My nail, 00:00:06 is very big. 00:00:11 (lively music) 00:00:26 - Konnichiwa everyone? 00:00:27 - Konnichiwa. 00:00:29 - Oh Japan. 00:00:32 - I wanna scream. 00:00:33 May I? 00:00:35 (screams) 00:00:43 - Oh that's Japanese. 00:00:45 I know it. 00:00:49 - Oh. 00:00:50 - Oh it smells good. 00:00:53 (mumbles) 00:00:56 - Yum. 00:00:58 (mumbles) 00:01:05 - Spicy. 00:01:10 - I wonder why they make it"
|
16
|
+
|
17
|
+
```
|
16
18
|
|
17
19
|
|
18
20
|
|
1
あ
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,15 +12,15 @@
|
|
12
12
|
|
13
13
|
```
|
14
14
|
|
15
|
-
let cartions =
|
16
|
-
|
17
|
-
```
|
15
|
+
let cartions = 00:00:03 - My nail, 00:00:06 is very big. 00:00:11 (lively music) 00:00:26 - Konnichiwa everyone? 00:00:27 - Konnichiwa. 00:00:29 - Oh Japan. 00:00:32 - I wanna scream. 00:00:33 May I? 00:00:35 (screams) 00:00:43 - Oh that's Japanese. 00:00:45 I know it. 00:00:49 - Oh. 00:00:50 - Oh it smells good. 00:00:53 (mumbles) 00:00:56 - Yum. 00:00:58 (mumbles) 00:01:05 - Spicy. 00:01:10 - I wonder why they make it"```
|
18
16
|
|
19
17
|
|
20
18
|
|
21
19
|
この `captions` を、JavaScript で以下の多次元配列に変換しるには、どうすればいいでしょうか?
|
22
20
|
|
23
21
|
|
22
|
+
|
23
|
+
時刻の表示形式 "00:01:10" は、"70" のように秒形式にしたいです。
|
24
24
|
|
25
25
|
|
26
26
|
|
@@ -32,7 +32,29 @@
|
|
32
32
|
|
33
33
|
["11", "(lively music)],
|
34
34
|
|
35
|
-
["26", "- Konnichiwa everyone?"]
|
35
|
+
["26", "- Konnichiwa everyone?"],
|
36
|
+
|
37
|
+
["27","Oh Japan."],
|
38
|
+
|
39
|
+
["29","- I wanna scream."],
|
40
|
+
|
41
|
+
["32","May I?"],
|
42
|
+
|
43
|
+
["35","(screams)"],
|
44
|
+
|
45
|
+
["43","- Oh that's Japanese."],
|
46
|
+
|
47
|
+
["45","I know it."],
|
48
|
+
|
49
|
+
["49","- Spicy."],
|
50
|
+
|
51
|
+
["56","- Yum."],
|
52
|
+
|
53
|
+
["58","(mumbles)"],
|
54
|
+
|
55
|
+
["65","- Spicy."],
|
56
|
+
|
57
|
+
["70","- I wonder why they make it"],
|
36
58
|
|
37
59
|
]
|
38
60
|
|