Upload v2.2 Dataset Tool
Browse files- dataset_tool.py +6 -4
dataset_tool.py
CHANGED
|
@@ -30,12 +30,12 @@ print()
|
|
| 30 |
|
| 31 |
|
| 32 |
# list of known speakers
|
| 33 |
-
known_speakers = (["All", "AngryCrowd", "Anchovy", "BarnacleBoy", "Both", "BubbleBass", "ClamHeadCandyCad", "Crowd", "Cowboy", "Clams",
|
| 34 |
"Customer", "Fred", "FlyingDutchman", "Fireman", "Gary", "Group", "guy", "Karen", "Kid", "Kids", "King", "Krabs", "Larry", "Loser", "MermaidMan",
|
| 35 |
"Montage", "MrsSquarePants", "MrSquarePants", "Morty", "MovieWoman", "Measurer", "Mother", "NematodeOne", "Nematodes", "NormanRockbass", "Narrator",
|
| 36 |
-
"OrangeCafeteriaWorker", "Octavius", "Pants", "Patrick", "PatTron", "PatrickBubble", "Phil", "Plankton", "Pearl",
|
| 37 |
-
"Puff", "Sandy", "Scooter", "ShadyShoalsCaretaker", "SpongeBob", "SpongeTron", "SpongeTrons", "SpongeBobBubble", "Voice", "Voices", "VolcanoSauceDrop",
|
| 38 |
-
"Squidward", "SquidwardBubble", "SwordfishTrucker", "TVAnnouncer", "TV", "TimeMachine", "UnknownElderlyFish"]
|
| 39 |
)
|
| 40 |
ep_id = "x"
|
| 41 |
|
|
@@ -105,6 +105,8 @@ while True:
|
|
| 105 |
speaker = "{system}"
|
| 106 |
if speaker == "Krabs":
|
| 107 |
speaker = "Mr. Krabs"
|
|
|
|
|
|
|
| 108 |
if speaker == "Puff":
|
| 109 |
speaker = "Mrs. Puff"
|
| 110 |
if speaker == "MrsSquarePants":
|
|
|
|
| 30 |
|
| 31 |
|
| 32 |
# list of known speakers
|
| 33 |
+
known_speakers = (["All", "AngryCrowd", "Anchovy", "BarnacleBoy", "Both", "BubbleBass", "ClamHeadCandyCad", "Crowd", "Cowboy", "Clams", "Children", "Chorus", "Customers",
|
| 34 |
"Customer", "Fred", "FlyingDutchman", "Fireman", "Gary", "Group", "guy", "Karen", "Kid", "Kids", "King", "Krabs", "Larry", "Loser", "MermaidMan",
|
| 35 |
"Montage", "MrsSquarePants", "MrSquarePants", "Morty", "MovieWoman", "Measurer", "Mother", "NematodeOne", "Nematodes", "NormanRockbass", "Narrator",
|
| 36 |
+
"OrangeCafeteriaWorker", "Octavius", "Pants", "PASystem", "Patrick", "PatTron", "PatrickBubble", "Phil", "Plankton", "Pearl", "Paper",
|
| 37 |
+
"Puff", "Sandy", "Scooter", "ShadyShoalsCaretaker", "Soil", "SpongeBob", "SpongeTron", "SpongeTrons", "SpongeBobBubble", "Voice", "Voices", "VolcanoSauceDrop",
|
| 38 |
+
"Squidward", "SquidwardBubble", "KingNeptune", "HotDogVendor", "Audience", "Harold", "Girls", "RealisticFishHead", "AtomicFlounder", "DirtyBubble", "Ivy", "Tom", "SwordfishTrucker", "TVAnnouncer", "TV", "TimeMachine", "UnknownElderlyFish", "WindowAttendant", "Everyone", "Eel", "Man", "MrsTentacles"]
|
| 39 |
)
|
| 40 |
ep_id = "x"
|
| 41 |
|
|
|
|
| 105 |
speaker = "{system}"
|
| 106 |
if speaker == "Krabs":
|
| 107 |
speaker = "Mr. Krabs"
|
| 108 |
+
if speaker == "MrsTentacles":
|
| 109 |
+
speaker = "Mrs. Tentacles"
|
| 110 |
if speaker == "Puff":
|
| 111 |
speaker = "Mrs. Puff"
|
| 112 |
if speaker == "MrsSquarePants":
|