X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;ds=sidebyside;f=riddle_definitions.md;h=1db01f7b1bcc338759f74ee6f8e6a9569b2622e3;hb=refs%2Fheads%2Fmain;hp=da25f927c3eafc5f76b6ec1fc974e998a23d6f65;hpb=a262c86b8d027e188b99e4ce57b77bae4411191d;p=riddle-generator.git

diff --git a/riddle_definitions.md b/riddle_definitions.md
index da25f92..1db01f7 100644
--- a/riddle_definitions.md
+++ b/riddle_definitions.md
@@ -121,19 +121,6 @@ def edit_distance(s: str, t: str) -> int:
   return res
 ```
 
-```python
-dictionary_neighbours = {
-  w: [o for o in dictionary
-      if edit_distance(w, o) <= 5
-      if not set(w) <= set(o)
-      if not set(o) <= set(w)]
-  for w in dictionary}
-
-dictionary_neighbours = {w: ns 
-                         for w, ns in dictionary_neighbours.items()
-                         if ns}
-```
-
 ```python
 def collapse_riddle_clues(elems : Riddle) -> RiddleElems:
   """Combine the two parts of a riddle line into one element for solving.