mirror of
https://github.com/fxsjy/jieba.git
synced 2025-07-10 00:01:33 +08:00
fix test_file.py
This commit is contained in:
parent
41b47b0593
commit
8cbb26a7b6
@ -16,6 +16,6 @@ log_f = open("1.log","wb")
|
|||||||
log_f.write(words.encode('utf-8'))
|
log_f.write(words.encode('utf-8'))
|
||||||
log_f.close()
|
log_f.close()
|
||||||
|
|
||||||
print('cost ' + tm_cost)
|
print('cost ' + str(tm_cost))
|
||||||
print('speed %s bytes/second' % (len(content)/tm_cost))
|
print('speed %s bytes/second' % (len(content)/tm_cost))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user