add edict

This commit is contained in:
polv committed 2021-10-19 13:27:06 +07:00
1 parent 792fa60030
commit 8bb5d996b9
11 files changed
+132 -52

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import sys
from wordfreq import zipf_frequency
for s in sys.stdin:
w = s.rstrip()
print(f"{w}={zipf_frequency(w, 'ja')}")