projects
/
cipher-training.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a837e3
)
Removed unnecessary imports
author
Neil Smith
<neil.git@njae.me.uk>
Tue, 15 Jul 2014 07:32:06 +0000
(08:32 +0100)
committer
Neil Smith
<neil.git@njae.me.uk>
Tue, 15 Jul 2014 07:32:06 +0000
(08:32 +0100)
cipher.py
patch
|
blob
|
history
cipherbreak.py
patch
|
blob
|
history
diff --git
a/cipher.py
b/cipher.py
index f71d1c1c574f8a1e76fb29074414cf5a68c73e47..a511e2492667dfa4abad4ada7f15d67a4aa30d75 100644
(file)
--- a/
cipher.py
+++ b/
cipher.py
@@
-5,7
+5,6
@@
them. See cipherbreak for automatic breaking of these ciphers
import string
import collections
from enum import Enum
-from itertools import zip_longest, cycle, chain
from language_models import unaccent, sanitise
diff --git
a/cipherbreak.py
b/cipherbreak.py
index f4c9c03783a309b806739af11193223fab10528a..704595a97ef0cb72610adfea84bbe8210b9ed0e2 100644
(file)
--- a/
cipherbreak.py
+++ b/
cipherbreak.py
@@
-5,8
+5,6
@@
import string
import collections
import norms
import logging
-import random
-import math
from itertools import starmap
from segment import segment
from multiprocessing import Pool