projects
/
cipher-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
792bef4
)
Removed needless parameter from segment.py
author
Neil Smith
<neil.git@njae.me.uk>
Sat, 19 Oct 2013 14:12:30 +0000
(15:12 +0100)
committer
Neil Smith
<neil.git@njae.me.uk>
Sat, 19 Oct 2013 14:12:30 +0000
(15:12 +0100)
segment.py
patch
|
blob
|
history
diff --git
a/segment.py
b/segment.py
index e4b019f4c8248d8647f938fea8295c132308de0b..27bf103c573f0d228a03741ef34dd360138ad072 100644
(file)
--- a/
segment.py
+++ b/
segment.py
@@
-58,7
+58,5
@@
def avoid_long_words(key, N):
"""
return -log10((N * 10**(len(key) - 2)))
-# N = 1024908267229 ## Number of tokens
-
Pw = Pdist(datafile('count_1w.txt'), avoid_long_words)