Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

wu.zheng rockyzhengwu

🎯
Focusing
View GitHub Profile
View book_entroy.py
import nltk
from nltk.tokenize import sent_tokenize,word_tokenize
from collections import defaultdict
import matplotlib.pyplot as plt
import math
import numpy as np
class BookStat():