From a477e7a84dff15b0b3227016da86d56a98bbf513 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 2 Mar 2017 22:09:22 +0100 Subject: [PATCH] keywords --- keywords.py | 10 +++++----- render.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/keywords.py b/keywords.py index 2aa1323..0a5a1f5 100644 --- a/keywords.py +++ b/keywords.py @@ -42,7 +42,7 @@ KEYWORDS = { "D": [ "burial/grave", "decay", - "dispersal", "disaggregation", + "dispersal/disaggregation", "forensics", "human remains", "humidity", @@ -61,7 +61,7 @@ KEYWORDS = { "F": [ "fiction", "flight", - "flora", "fauna", + "flora/fauna", "fluidity", "forest", "friction", @@ -89,7 +89,7 @@ KEYWORDS = { "oppression", "rain", "river", - "sweat", "labor", + "sweat/labor", "trade", "water" ], @@ -152,7 +152,7 @@ KEYWORDS = { "survey" ], "O": [ - "india", "china", + "india/china", "ocean", "opium", "opium war", @@ -208,7 +208,7 @@ KEYWORDS = { "royalty", "sea", "slavery", - "society", "state", + "society/state", "soul" ], "T": [ diff --git a/render.py b/render.py index 8b4aad0..f876b33 100755 --- a/render.py +++ b/render.py @@ -120,7 +120,7 @@ def get_clips(tag): CLIPS[tag] = list(sorted(clips, key=lambda c: c['id'])) with open('CLIPS.json', 'w') as fd: json.dump(CLIPS, fd, indent=4, sort_keys=True) - return CLIPS[tag] + return CLIPS[tag].copy() def random_choice(seq, items): n = n_ = len(items) - 1